FFTPeak:
Filter:
sc3-plugins/Classes (extension) | UGens > Analysis | UGens > FFT

FFTPeak
ExtensionExtension

Find peak value in an FFT frame

Description

Given an FFT chain, this finds the bin with the strongest magnitude. It outputs the frequency of that bin, and its magnitude. No interpolation is done on the values.

This could be used as a primitive pitch detector, but in practice autocorrelation methods (as used in Pitch and Tartini) give more reliable pitch tracks. This simple approach gives poor resolution and robustness for that purpose. However it can be useful for other things...

Class Methods

.kr

Arguments:

buffer
freqlo
freqhi

Returns:

# freq, mag.

Examples