From 975eb684b9163af3dd9ee4e2c5644cd36720613c Mon Sep 17 00:00:00 2001 From: Bernard Gray Date: Sat, 27 Apr 2024 11:35:08 +1000 Subject: [PATCH] add nesting to `off` example variation in pattern-effects.mdx I was immediately curious whether `off` could be nested - it turns out it can, so I added an example of it in action. This example should also add clarity to the flexibility of pattern naming inside `off` arguments as well --- website/src/pages/workshop/pattern-effects.mdx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/website/src/pages/workshop/pattern-effects.mdx b/website/src/pages/workshop/pattern-effects.mdx index f4ced454..e9587d73 100644 --- a/website/src/pages/workshop/pattern-effects.mdx +++ b/website/src/pages/workshop/pattern-effects.mdx @@ -155,14 +155,16 @@ In the notation `x=>x.`, the `x` is the shifted pattern, which where modifying. -off is also useful for sounds: +off is also useful for modifying other sounds, and can even be nested: x.speed(1.5).gain(.25))`} + .off(2/16, x=>x.speed(1.5).gain(.25) + .off(3/16, y=>y.vowel("*8")))`} /> + | name | description | example | | ---- | ------------------------------ | ------------------------------------------------------------------------------------------- | | rev | reverse | |