Getting raw audio data

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • BOMEz
    New Member
    • Dec 2007
    • 40

    Getting raw audio data

    I'm trying to read raw audio input say from a guitar or keyboard from my line in port on my sound card, to read the data and analyze what notes are being played.

    How do I even begin to do this?

    Some people have mentioned using DirectSound, which I'm currently investigating (installing right now) but I just wanted to see if anyone else has recommendations ?

    NOTE: Though I posted this is C#...I'm open to any language really...its just that I expect the Dirext X (which has DirectSound...I think) and I'm also open to using any OS.
  • vekipeki
    Recognized Expert New Member
    • Nov 2007
    • 229

    #2
    Most of soundcards also support ASIO interface, which is used for low-latency reading/writing. If your driver doesn't support it, there is a free universal driver here: http://www.asio4all.com/ which should work.

    If you want to access it using .Net, check this article: http://www.codeproject.com/KB/audio-video/Asio_Net.aspx. ASIO is used by most digital recording apps (Cubase), and it's the preferable way of working with sound if you want precise results.

    After you get the raw input data, you will have to do some FFT processing to get the harmonics.

    Comment

    Working...