diff --git a/packages/core/pattern.mjs b/packages/core/pattern.mjs index 29ec0695..9ff616cf 100644 --- a/packages/core/pattern.mjs +++ b/packages/core/pattern.mjs @@ -1335,6 +1335,11 @@ Pattern.prototype.patternified = [ 'slow', 'velocity', ]; + +// aliases +export const polyrhythm = stack; +export const pr = stack; + // methods that create patterns, which are added to patternified Pattern methods Pattern.prototype.factories = { pure, @@ -1404,10 +1409,6 @@ export function stack(...pats) { return new Pattern(query); } -// aliases -const polyrhythm = stack; -const pr = stack; - /** Concatenation: combines a list of patterns, switching between them successively, one per cycle: * * synonyms: {@link cat}