MSP

Sixteen Harmonics

This example plays the first sixteen harmonics based on a fundamental frequency where the rate at which each harmonic play is period / # of harmonic. For example, with a period of 10000 ms—meaning the fundamental plays every 10000 ms—the 4th harmonic will be heard every 10000/4 ms, or 2500 ms.

Tendency Masks

This example shows how to use the function object for making tendency masks with breakpoint line segment functions (à la Koenig and as explained by Rowe) using a line object to progress through the functions that describe the minimum and maximum of the function’s range.

A/B audio crossfade

This patch shows how to crossfade between two sounds. Initially, two different sound files are loaded into two different sfplay~ objects. When you click the toggle marked "start/stop", both sound files will play, but you'll only hear the one on the left because its amplitude is being multiplied by a constant signal value of 1 from the sig~ 1 object, while the one on the right is being multiplied by a signal value of 0 from the line~ object.

A/B audio switch

This patch shows how the selector~ object may be used to choose just one of two (or more) different audio signals. A number in the left inlet specifies which of selector~'s signal inlets should be passed to its outlet.