FIXES: alias pm for polymeter
This commit is contained in:
parent
fffd3c07ca
commit
1458ee64ec
1 changed files with 2 additions and 5 deletions
|
|
@ -1127,6 +1127,8 @@ function _composeOp(a, b, func) {
|
|||
export const polyrhythm = stack;
|
||||
export const pr = stack;
|
||||
|
||||
export const pm = polymeter;
|
||||
|
||||
// methods that create patterns, which are added to patternified Pattern methods
|
||||
// TODO: remove? this is only used in old transpiler (shapeshifter)
|
||||
Pattern.prototype.factories = {
|
||||
|
|
@ -1374,11 +1376,6 @@ export function polymeter(...args) {
|
|||
return polymeterSteps(0, ...args);
|
||||
}
|
||||
|
||||
// alias
|
||||
export function pm(...args) {
|
||||
return polymeter(...args);
|
||||
}
|
||||
|
||||
export const mask = curry((a, b) => reify(b).mask(a));
|
||||
export const struct = curry((a, b) => reify(b).struct(a));
|
||||
export const superimpose = curry((a, b) => reify(b).superimpose(...a));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue