#include #include "wavdata.h" #include "fft.h" #include #define FREQ 22400 #define AMPLITUDE 10 #define FREQDO 261 #define FREQLA 440 #define SIZE FREQ*4 int main(int argc, char **argv) { //Definition variables int i; float pi=3.141592; double test[SIZE][2]; double test1[SIZE][2]; double test2[SIZE][2]; double test3[SIZE*2][2]; char *data = new char[SIZE]; char *data2 = new char[SIZE]; WavData w; //Creation de la donnée for(i=0;i