/* * Simple Processing to Csound patch using OSC * RW 09 */ import oscP5.*; import netP5.*; OscP5 oscP5; NetAddress myRemoteLocation; OscMessage myMessage; int num = 60; float mx[] = new float[num]; float my[] = new float[num]; void setup() { size(400,400); frameRate(25); oscP5 = new OscP5(this, 12000); myRemoteLocation = new NetAddress("127.0.0.1", 12000); myMessage = new OscMessage("/coordinates"); smooth(); } void draw() { background(51); // Reads throught the entire array // and shifts the values to the left for(int i=1; i