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 |
fdev | (Minimum) frequency deviation [%] | 0.06 |
vfq | Vibrato frequency [Hz] | 1.0 |
fenv | Envelope of the frequency deviation [GEN] | Instance: GEN07 |
The ADD-3 Class realizes an Additive Synthesis with the following controls:
The example A spreads the vibrato range from 1% to 100% of the frequency,
The example B spreads the vibrato speed from 1 to 16 Hz,
The example C collects 4 different frequency deviation envelopes with the same speed and range of the vibrato.
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
ivibamp = p7
ivibfq = p8
ifenv = p9
iaudiofun = 1
a2 poscil iamp, idurosc, iaenv
k1 poscil ivibamp, ivibfq, ifenv
k1 = (k1 * ifq) + ifq
asound poscil a2, k1, iaudiofun
out asound
endin