+ add hush

+ add the ability to evaluate without clearing
This commit is contained in:
Felix Roos 2023-11-16 07:17:59 +01:00
parent a7b799f154
commit f43f627037
2 changed files with 15 additions and 8 deletions

View file

@ -1975,9 +1975,9 @@ export const press = register('press', function (pat) {
* s("hh*3")
* )
*/
export const hush = register('hush', function (pat) {
Pattern.prototype.hush = function () {
return silence;
});
};
/**
* Applies `rev` to a pattern every other cycle, so that the pattern alternates between forwards and backwards.