doing FFT from an existing array, not from ADC?

Status
Not open for further replies.

JBeale

Well-known member
Is there any example Teensy sketch I can refer to for calculating an FFT that is not from an audio input? The source data is the product of various calculations, not directly from an ADC. For example, I have a 1D array containing 64 floating-point numbers, and I want to get as output an array with the power spectrum of that data so I can analyze peaks within a particular frequency window.

From a quick glance at the audio library source code it looks like I will need to call arm_cfft_radix4_q15(); but I'm not quite sure how.
 
Last edited:
Status
Not open for further replies.
Back
Top