Saturday, July 4, 2015

pd24. Streaming audio into Pure Data

The readsf~ object can read and stream an external audio file (such as wav or aiff).


First, a file must be opened. We use openpanel to open a GUI element to choose file on computer.


Once the file is loaded, you may press start, on the right side, to start audio.


Should you need to hear another sound, or even the same sound, you have to reopen the file first. Most small audio samples will be read into memory with other objects.


There is a print object. Often you will use print objects during debugging. Below the audio file is assumed to be stereo.


No comments:

Post a Comment