import arb.soundcipher.*;


SoundCipher sc = new SoundCipher(this);


void setup() {

  frameRate(8);

}


void draw() {

  background(125);

  line(random(width), random(height), mouseX, mouseY);

  sc.instrument(random(80));

  sc.pan(mouseX);

  sc.playNote(random(40) + 60 - mouseY/2, random(50) + 70, 0.2);

}