Personal tools
You are here: Home community PdWikiWiki PdTutorialTutorialOne

!Tutorial ­1­ Programming with pd consists of sending messages to objects and obtaining results. Well, maybe this is not entirely true but if one assumes that an output from an object could be considered a message, then I'm not far from the truth. However, one could use the message box in order to send an explicit message. %%% %%% Bang is a special message. It activates any (non­audio) object and forces it to output some value (or, turn it on, depending on the function of the object). %%% %%% Here's a variation on the traditional "Hello, World" program. The "[print":[print object simply prints out (to the terminal window) the value(s) it recieves through its inlet. In the case of the below program it prints the messages. You have to click on the message box to send a message to the "[print":[print object. %%% %%% If you add an argument to "[print":[print, your argument will precede the printed message. This way, if you have several print objects in your patch you can differentiate between them. %%% %%% %%% %%% Look at the patch tut1.pd ---- '''Previous: '''PdTutorialOverview '''Next: '''PdTutorialTutorialTwo ----

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