Pure LAC09 Examples

Download the full source of the examples at: http://pure-lang.googlecode.com/svn/docs/pure-lac09.tar.gz

You need to have Pd (0.4x), Pure (0.18) and the pd-pure plugin (0.4) installed to run these examples. The 'waveplay' patch also requires libsndfile, the 'bounce' patch needs Gem.

Pd and libsndfile are readily available on most Linux systems, Gem you'll probably have to compile from source. Pure and pd-pure can be found as RPM packages for openSUSE on the Packman website (http://packman.links2linux.de), but are also easy to install from source.

waveplay.pd

A simple soundfile player. The accompanying Pure script is in wavefile.pure. Run this is as 'pd -lib pure waveplay.pd' and push the toggle button to play. You might have to adjust the window size to get rid of dropouts.

bounce.pd + bounce-sound.pd

A bouncing ball animation. Run as 'pd -noaudio -lib pure -lib Gem bounce.pd'. First push the "Graphics window" toggle to start rendering, then the "Bouncing ball animation" toggle to start the animation.

The second patch adds some sound effects. Run this as 'pd bounce-sound.pd' and push the toggle above the 'pd sound' subpatch in the main patch to connect the two patches. (These are in two separate patches connected via netsend/ netreceive to prevent audio dropouts, see the Gem FAQ for details.)

Try the different acceleration values (corresponding to the gravity of the Moon, Earth and Jupiter). You can also click inside the Gem window to restart the animation at different positions.

The Pure script implementing the motion of the ball is in ball.pure.