Document wordfall

This commit is contained in:
Alexandre G.-Raymond
2023-11-11 16:23:58 +01:00
parent d25851ac17
commit 1b0427e943
+6
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 });
};