Hi!
A couple of questions:
I have a Teensy 3.2 and an audio shield.
1)I want to receive audio input and to do a real-time FFT.
Did I understand correctly that all I need is just to solder in a 3.5mm stereo female socket, and then I can use AudioInputI2S of GUI?
http://www.pjrc.com/teensy/gui/?info=AudioInputI2S
2)If a logarithmic scale is needed, a simple
is enough, or there is a more efficient way to do it?
3)If I want to use the built-in ADC of Teensy, I don't need SGTL5000 at all?
Is the circuitry here
http://www.pjrc.com/teensy/gui/?info=AudioInputAnalog
sufficient for this purpose or an anti-aliasing filter is needed?
Thanks,
Maxim.
A couple of questions:
I have a Teensy 3.2 and an audio shield.
1)I want to receive audio input and to do a real-time FFT.
Did I understand correctly that all I need is just to solder in a 3.5mm stereo female socket, and then I can use AudioInputI2S of GUI?
http://www.pjrc.com/teensy/gui/?info=AudioInputI2S
2)If a logarithmic scale is needed, a simple
Code:
//...
#include "math.h"
//....
float m=fft1024_1.read(i);
int x = max(20*log(m)+100,0);
3)If I want to use the built-in ADC of Teensy, I don't need SGTL5000 at all?
Is the circuitry here
http://www.pjrc.com/teensy/gui/?info=AudioInputAnalog
sufficient for this purpose or an anti-aliasing filter is needed?
Thanks,
Maxim.