|
User Documentation |
|
Centre for Vision, Speech & Signal Processing |
Variables:
Methods:
- ResonatorC(long samrate)
-
Constructor.
samrate = Sample rate for resonator.
- void Init()
-
Initalise resonator.
- float Resonator(float input)
-
Generic resonator function
- float Antiresonator(float input)
-
Generic anti-resonator function
Same as resonator except that a,b,c need to be set with setzeroabc()
and we save inputs in p1/p2 rather than outputs.
There is currently only one of these - "rnz"
Output = (rnz.a * input) + (rnz.b * oldin1) + (rnz.c * oldin2)
- void SetABC(long int f,long int bw)
-
Convert formant freqencies and bandwidth into resonator difference equation coefficents
f = Frequency of resonator in Hz
bw = Bandwidth of resonator in Hz
- void SetABCG(long int f,long int bw,float gain)
-
Convienience function for setting parallel resonators with gain
f = Frequency of resonator in Hz
bw = Bandwidth of resonator in Hz
gain = Gain to use.
- void SetZeroABC(long int f,long int bw)
-
Convert formant freqencies and bandwidth into anti-resonator difference equation constants
f = Frequency of resonator in Hz
bw = Bandwidth of resonator in Hz
- float & A()
-
Access the 'a' paramiter.
|
Programmer:Radek Marik, Documentation by CxxDoc: Tue Mar 20 10:48:08 2001
|