Exporting Sound Files

Pd has a lot of ways to tell the computer how to make sound, but what about recording the sound? Pd does have a way to capture the audio flowing out of it. It’s up to us to tell it when to start and stop recording. Let’s do that now. We’ll take the wineglass patch from the previous chapter and extend it to add a feature where it records each time we send the message to make the clink sound.

Although Pd is primarily a dynamic sound environment, there are occasions where it’s useful to capture a static sound from Pd. One case may be to simply preview some sounds at your leisure outside of Pd. Another may be to capture a few performances where variables are changing randomly, and then review them later. Another, which we’ll ...

Get Programming Sound with Pure Data now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.