I've decided to take on my most challenging project yet. A guitar FX "peddle". The only problem is I don't know how to read a "live stream" from the sound card in windows.

A guitar will be plugged into the microphone jack (with the help of an adapter ) . The program will need the to know frequency and possibly the duration of the frequency. It will then perform mathematical calculations on the frequencies and play back the new frequencies.

1. How would I address the sound card (i.e., is it a com port, file, etc.)?
2. How will I know the duration of the frequency?



Also, I would like to stick with to standards, but it's not necessary.

Asm is also an alternative (actually, i plan on using asm for some parts)