Fixing density and adding documentation

This commit is contained in:
Raphael Forment
2023-11-17 13:18:49 +01:00
parent 476bda812e
commit fb28083ce6
5 changed files with 22 additions and 4 deletions
+4
View File
@@ -42,6 +42,10 @@ Some amount of pink noise can also be added to any oscillator by using the `nois
<MiniRepl client:idle tune={`note("c3").noise("<0.1 0.25 0.5>").scope()`} />
You can also use the `crackle` type to play some subtle noise crackles. You can control noise amount by using the `density` parameter:
<JsDoc client:idle name="density" h={0} />
### Additive Synthesis
To tame the harsh sound of the basic waveforms, we can set the `n` control to limit the overtones of the waveform: