// resonance // Created with Processing 68 alpha on October 24 , 2004 // http://www.harukit.com/ Sample sin1; Sample sin2; float _x,_y,x2,y2; int n = 0; int m=0; void setup(){ size(400,100); background(0); stroke(0,255,0); Sonia.start(this); sin1 = new Sample("sine.aiff"); sin2 = new Sample("sine.aiff"); sin1.play(); sin1.repeat(); sin2.play(); sin2.repeat(); } void loop(){ background(0); translate(0,height/2); sin2.setRate(44100+120+mouseX*2); for(int i=0;i