Merge pull request #1075 from cleary/patch-7

add nesting to `off` example variation in pattern-effects.mdx
This commit is contained in:
Jade (Rose) Rowland 2024-04-27 16:50:17 -04:00 committed by GitHub
commit 19ef941c9d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -155,14 +155,16 @@ In the notation `x=>x.`, the `x` is the shifted pattern, which where modifying.
</Box>
off is also useful for sounds:
off is also useful for modifying other sounds, and can even be nested:
<MiniRepl
client:visible
tune={`s("bd sd [rim bd] sd,[~ hh]*4").bank("CasioRZ1")
.off(1/16, x=>x.speed(1.5).gain(.25))`}
.off(2/16, x=>x.speed(1.5).gain(.25)
.off(3/16, y=>y.vowel("<a e i o>*8")))`}
/>
| name | description | example |
| ---- | ------------------------------ | ------------------------------------------------------------------------------------------- |
| rev | reverse | <MiniRepl client:visible tune={`n("0 2 4 6 ~ 7 9 5").scale("C:minor").rev()`} /> |