[music-dsp] C++ code examples

Darren Reid shokwave at nbnet.nb.ca
Tue Jan 23 20:27:28 EST 2001


"Phil Burk" <philburk at softsynth.com> sez:

> Check out PortAudio. It is a simple, portable, open-source 'C' API for
> reading and writing audio that works on Mac and PC. Implementations for
> Linux and other platforms are in progress. There is an example called
> "pa_fuzz.c" that demonstrates a simple effects processor.

I just tried out PortAudio for the first time, and it works like a dream.
The only problem I noted was a small error in Phil's dsound_wrapper.c:

line 157:
(LPLPVOID)&pDSBuffData
should be
(LPVOID)&pDSBuffData

I highly recommend PortAudio to anyone looking for an easy way to get audio
in/out of their computer. The open-source nature of it is rather nice.

-Darren


dupswapdrop -- the music-dsp mailing list and website: subscription info,
FAQ, source code archive, list archive, book reviews, dsp links
http://shoko.calarts.edu/musicdsp/




More information about the music-dsp mailing list