Merge pull request #1075 from cleary/patch-7
add nesting to `off` example variation in pattern-effects.mdx
This commit is contained in:
commit
19ef941c9d
1 changed files with 4 additions and 2 deletions
|
|
@ -155,14 +155,16 @@ In the notation `x=>x.`, the `x` is the shifted pattern, which where modifying.
|
||||||
|
|
||||||
</Box>
|
</Box>
|
||||||
|
|
||||||
off is also useful for sounds:
|
off is also useful for modifying other sounds, and can even be nested:
|
||||||
|
|
||||||
<MiniRepl
|
<MiniRepl
|
||||||
client:visible
|
client:visible
|
||||||
tune={`s("bd sd [rim bd] sd,[~ hh]*4").bank("CasioRZ1")
|
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 |
|
| name | description | example |
|
||||||
| ---- | ------------------------------ | ------------------------------------------------------------------------------------------- |
|
| ---- | ------------------------------ | ------------------------------------------------------------------------------------------- |
|
||||||
| rev | reverse | <MiniRepl client:visible tune={`n("0 2 4 6 ~ 7 9 5").scale("C:minor").rev()`} /> |
|
| rev | reverse | <MiniRepl client:visible tune={`n("0 2 4 6 ~ 7 9 5").scale("C:minor").rev()`} /> |
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue