From 297712e7ef6462ef470602c844a0d84929a572f8 Mon Sep 17 00:00:00 2001 From: "Mehmet Ali \"Mali\" Akmanalp" Date: Thu, 6 Mar 2025 02:51:08 +0300 Subject: [PATCH 1/3] Add degradation to mini notation page --- website/src/pages/learn/mini-notation.mdx | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/website/src/pages/learn/mini-notation.mdx b/website/src/pages/learn/mini-notation.mdx index 7dbf67ce2..172eb74e0 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 @@ -168,6 +168,17 @@ Using "!" we can repeat without speeding up: *2")`} punchcard /> +## Degradation + +Using "?" we can randomly drop events from a pattern while perserving 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: From b135d3dc631cb8bc6085fedff92542700888d7df Mon Sep 17 00:00:00 2001 From: "Mehmet Ali \"Mali\" Akmanalp" Date: Thu, 6 Mar 2025 03:02:43 +0300 Subject: [PATCH 2/3] Add elongation _ --- website/src/pages/learn/mini-notation.mdx | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/website/src/pages/learn/mini-notation.mdx b/website/src/pages/learn/mini-notation.mdx index 172eb74e0..25101d008 100644 --- a/website/src/pages/learn/mini-notation.mdx +++ b/website/src/pages/learn/mini-notation.mdx @@ -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 /> @@ -170,7 +174,7 @@ Using "!" we can repeat without speeding up: ## Degradation -Using "?" we can randomly drop events from a pattern while perserving their time slot: +Using "?" we can randomly drop events from a pattern while preserving their time slot: *2")`} punchcard /> @@ -190,6 +194,8 @@ To recap what we've learned so far, compare the following patterns: *2")`} /> *2")`} /> *2")`} /> +*2")`} /> + ## Euclidian rhythms From bb347badbdb73d117fc0f94ecc94e9b423080bf2 Mon Sep 17 00:00:00 2001 From: Mehmet Ali Akmanalp Date: Thu, 6 Mar 2025 13:07:53 +0300 Subject: [PATCH 3/3] Format fix --- website/src/pages/learn/mini-notation.mdx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/website/src/pages/learn/mini-notation.mdx b/website/src/pages/learn/mini-notation.mdx index 25101d008..63f55acf9 100644 --- a/website/src/pages/learn/mini-notation.mdx +++ b/website/src/pages/learn/mini-notation.mdx @@ -156,7 +156,7 @@ But to play multiple chords in a sequence, we have to wrap them in brackets: ## Elongation -With the "_" symbol, we can manually extend the duration of an event: +With the "\_" symbol, we can manually extend the duration of an event: *2")`} punchcard /> @@ -182,7 +182,6 @@ We can include a number after the "?" to represent the probability of being drop *2")`} punchcard /> - ## Mini-notation review To recap what we've learned so far, compare the following patterns: @@ -196,7 +195,6 @@ To recap what we've learned so far, compare the following patterns: *2")`} /> *2")`} /> - ## Euclidian rhythms Using round brackets after an event, we can create rhythmical sub-divisions based on three parameters: `beats`, `segments` and `offset`.