[Stk] question about filtering voice

Luis Cordova cordoval@gmail.com
Thu, 9 Feb 2006 22:45:03 -0500


Hi,

I am a newbie, and was trying to get rid of a noise in a file using biquads :)
It is getting frustrating since to start I can't get rid of the noise.
I start with a single filter and ended up in this below:

filter1.setResonance(590.0, 0.99991, true); // notch 4590.0, 0.99991,
true); // notch 4
filter2.setResonance(1000.0, 0.6, true); // highpass11000.0, 0.6,
true); // highpass1
filter4.setResonance(560.0, 0.6, true); // highpass2560.0, 0.6, true);
// highpass2
filter3.setResonance(380.0, 0.6, true); // lowpass1380.0, 0.6, true);
// lowpass1
filter5.setResonance(520.0, 0.69, true); // lowpass2520.0, 0.69,
true); // lowpass2
...
sample = filter1.tick(input->tickFrame( frame ));
output->tick(filter5.tick(7.0 * filter4.tick(filter3.tick( 2.0 *
filter2.tick(10.0 * sample.operator [](0))))));

Any hints on how to attack this problem? Does STK has classes useful
to see the frequency response of a file, or to help designing filters
in C++? what can I try?

\lc

--
-------------------------------------------------------