mirror of
https://github.com/eliasstepanik/strudel.git
synced 2026-01-11 21:58:37 +00:00
add p1 .. p9 shortcuts as well
This commit is contained in:
parent
cb9ef3ee6a
commit
265f01eb06
@ -96,6 +96,11 @@ export function repl({
|
||||
return this.p(i);
|
||||
},
|
||||
});
|
||||
Object.defineProperty(Pattern.prototype, `p${i}`, {
|
||||
get() {
|
||||
return this.p(i);
|
||||
},
|
||||
});
|
||||
Pattern.prototype[`q${i}`] = silence;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user