Hi,
i have some code for arduino written in C with the library "arduinoFTT.h". I'm using an esp32 with micropython firmware so i need to translate that code to micropython.
The ftt related lines are:
FFT.Windowing(vReal, SAMPLES, FFT_WIN_TYP_HAMMING, FFT_FORWARD); FFT.Compute(vReal, vImag, SAMPLES, FFT_FORWARD); FFT.ComplexToMagnitude(vReal, vImag, SAMPLES);
where the values are these:
define SAMPLES 512
double vReal[SAMPLES];
I can't understand how to convert to this library.
Can someone help me please?
Hi, i have some code for arduino written in C with the library "arduinoFTT.h". I'm using an esp32 with micropython firmware so i need to translate that code to micropython. The ftt related lines are:
FFT.Windowing(vReal, SAMPLES, FFT_WIN_TYP_HAMMING, FFT_FORWARD); FFT.Compute(vReal, vImag, SAMPLES, FFT_FORWARD); FFT.ComplexToMagnitude(vReal, vImag, SAMPLES);
where the values are these:define SAMPLES 512
double vReal[SAMPLES];
I can't understand how to convert to this library. Can someone help me please?