From Physical Programming
Following are a list of Pd example patches that we have constructed in class:
- Media:Counter.pd.zip - counts up by 1 every time you click the 'bang'.
- Media:3Dobjects.pd.zip - create a 3D object in a graphics window.
- Media:Image.pd.zip - load an image and render it onto an object.
- Media:Keyboard.zip - use of keyboard as an input to manipulate objects.
- Media:Mouse.zip - use of mouse as input to manipulate the shape in the GEM window.
These Pd example patches have not been covered in class:
- Media:Div mod.pd.zip - use the 'div' and 'mod' maths functions.
- Media:Routing list items.pd.zip - split lists up and send them to different outlets.
- Media:Simple sequencer.pd.zip - combine a metronome with the mod function to produce beats.
Pd comes with a number of helpful files and patches built in. The official Pd manual is available via the Pd "Help" menu. The file "Browser" may also be found under the Pd "Help" menu, giving access to numerous built-in help patches and examples. In addition to this, help patches may be accessed by right clicking (control-clicking) on an object in the patch window and selecting "help" from the pop-up menu.
FOSS Manuals also have an excellent Pure Data Introduction and a range of tutorial available free online.
Programming Electronic Music in Pd has easy to follow examples of using Pd to create electronic music.
A list of GEM objects can be found on the Pure Data website, and a complete list of Pure Data Objects can be downloaded here (the complete list is arranged by categories, you will find the GEM objects towards the bottom of the list).
Pd can be downloaded for free from the Pure Data website.
For a basic introduction to Processing go to this page.
For an introduction to variables see this page.
For example sketches see:
- Media:basic_1.zip - drawing rectangles in Pure Data and Processing.
- Media:basic_2.zip - drawing a sphere in Pure Data and Processing.
- Media:basic_3.zip - drawing a sphere in Processing using continuous mode.
- Media:mouse_1.zip - responding to mouse events.
- Media:mouse_2.zip - asking Processing about the mouse state.
- Media:mouse_3.zip - using variables.
- Media:keyboard_1.zip - responding to keyboard events.
- Media:Iteration example.zip - introducing if and while loops.
- Media:Object variable.zip - defining and manipulating variables.
- Media:game_of_life.zip - Conway's Game of Life, an example of an emergent system.
These pages give additional information that has not been covered in class:
Processing comes with a number of helpful files and sketches. The official Processing manual is available via the Processing "Help" menu. Example sketches can be found under the "File" menu.
The Processing website also has an excellent collection of tutorials, and an array of amazing projects created using Processing. Reference to the complete Processing language can also be found on the Processing website.
O'reilly publishing also run online courses for Processing and the Arduino. You can watch some courses live for free - this one starts at 3pm, Tuesday 31 August, US Pacific Time (which is 8am, Wednesday 1 September, Melbourne time).
Processing can be downloaded for free from at Processing.org.
- Introduction to Arduino Simple examples of Arduino use.
- Reference for Arduino Functions and variables explained.