November 24, 2007
Reading for November 27th, are now posted. Enjoy!

October 2, 2007
To upload your thoughtless acts, create a new assignment page like any other lab. You'll see "Thoughtless Acts" listed as one of the assignment options.

May 24, 2008
This site has been archived and is no longer editable. Stay tuned for the next version, coming in the fall!

Lab 9 - Synthesis: Invent a musical instrument (Group work)

Start Date: 
Thursday, November 1, 2007
Due Date: 
Thursday, November 8, 2007

Work together in a small group to integrate the tools you've acquired to create a new musical instrument.


Using Sound with Processing

The easiest method I've found for playing sounds in Processing is using
the "Minim" sound plugin. You can download it and read the
documentation at Note that the Manual is not completely written yet, but many of the key features are documented there.

easiest way to play a sound with Minim is to use "sound snippets", as
in the Processing (NOT Arduino) code shown below. Before using this
code you'll need to install Minim as described on its website and put
the attached sound file in the same directory as your Processing code.

import ddf.minim.*;
import ddf.minim.signals.*;

AudioSnippet snippet;

void setup()
size(100, 100);

snippet = Minim.loadSnippet("Submarine.aiff");


void draw()

void keyPressed()
if ( key == 'p' )

void stop()


Another possibility is Ess ( The website has several cool examples.

Submarine.aiff168.01 KB

Powered by Drupal - Design by Artinet