diff --git a/tutorial/tutorial.mdx b/tutorial/tutorial.mdx index b56dd27e..e4d54205 100644 --- a/tutorial/tutorial.mdx +++ b/tutorial/tutorial.mdx @@ -705,116 +705,26 @@ The following is generated from the source documentation. The following functions will return a pattern. We will see later what that means. -### pure +{{ 'pure' | jsdoc }} -

A discrete value that repeats once per cycle:

+{{ 'slowcat' | jsdoc }} -**Parameters** +{{ 'fastcat' | jsdoc }} -- value (any): The value to repeat +{{ 'stack' | jsdoc }} -**Examples** +{{ 'timeCat' | jsdoc }} -
- -
- -### slowcat - -

Concatenation: combines a list of patterns, switching between them successively, one per cycle:

-

- synonyms: cat -

- -**Parameters** - -- items (any): The items to concatenate - -**Examples** - -
- -
- -### fastcat - -

- Concatenation: as with slowcat, but squashes a cycle from each pattern into one cycle -

-

- Synonyms: seq, sequence -

- -**Parameters** - -- items (any): The items to concatenate - -**Examples** - -
- -
- -### stack - -

The given items are played at the same time at the same length:

- -**Parameters** - -- items (any): The items to stack - -**Examples** - -
- -
- -### timeCat - -

- Like fastcat, but where each step has a temporal weight: -

- -**Parameters** - -- items (Array): The items to concatenate - -**Examples** - -
- -
+{{ 'polyrhythm' | jsdoc }} ## Pattern Modifiers -### Pattern.slow +{{ 'Pattern.slow' | jsdoc }} -

Slow down a pattern over the given number of cycles.

+{{ 'Pattern.fast' | jsdoc }} -**Parameters** +{{ 'Pattern.early' | jsdoc }} -- factor (number|Pattern): slow down factor +{{ 'Pattern.late' | jsdoc }} -**Examples** - -
- -
- -### Pattern.fast - -

Speed up a pattern by the given factor.

- -**Parameters** - -- factor (number|Pattern): speed up factor - -**Examples** - -
- -
+{{ 'Pattern.rev' | jsdoc }}