add missing sounds by hand

This commit is contained in:
Felix Roos 2023-06-08 20:43:45 +02:00
parent eccce6fa84
commit f8c3e3d5aa
5 changed files with 39 additions and 38 deletions

View file

@ -25,14 +25,14 @@ Los geht's mit ein paar Sounds:
</Box>
Glückwunsch, du bist nun am live coden!
Glückwunsch, du kannst nun live coden!
Die ganze Seite ist voller interaktiver Textfelder.
In jedes kannst du hineinklicken und mit `Strg`+`Enter` starten / aktualisieren und mit `Strg+.` stoppen.
**Probiere mehr Sounds aus**
Mit ":" kannst du einen anderen Sound aus dem Set wählen:
Mit `:` gefolgt von einer Zahl kannst du einen anderen Sound aus dem Set wählen:
<MiniRepl hideHeader client:visible tune={`sound("casio:0")`} hideHeader />
@ -44,7 +44,7 @@ Ohne Zahl ist gleichbedeutend mit `:0`
Hier sind ein paar mehr Sounds zum ausprobieren:
```
insect wind jazz metal east crow casio
insect wind jazz metal east crow casio space numbers
```
Probier verschiedene Kombinationen von Sounds und Nummern! Es kann sein dass du kurz nichts hörst während ein neuer Sound lädt.
@ -195,8 +195,7 @@ Es kommt öfter vor dass man die gleiche Idee auf verschiedene Arten ausdrücken
client:visible
tune={`sound(\`bd*2, ~ cp,
~ ~ ~ oh, hh*4,
[~ perc:1*2]*2,
[~ jvbass]*2\`)`}
[~ sawtooth]*2\`)`}
punchcard
/>

View file

@ -161,23 +161,10 @@ Probier `ply` mit einem pattern zu automatisieren, z.b. `"<1 2 1 3>"`
<Box>
In der notation `x=>x.`, das `x` ist das pattern das wir bearbeiten.
In der notation `x=>x.`, das `x` ist das Pattern das wir bearbeiten.
</Box>
Das Beispiel oben sieht ohne `off` so aus:
<MiniRepl
hideHeader
client:visible
tune={`stack(
n("<0 [4 <3 2>] <2 3> [~ 1]>*2").color("cyan"),
n("<0 [4 <3 2>] <2 3> [~ 1]>*2".add(7).late(1/8)).color("magenta")
).scale("<C4:minor Db4:mixolydian>/2")
.s("triangle").adsr(".01:.1:0").room(.5)`}
punchcard
/>
`off` ist auch nützlich für sounds:
<MiniRepl

View file

@ -11,8 +11,6 @@ import QA from '@components/QA';
This is the first chapter of the Strudel Workshop, nice to have you on board!
## Make a Sound
Let's start by making some noise:
<MiniRepl hideHeader client:visible tune={`sound("casio")`} dirt />
@ -34,7 +32,7 @@ You can always click inside and hit `ctrl`+`enter` to start / update and `ctrl+.
**Try more Sounds**
You can pick a different sample from the same set, with ':'
You can pick a different sample from the same set, with `:`, followed by a number:
<MiniRepl hideHeader client:visible tune={`sound("casio:0")`} hideHeader />
@ -46,7 +44,7 @@ Not using a number is like doing `:0`
Here are some more sound sets to try:
```
insect wind jazz metal east crow casio
insect wind jazz metal east crow casio space numbers
```
Try out different Combinations of sounds and numbers! You might hear a little pause while the sound is loading
@ -197,8 +195,7 @@ It is quite common that there are many ways to express the same idea.
client:visible
tune={`sound(\`bd*2, ~ cp,
~ ~ ~ oh, hh*4,
[~ perc:1*2]*2,
[~ jvbass]*2\`)`}
[~ sawtooth]*2\`)`}
punchcard
/>

View file

@ -163,19 +163,6 @@ In the notation `x=>x.`, the `x` is the shifted pattern, which where modifying.
</Box>
The above is like writing:
<MiniRepl
hideHeader
client:visible
tune={`stack(
n("<0 [4 <3 2>] <2 3> [~ 1]>*2").color("cyan"),
n("<0 [4 <3 2>] <2 3> [~ 1]>*2".add(7).late(1/8)).color("magenta")
).scale("<C4:minor Db4:mixolydian>/2")
.s("triangle").adsr(".01:.1:0").room(.5)`}
punchcard
/>
off is also useful for sounds:
<MiniRepl