## Classes
Class representing a pattern.
PatternA discrete value that repeats once per cycle:
PatternThe given items are played at the same time at the same length:
PatternConcatenation: combines a list of patterns, switching between them successively, one per cycle:
synonyms: [cat](#cat)
PatternConcatenation: combines a list of patterns, switching between them successively, one per cycle. Unlike slowcat, this version will skip cycles.
PatternConcatenation: as with [slowcat](#slowcat), but squashes a cycle from each pattern into one cycle
Synonyms: [seq](#seq), [sequence](#sequence)
See [slowcat](#slowcat)
PatternLike [fastcat](#fastcat), but where each step has a temporal weight:
See [fastcat](#fastcat)
See [fastcat](#fastcat)
Pattern](#Pattern)
A discrete value that repeats once per cycle:
**Kind**: global function | Param | Type | Description | | --- | --- | --- | | value |any | The value to repeat
| **Example** ```js pure('e4') ``` ## stack(...items) ⇒ [Pattern](#Pattern)
The given items are played at the same time at the same length:
**Kind**: global function | Param | Type | Description | | --- | --- | --- | | ...items |any | The items to stack
| **Example** ```js stack(g3, b3, [e4, d4]) ``` ## slowcat(...items) ⇒ [Pattern](#Pattern)
Concatenation: combines a list of patterns, switching between them successively, one per cycle:
synonyms: [cat](#cat)
**Kind**: global function | Param | Type | Description | | --- | --- | --- | | ...items |any | The items to concatenate
| **Example** ```js slowcat(e5, b4, [d5, c5]) ``` ## slowcatPrime(...items) ⇒ [Pattern](#Pattern)
Concatenation: combines a list of patterns, switching between them successively, one per cycle. Unlike slowcat, this version will skip cycles.
**Kind**: global function | Param | Type | Description | | --- | --- | --- | | ...items |any | The items to concatenate
| ## fastcat(...items) ⇒ [Pattern](#Pattern)
Concatenation: as with [slowcat](#slowcat), but squashes a cycle from each pattern into one cycle
Synonyms: [seq](#seq), [sequence](#sequence)
**Kind**: global function | Param | Type | Description | | --- | --- | --- | | ...items |any | The items to concatenate
| **Example** ```js fastcat(e5, b4, [d5, c5]) sequence(e5, b4, [d5, c5]) seq(e5, b4, [d5, c5]) ``` ## cat()See [slowcat](#slowcat)
**Kind**: global function ## timeCat(...items) ⇒ [Pattern](#Pattern)
Like [fastcat](#fastcat), but where each step has a temporal weight:
**Kind**: global function | Param | Type | Description | | --- | --- | --- | | ...items |Array | The items to concatenate
| **Example** ```js timeCat([3,e3],[1, g3]) ``` ## sequence()See [fastcat](#fastcat)
**Kind**: global function ## seq()See [fastcat](#fastcat)
**Kind**: global function