diff --git a/website/src/pages/learn/mini-notation.mdx b/website/src/pages/learn/mini-notation.mdx index 7dbf67ce2..63f55acf9 100644 --- a/website/src/pages/learn/mini-notation.mdx +++ b/website/src/pages/learn/mini-notation.mdx @@ -8,7 +8,7 @@ import { JsDoc } from '../../docs/JsDoc'; # Mini-notation -Just like [Tidal Cycles](https://tidalcycles.org/), Strudel uses a so called "Mini-Notation", which is a custom language that is designed for writing rhythmic patterns using little amounts of text. +Just like [Tidal Cycles](https://tidalcycles.org/docs/reference/mini_notation/), Strudel uses a so called "Mini-Notation", which is a custom language that is designed for writing rhythmic patterns using little amounts of text. ## Note @@ -156,7 +156,11 @@ But to play multiple chords in a sequence, we have to wrap them in brackets: ## Elongation -With the "@" symbol, we can specify temporal "weight" of a sequence child: +With the "\_" symbol, we can manually extend the duration of an event: + +*2")`} punchcard /> + +With the "@" symbol, we can do the same thing more conveniently by specifying the temporal "weight" of a sequence child: *2")`} punchcard /> @@ -168,6 +172,16 @@ Using "!" we can repeat without speeding up: *2")`} punchcard /> +## Degradation + +Using "?" we can randomly drop events from a pattern while preserving their time slot: + +*2")`} punchcard /> + +We can include a number after the "?" to represent the probability of being dropped, otherwise defaulting to 0.5: + +*2")`} punchcard /> + ## Mini-notation review To recap what we've learned so far, compare the following patterns: @@ -179,6 +193,7 @@ To recap what we've learned so far, compare the following patterns: *2")`} /> *2")`} /> *2")`} /> +*2")`} /> ## Euclidian rhythms