Hi Ricardo,i have written an external (sms_peaks~) that does exactly what you want. It is part of my naive but usable pd-based implementation of sms. It analyzes only half the signal vector as it is designed to work in combination with rfft~. Please see the help file.
You can find it in my svn at https://svn.grrrr.org/ext/trunk/ sms_peaks/ .
I also put a binary for MacOS on http://grrrr.org/ext/beta/pd/osx . all the best, Thomas Am 26.08.2008 um 07:44 schrieb Ricardo Dueñas Parada:
Hi, I want to find the max values of a table what is the result of a fft.I tried using a counter and comparing manually, but it take too long, and I need to do it as fast as possible, without compromising audio processing.Do you know if there is some external what I can use to do that?I just need to do it one time for every block, or even less, I just want to knowthe formants of a sound (speech). Thanks. _Ricardo. _______________________________________________ Pd-list@iem.at mailing listUNSUBSCRIBE and account-management -> http://lists.puredata.info/ listinfo/pd-list
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list