| 1 | <!doctype html public "-//w3c//dtd html 4.0 transitional//en"> |
| 2 | <html> |
| 3 | <head> |
| 4 | <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> |
| 5 | <meta name="GENERATOR" content="Mozilla/4.79 [en] (Windows NT 5.0; U) [Netscape]"> |
| 6 | <meta name="Author" content="Phil Burk"> |
| 7 | <meta name="Description" content="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."> |
| 8 | <meta name="KeyWords" content="audio, tutorial, library, portable, open-source, DirectSound,sound, music, JSyn, synthesis,"> |
| 9 | <title>PortAudio Tutorial</title> |
| 10 | </head> |
| 11 | <body> |
| 12 | |
| 13 | <center><table COLS=1 WIDTH="100%" BGCOLOR="#FADA7A" > |
| 14 | <tr> |
| 15 | <td> |
| 16 | <center> |
| 17 | <h1> |
| 18 | PortAudio Tutorial</h1></center> |
| 19 | </td> |
| 20 | </tr> |
| 21 | </table></center> |
| 22 | |
| 23 | <h2> |
| 24 | Compiling for Macintosh OS X</h2> |
| 25 | |
| 26 | <blockquote>To compile a Macintosh OS X CoreAudio application with the |
| 27 | PortAudio library: |
| 28 | <p>Create a new ProjectBuilder project. You can use a "Tool" project to |
| 29 | run the PortAudio examples. |
| 30 | <p>Add the following source files to your Project: |
| 31 | <blockquote> |
| 32 | <pre>pa_mac_core/pa_mac_core.c |
| 33 | pa_common/pa_lib.c |
| 34 | pa_common/portaudio.h |
| 35 | pa_common/pa_host.h |
| 36 | pa_common/pa_convert.c</pre> |
| 37 | </blockquote> |
| 38 | Add the Apple CoreAudio.framework to your project by selecting "Add FrameWorks..." |
| 39 | from the Project menu. |
| 40 | <p>Compile and run the "pa_tests:patest_saw.c" file first because it is |
| 41 | the simplest.</blockquote> |
| 42 | <font size=+2><a href="http://www.portaudio.com/">home</a> | |
| 43 | <a href="pa_tutorial.html">contents</a> |
| 44 | | <a href="pa_tut_over.html">previous</a> | <a href="pa_tut_callback.html">next</a></font> |
| 45 | </body> |
| 46 | </html> |