Audio Programming

Oct 1, 2012 at 4:39pm
Hi, I'm looking for a decent audio API (preferably open source) that plays well with MSVC. I want to do some DSP stuff, so I think I need something reasonably low level. Has anyone anyone any recommendations?
Oct 1, 2012 at 4:53pm
Check out OpenAL. It works pretty well.

If you have some specific DSP that you want to do, create your own library for it. Parsing a WAVE file is not too hard. Once you have the sample in an array of some sort (int16 usually), it's easy to do your DSP.

The audio API that you use will really just interface your buffers with your sound card. The content of your buffers will be completely up to you and is usually completely exposed to you.
Last edited on Oct 1, 2012 at 4:57pm
Oct 1, 2012 at 5:10pm
For an audio API for some DSP stuff on Windows, I would recommend RtAudio.
http://www.music.mcgill.ca/~gary/rtaudio/

It's a fairly good yet simple API if you use the latest version, and I understand that it's not as much of a nightmare to compile on Windows as PortAudio is. :P

-Albatross
Oct 1, 2012 at 11:41pm
RtAudio seems to be exactly what I was looking for, cheers mate.
Topic archived. No new replies allowed.