I would like to create some instrument-tuning software, doing the frequency analysis in Haskell.
I could perhaps do this by analyzing recorded audio files, but would like to stream the audio from a microphone into the program in real-time.
How might I do this? I noticed SDL which, being a "hardware abstraction layer" looked promising, but am interested in all suggestions.