mirror of
https://github.com/eliasstepanik/strudel-docker.git
synced 2026-01-26 21:18:49 +00:00
Merge pull request #1074 from cleary/patch-6
clarify `off` in pattern-effects.mdx
This commit is contained in:
commit
5348a6b2d8
@ -147,7 +147,7 @@ Probier `ply` mit einem pattern zu automatisieren, z.b. `"<1 2 1 3>"`
|
|||||||
.off(1/8, x=>x.add(4))
|
.off(1/8, x=>x.add(4))
|
||||||
//.off(1/4, x=>x.add(7))
|
//.off(1/4, x=>x.add(7))
|
||||||
).scale("<C5:minor Db5:mixolydian>/4")
|
).scale("<C5:minor Db5:mixolydian>/4")
|
||||||
.s("triangle").room(.5).ds(".1:0").delay(.5)`}
|
.s("triangle").room(.5).dec(.1).delay(.5)`}
|
||||||
punchcard
|
punchcard
|
||||||
/>
|
/>
|
||||||
|
|
||||||
|
|||||||
@ -145,13 +145,17 @@ Try patterning the `ply` function, for example using `"<1 2 1 3>"`
|
|||||||
.off(1/16, x=>x.add(4))
|
.off(1/16, x=>x.add(4))
|
||||||
//.off(1/8, x=>x.add(7))
|
//.off(1/8, x=>x.add(7))
|
||||||
).scale("<C5:minor Db5:mixolydian>/2")
|
).scale("<C5:minor Db5:mixolydian>/2")
|
||||||
.s("triangle").room(.5).ds(".1:0").delay(.5)`}
|
.s("triangle").room(.5).dec(.1)`}
|
||||||
punchcard
|
punchcard
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<Box>
|
<Box>
|
||||||
|
|
||||||
In the notation `x=>x.`, the `x` is the shifted pattern, which where modifying.
|
In the notation `.off(1/16, x=>x.add(4))`, says:
|
||||||
|
|
||||||
|
- take the original pattern named as `x`
|
||||||
|
- modify `x` with `.add(4)`, and
|
||||||
|
- play it offset to the original pattern by `1/16` of a cycle.
|
||||||
|
|
||||||
</Box>
|
</Box>
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user