Update website/src/pages/workshop/first-sounds.mdx

This commit is contained in:
fesmith
2025-09-13 00:00:36 +02:00
parent a46617f3f0
commit 352a3c39d7
+6 -6
View File
@@ -260,16 +260,16 @@ It is quite common that there are many ways to express the same idea.
punchcard
/>
**selecting sample numbers separately**
**selecting sample numbers separately**
Instead of using ":", we can also use the `n` function to select sample numbers:
<MiniRepl client:visible tune={`n("0 1 [4 2] 3*2").sound("jazz")`} punchcard />
This is shorter and more readable than:
Instead of selecting sample numbers one by one:
<MiniRepl client:visible tune={`sound("jazz:0 jazz:1 [jazz:4 jazz:2] jazz:3*2")`} punchcard />
We can also use the `n` function to make it shorter and more readable:
<MiniRepl client:visible tune={`n("0 1 [4 2] 3*2").sound("jazz")`} punchcard />
## Recap
Now we've learned the basics of the so called Mini-Notation, the rhythm language of Tidal.