Personal tools
You are here: Home community PdWikiWiki PdTutorialTutorialTwo

!Tutorial ­2­ %%% The patch for this tutorial is pretty self­explanatory. This tutorial deals with various ways of sending messages in PD. Messages can be directly attached to affected objects or could be sent around with the "[send":[send object. "[send":[send takes an argument, matching "[receive":[receive arguments will receive the messages from the corresponding send. One thing is important to note: do not overuse "[send":[send and "[receive":[receive pairs. If order of messages is important try to use patchcords to route your messages. Generally, the left inlet of an objects triggers an action so if an object has more than one inlet and you want to provide (one of) the right inlets with some values before triggering you have to think about your patching. "[trigger":[trigger will often come in handy. Remember that "[trigger":[trigger outputs right to left (in fact all message/data passing is done in the right to left order except when there are more than 1 patch cords coming out of an outlet, the order could get confused). Also, when in doubt, use trigger to make sure your order is maintained. The order of message/data passing could cause subtle errors in your patch and those bugs are hard to find. %%% %%% All this only partially applies to signal (~) objects. Signal objects (generaly) output continually while audio is on (compute audio button on the main pd window is pressed) but since your patches will most likely include non­signal objects it is important to keep these things in mind. %%% %%% Look at the patch tut2.pd ---- '''Previous: '''PdTutorialTutorialOne '''Next: '''PdTutorialTutorialThree ----

Powered by IEM Powered by Plone Section 508 WCAG Valid XHTML Valid CSS Usable in any browser