Name | Description | Default value |
---|---|---|
amp | Maximum Amplitude. Linear from >0.0 to 1000 or in dB from 0 to -∞ (see Tutorial Getting Started 02 - Amplitude and Internal Editor for more details) | -6.0 |
freq | (Minimum) current frequency [Hz] | 440.0 |
aenv | Amplitude Envelope [GEN] | Instance: GEN07 |
The ADD-1 Class realizes an Additive Synthesis with the following controls:
The example A focuses on the frequency's values.
The example B deals with the amplitude envelopes made by 5 different BPF (Break Point Function).
For the red patches Synt, C#ed and rnd see Appendix-A.
instr 1
idur = p3
idurosc = 1/idur
iamp = (p4 > 0.0 ? (p4*0.001*0dbfs) : (ampdbfs (p4)))
ifq = p5
iaenv = p6
iaudiofun = 1
a2 poscil iamp, idurosc, iaenv
a1 poscil a2, ifq, iaudiofun
out a1
endin