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 |
f0 | Frequency of the impulses that create the sinebursts [Hz] | 220.0 |
freq | Formant frequency [Hz] | 5 |
bw | Formant bandwidth at -6dB [Hz] | 0 |
aenv | Amplitude Envelope [GEN] | Instance: GEN07 |
win | Attack times of the sinusoid burst [sec] | 0.01 |
wdur | Duration of the sinusoid burst [sec] | 0.2 |
wout | Decay times of the sinusoid burst [sec] | 0.1 |
oct | Octaviation factor of the fof [flt >=0.0] | 0.0 |
afil | Table for sineburst synthesis (size of at least 4096 recommended) [GEN01 or BPF] | 32 |
The FOF-4 Class realizes a Formant Wave-Function Synthesis with the following controls:
For the explanation of f0, freq and bw see Tutorial FOF-1
For the explanation of win, wdur, wout and oct see Tutorial FOF-2
The example A gives as audio file 5 different BPF.
The example B gives as audio file the table numbers which are passed to synthesize by the keyword "tables".
For the red patches Synt, C#ed and rnd see Appendix-A.
instr 1
idur = p3
idurosc = 1/p3
iamp = (p4 > 0.0 ? (p4*0.001*0dbfs) : (ampdbfs (p4)))
if0 = p5
ifreq = p6
ibw = p7
iaenv = p8
iwxin = p9
iwxdur = p10
iwxout = p11
ioct = p12
ifile = p13
iolaps = 100000 ; how many simultaneous FOFs can be played
; (takes little memory if not used)
imode = 0
iphs = 0
iskip = 0
isigfun = 19
; amplitude envelope
kenv poscil iamp, idurosc, iaenv
; xamp xfund xform oct kband kris kdur kdec iolaps ifna ifnb
asig fof 1.0, if0, ifreq, ioct, ibw, iwxin, iwxdur, iwxout, iolaps, ifile, isigfun, idur, iphs, imode, iskip
asound = asig*kenv
outc asound
endin