Drycola 10 Junior Poster in Training

Hi,

I'm working on a communication system that uses sound to transfer data, the concept is to transfer data by using different sound frequencies.
I could produce the exact frequency of sound by using DirectSound and everything is OK about it.
My problem is: I can't find a way to analyze the sound from the microphone so I can receive data. How can I get the frequency of a sound???