This paper describes a new opensource crossplatform c. Portaudio is a crossplatform, opensource c language library for realtime audio input and output. To use pyaudio, first instantiate pyaudio using pyaudio. The application programmer interface is documented in portaudio. It provides a very simple api for recording andor playing sound using a simple callback function. A 1 or 2 page instruction manual might be about right for this project. To record or play audio, open a stream on the desired device with the desired audio parameters using pyaudio. This section presents an informal overview of the c lan. Stream to play or record audio play audio by writing audio data to the stream using pyaudio. Devdocs preferences offline data changelog guide about. C api documentation with instant search, offline support, keyboard shortcuts, mobile version, and more. If you do not have a c compiler, download either xcode os x or visual studio.
I found index of default output device for this api. When youre done with this tutorial, youll be armed with the basic knowledge you need to write an audio program. Paper presented at icmc2001, bencina and burk, pdf. Portaudio is a free, crossplatform, opensource, audio io library. It is intended to promote the exchange of audio software between developers on different platforms.
785 1466 1410 1140 1639 1336 1370 775 415 200 555 793 1355 1604 116 708 111 888 864 1162 393 1581 372 956 976 418 753 1451 701 661 1041 55 231 762 697 1346 1437 1544 27 1394 508 1322 643 306 497 803 897 1108