The buffer~ object can hold any audio data—or, for that matter, any collection of floating-point numbers. Most often it's used for audio playback, but it can also store a curve of any desired shape, to be used as a control signal. In this example, it will be used to store a control signal that will influence the pitch of an oscillator. The replace message to buffer~ will load in data from a sound file.
This example shows a simple way to transpose a sound file including the time it takes to get from one transposition level to another (glide time).
This example shows a comparison between an exponential change of speed and a linear change of speed when playing a soundfile.
This example shows how to create a flanger effect on a sound file.
This example combines seven pre-recorded saxophone sounds, slowly modulating several aspects of their playback to create an ever-changing mix.