Hello,
i am happy to say i finally understand how to read from microphone and get audio data, using portaudio (due to its multiplatform capability) and windows API functions.
Now i am doing this in C, i have read the audio in, and i have the data in an array.
What i want to do is perform FFT on the audio data (at real time, i am using FFTW) and plot the frequency and amplitude at real time.
I am not so sure how to do the real time FFT and plot it, (i am not so sure if any libraries exists for ploting in C). It would be great if you can help.
I know how to use FFTW, to perform simple 1d and 2d FFT, but how do you do it in real time with audio and plot it.