From 269d6dde31873fe536431df26a4e5411b0b034b1 Mon Sep 17 00:00:00 2001 From: Felix Roos Date: Tue, 4 Jun 2024 00:22:49 +0200 Subject: [PATCH] remove stack from workshop --- website/src/pages/workshop/first-notes.mdx | 32 ++++++---------------- website/src/pages/workshop/recap.mdx | 1 - 2 files changed, 8 insertions(+), 25 deletions(-) diff --git a/website/src/pages/workshop/first-notes.mdx b/website/src/pages/workshop/first-notes.mdx index f0ea5569..f3d74ddc 100644 --- a/website/src/pages/workshop/first-notes.mdx +++ b/website/src/pages/workshop/first-notes.mdx @@ -314,12 +314,11 @@ Let's recap what we've learned in this chapter: New functions: -| Name | Description | Example | -| ----- | ----------------------------------- | --------------------------------------------------------------------------------- | -| note | set pitch as number or letter | | -| scale | interpret `n` as scale degree | | -| stack | play patterns in parallel (read on) | | -| $: | play patterns in parallel | | +| Name | Description | Example | +| ----- | ----------------------------- | --------------------------------------------------------------------------------- | +| note | set pitch as number or letter | | +| scale | interpret `n` as scale degree | | +| $: | play patterns in parallel | | ## Examples @@ -357,28 +356,13 @@ New functions: -It's called `stack` 😙 +You can use `$:` 😙 -") - .sound("gm_synth_bass_1").lpf(800), - n(\`< - [~ 0] 2 [0 2] [~ 2] - [~ 0] 1 [0 1] [~ 1] - [~ 0] 3 [0 3] [~ 3] - [~ 0] 2 [0 2] [~ 2] - >*4\`).scale("C4:minor") - .sound("gm_synth_strings_1"), - sound("bd*4, [~ ]*2, [~ hh]*4") - .bank("RolandTR909") -)`} -/> +## Playing multiple patterns -Since Strudel 1.1.0, there is another, simpler way to write multiple patterns in parallel. Just write `$:` before every part: +If you want to play multiple patterns at the same time, make sure to write `$:` before each: | | n + scale | set note in scale | | -| stack | play patterns in parallel | | | $: | play patterns in parallel | | ## Audio Effects