X-Git-Url: https://git.piment-noir.org/?p=SugarCubes.git;a=blobdiff_plain;f=DanKaminsky.pde;h=c94b57396b07ccb4ba542248b3af31537f82b5d3;hp=87bfa3b60da7436c0ca339f587ae95afd18d1eaa;hb=dde759833df1c0190d9d3a982a90c0a4f8d76a26;hpb=4749563ed0cc35bde6bdd13eecdfc6e361d5320b diff --git a/DanKaminsky.pde b/DanKaminsky.pde index 87bfa3b..c94b573 100644 --- a/DanKaminsky.pde +++ b/DanKaminsky.pde @@ -3,7 +3,7 @@ class GenericController { public void RotateKnob(int type, int num, float val){ LXParameter p = null; if(type==0) { - p = glucose.getPattern().getParameters().get(num); + p = getPattern().getParameters().get(num); if(p!=null) { p.setValue(val); } } if(type==1) { @@ -146,7 +146,7 @@ import oscP5.*; abstract class OSCPattern extends SCPattern { - public OSCPattern(GLucose glucose){super(glucose);} + public OSCPattern(LX lx){super(lx);} public abstract void oscEvent(OscMessage msg); } @@ -160,8 +160,8 @@ class Ball { class OSC_Balls extends OSCPattern { Ball[] balls; - public OSC_Balls(GLucose glucose){ - super(glucose); + public OSC_Balls(LX lx){ + super(lx); balls = new Ball[20]; for(int i=0; i