Updated smnp.audio.synth (markdown)

Bartłomiej Przemysław Pluta
2020-03-29 10:37:01 +02:00
parent 614c1d0b90
commit 7a795de4e2

@@ -76,9 +76,6 @@ So the corresponding points of stages can be calculated as follows:
* `p2x = p2 * L = 0.4 * 10000 = 4000`
* `p3x = p3 * L = 0.8 * 10000 = 8000`
##### Factory function
The [[smnp.audio.synth#adsr]] is factory function for _ADSR_ envelope.
##### Example
```
wave1 = wave({ envelope -> adsr(0.2, 0.4, 0.7, 0.7) }, [@c:8]);
@@ -97,9 +94,6 @@ The _constant_ envelope does not change the sound shape at all. Technically, it
Following plot shows the constant envelope shape:
[[plots/envelopes/constant.svg]]
##### Factory function
The [[smnp.audio.synth#constant]] is factory function for _constant_ envelope.
##### Example
```
overtones = [1.0];