# PortAudio Tutorial
Tutorial for PortAudio, a cross platform, open-source, audio I/O library.It provides a very simple API for recording and/or playing sound using a simple callback function.
Author: Phil Burk
Keywords: audio, tutorial, library, portable, open-source, DirectSound,sound, music, JSyn, synthesis,

## Compiling for Macintosh OS X

> To compile a Macintosh OS X CoreAudio application with the PortAudio library:

> Create a new ProjectBuilder project. You can use a "Tool" project to run the PortAudio examples.

> Add the following source files to your Project:

> >     pa_mac_core/pa_mac_core.c
> >     pa_common/pa_lib.c
> >     pa_common/portaudio.h
> >     pa_common/pa_host.h
> >     pa_common/pa_convert.c

> Add the Apple CoreAudio.framework to your project by selecting "Add FrameWorks..." from the Project menu.

> Compile and run the "pa_tests:patest_saw.c" file first because it is the simplest.

home | contents | previous | next