Skip to content

Commit

Permalink
hotfix: examples were still 1 cps based
Browse files Browse the repository at this point in the history
  • Loading branch information
felixroos committed Jan 22, 2024
1 parent b184348 commit 02efc09
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions website/src/content/blog/year-2.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ Here's an example that shows off filter envelopes:
<MiniRepl
client:visible
tune={`// "acidic tooth" @by eddyflux
setcps(1)
stack(
note("[<g1 f1>/8](<3 5>,8)")
.clip(perlin.range(.15,1.5))
Expand Down Expand Up @@ -172,7 +173,7 @@ The `slider` is the first of a family of functions that render UI widgets inline

<MiniRepl
client:visible
tune={`note("c eb g bb")
tune={`note("<c eb g bb>*8")
.s("sawtooth").lpenv(2).lpq(8)
.lpf(slider(500, 100, 2000, 1))`}
/>
Expand All @@ -189,7 +190,7 @@ Strudel now supports most chord symbols:

<MiniRepl
client:visible
tune={`chord("<C^9 C7b9 Fm9 Db^7>/4")
tune={`chord("<C^9 C7b9 Fm9 Db^7>/2")
.dict('ireal').voicing()
.s("sawtooth")
.lpf(400).lpa(.5).lpenv(4)
Expand Down

0 comments on commit 02efc09

Please sign in to comment.