[PD] fft -> get to know of requested frequency range

IOhannes m zmoelnig zmoelnig at iem.at
Fri Jul 23 13:17:27 CEST 2004

Christian Klotz wrote:
> hi,
> I currently try to analyse sound input (using microphone) and check if 
> the sound contains a definite frequency range. so if there is a 
> frequency range of 10,000 to 11,000 hz in there it should do a bang for 
> example. So I tried a little bit with fft and tabwrite but at the moment 
> I stuck. Does anyone of you have an idea how to solve the problem?
> thanks, cheers

yes, try fft and tabwrite....

to be honest: why not using a [bp~] for such a task ?
if you really need fft's, be sure that you know that the signals coming 
out of [rfft~] are real and imaginary parts of a complex signal.
since you need the amplitude of the complex signal you will have to 
calculate it yourself.


More information about the Pd-list mailing list