From fe8aa4ce5e8eebc1c6f762f4fc40328718a13e22 Mon Sep 17 00:00:00 2001 From: Miller Puckette Date: Sat, 31 Dec 2005 01:32:12 +0000 Subject: Deleted unused (?) files svn path=/trunk/; revision=4318 --- pd/portaudio_v18/docs/pa_tut_over.html | 92 ---------------------------------- 1 file changed, 92 deletions(-) delete mode 100644 pd/portaudio_v18/docs/pa_tut_over.html (limited to 'pd/portaudio_v18/docs/pa_tut_over.html') diff --git a/pd/portaudio_v18/docs/pa_tut_over.html b/pd/portaudio_v18/docs/pa_tut_over.html deleted file mode 100644 index baa99205..00000000 --- a/pd/portaudio_v18/docs/pa_tut_over.html +++ /dev/null @@ -1,92 +0,0 @@ - - - - - - - - - PortAudio Tutorial - - -  -
- - - -
-
-

-PortAudio Tutorial

-
- -

-Overview of PortAudio

- -
PortAudio is a library that provides streaming audio input -and output. It is a cross-platform API (Application Programming Interface) -that works on Windows, Macintosh, Unix running OSS, SGI, BeOS, and perhaps -other platforms by the time you read this. This means that you can write -a simple 'C' program to process or generate an audio signal, and that program -can run on several different types of computer just by recompiling the -source code. -

Here are the steps to writing a PortAudio application: -

    -
  1. -Write a callback function that will be called by PortAudio when audio processing -is needed.
  2. - -
  3. -Initialize the PA library and open a stream for audio I/O.
  4. - -
  5. -Start the stream. Your callback function will be now be called repeatedly -by PA in the background.
  6. - -
  7. -In your callback you can read audio data from the inputBuffer and/or write -data to the outputBuffer.
  8. - -
  9. -Stop the stream by returning 1 from your callback, or by calling a stop -function.
  10. - -
  11. -Close the stream and terminate the library.
  12. -
-
- -
There is also another interface -provided that allows you to generate audio in the foreground. You then -simply write data to the stream and the tool will not return until it is -ready to accept more data. This interface is simpler to use but is usually -not preferred for large applications because it requires that you launch -a thread to perform the synthesis. Launching a thread may be difficult -on non-multi-tasking systems such as the Macintosh prior to MacOS X. -

Let's continue by building a simple application that will play a sawtooth -wave. -

Please select the page for the specific implementation you would like -to use: -

-or continue with the next page of the programming -tutorial.
-home | -contents -| previous - - -- cgit v1.2.1