import arb.soundcipher.*;
SoundCipher sc = new SoundCipher(this);
float yLoc = 0.0;
float pitch = 60;
void setup() {
frameRate(6);
}
void draw() {
if (yLoc * 10 > width) {
background(204);
yLoc = 0;
}
line(yLoc * 10 , height-pitch, yLoc * 10 + 10, height-pitch);
sc.playNote(pitch, 100, 1);
yLoc += 1;
pitch = sc.pcRandomWalk(pitch, 7, sc.MINOR);
}