First of all, It seems to be a great code exactly what i looking for. But,
If i copy the code to my compiler i get a lot of "undeclared identifier" issues. Is this expected or do I have to manually changes al these issues? If so, do you have any tips? I'm quite novice to programming. I have read some books and did some basic coding (from the book creative coding in OF), but a large code like this is a quite a different cup of thea. I use Xcode as compiler btw.
Some examples of issues:
ofSoundStreamSetup(0,2,this, 44100,BUFFER_SIZE, 4);
left = new float[BUFFER_SIZE];
right = new float[BUFFER_SIZE];
for (int i = 0; i < NUM_WINDOWS; i++)
for (int j = 0; j < BUFFER_SIZE/2; j++)
freq[i][j] = 0;
Thanks in advance.