Document wordfall

This commit is contained in:
Alexandre G.-Raymond 2023-11-11 16:23:58 +01:00
parent d25851ac17
commit 1b0427e943
No known key found for this signature in database
GPG Key ID: 97BA9F51695B5C7B

View File

@ -262,6 +262,12 @@ Pattern.prototype.punchcard = function (options) {
);
};
/**
* Displays a vertical pianoroll with event labels.
* Supports all the same options as pianoroll.
*
* @name wordfall
*/
Pattern.prototype.wordfall = function (options) {
return this.punchcard({ vertical: 1, labels: 1, stroke: 0, fillActive: 1, active: 'white', ...options });
};