codeformat
This commit is contained in:
parent
858f4f74b3
commit
51a4c4d13b
8 changed files with 60 additions and 40 deletions
|
|
@ -34,8 +34,9 @@ Now we not only pattern the notes, but the sound as well!
|
|||
You can control the envelope of a synth using the `attack`, `decay`, `sustain` and `release` functions:
|
||||
|
||||
<MiniRepl
|
||||
client:idle tune={`note("c2 <eb2 <g2 g1>>").s('sawtooth')
|
||||
client:idle
|
||||
tune={`note("c2 <eb2 <g2 g1>>").s('sawtooth')
|
||||
.attack(.1).decay(.1).sustain(.2).release(.1)`}
|
||||
/>
|
||||
|
||||
<br/>
|
||||
<br />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue