Author: Phil Burk
Description: 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.
Keywords: audio, tutorial, library, portable, open-source, DirectSound,sound, music, JSyn, synthesis,

# PortAudio Tutorial

## Compiling for ASIO (Windows or Macintosh)

> ASIO is a low latency audio API from Steinberg. To compile an ASIO application, you must first download the ASIO SDK from Steinberg. You also need to obtain ASIO drivers for your audio device.

> Note: I am using '/' as a file separator below. On Macintosh replace '/' with ':'. On Windows, replace '/' with '\'.

> To use ASIO with the PortAudio library add the following source files to your project:

> >     pa_asio/pa_asio.cpp

> and also these files from the ASIO SDK:

> >     common/asio.cpp
> >     host/asiodrivers.cpp
> >     host/asiolist.cpp

> and add these directories to the path for include files

> >     asiosdk2/host/pc   (for Windows)
> >     asiosdk2/common
> >     asiosdk2/host

> You may try compiling the "pa_tests/patest_saw.c" file first because it is the simplest.

home | contents | previous | next