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