13.07.2015 Views

Tutorials and Topics - Peabody Computer Music

Tutorials and Topics - Peabody Computer Music

Tutorials and Topics - Peabody Computer Music

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Tutorial 4: Fundamentals—Routing signalsRemote signal connections: send~ <strong>and</strong> receive~The patch cords that connect MSP objects look different from normal patch cordsbecause they actually do something different. They describe the order of calculations in asignal network. The connected objects will be used to calculate a whole block of samplesfor the next portion of sound.Max objects can communicate remotely, without patch cords, with the objects send <strong>and</strong>receive (<strong>and</strong> some similar objects such as value <strong>and</strong> pv). You can transmit MSP signalsremotely with send <strong>and</strong> receive, too, but the patch cord(s) coming out of receive will nothave the yellow-<strong>and</strong>-black striped appearance of the signal network (because a receiveobject doesn’t know in advance what kind of message it will receive). Two MSP objectsexist specifically for remote transmission of signals: send~ <strong>and</strong> receive~.send <strong>and</strong> receive for Max messages; send~ <strong>and</strong> receive~ for signalsThe two objects send~ <strong>and</strong> receive~ work very similarly to send <strong>and</strong> receive, but are only foruse with MSP objects. Max will allow you to connect normal patch cords to send~ <strong>and</strong>receive~, but only signals will get passed through send~ to the corresponding receive~. TheMSP objects send~ <strong>and</strong> receive~ don’t transmit any Max messages besides signals.There are a few other important differences between the Max objects send <strong>and</strong> receive <strong>and</strong>the MSP objects send~ <strong>and</strong> receive~.1. The names of send <strong>and</strong> receive can be shortened to s <strong>and</strong> r; the names of send~ <strong>and</strong>receive~ cannot be shortened in the same way.2. A Max message can be sent to a receive object from several other objects besides send,such as float, forward, grab, if, int, <strong>and</strong> message; receive~ can receive a signal only from asend~ object that shares the same name.3. If receive has no typed-in argument, it has an inlet for receiving set messages to set orchange its name; receive~ also has an inlet for that purpose, but is neverthelessrequired to have a typed-in argument.74

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!