mirror of
https://github.com/eliasstepanik/strudel-docker.git
synced 2026-01-24 20:18:34 +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);
|
return this.p(i);
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
Object.defineProperty(Pattern.prototype, `p${i}`, {
|
||||||
|
get() {
|
||||||
|
return this.p(i);
|
||||||
|
},
|
||||||
|
});
|
||||||
Pattern.prototype[`q${i}`] = silence;
|
Pattern.prototype[`q${i}`] = silence;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user