How to convert wave data into Complex numbers
问题 I'm reading raw data from a mic and feeding into FFT. Two of the FFT libraries I'm trying (AForge and Exocortex.DSP) takes Complex numbers as input and gives Complex numbers as output. I'm trying to understand what complex numbers are. More specifically - how do I convert the raw audio data obtained from a microphone into complex numbers for processing in FFT? And how do I plot the output to a nice spectrogram (that is; reading the frequencies and amplitudes from the output)? Added bonus: