A Note About Audio in Max
Let’s consider how audio works in a Max patch window.
It’s helpful to think of Max objects and their patch cords as
constituting a kind of network, somewhat like the Ethernet cables
that let computers talk to each other. The Max message
network comprises the MIDI objects, the abstract numerical and
logical objects (scale, random, +), timing
objects (metro, tempo), message boxes, and the patch
cords that connect all of these. The MSP network comprises
all of the interconnected objects that handle audio signals. The
two networks can connect to each other, so that Max messages can
control audio behavior, and audio signals can become Max messages.
While the Max message network is capable of running at the rate of
about one message per millisecond, the MSP network runs exactly at
the audio sampling rate, which is often 48000 times per second
— 48 times faster than the fastest Max message rate. Another
difference between the two networks is that Max objects usually
generate messages only when prompted. For example, makenote
generates output only when it receives a pitch number in its left
inlet. (An exception is metro, which emits bangs at a
constant rate until you turn it off.) By contrast, audio flows
constantly in the MSP network, even when you pull an audio fader
all the way down. And you have to turn the Max audio network on and
off explicitly (with the ezdac~ button, for example). Most
audio objects have a tilde (~) after their names to suggest
that they handle sound waves. Audio patch cords are thick dashed
lines, so they look different from regular Max patch cords.