X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=DanUtil.pde;h=c27eaed0adacc2c26cd541c499f0d2d7899b5911;hb=d6ac1ee83fec42f9c5ba4a14248879b541f1f58d;hp=d3f9ac05186e314f3a302f229ac90d65f736a7fa;hpb=b91ad0b607f4daf8f74c6d466bd06f70d705cb47;p=SugarCubes.git diff --git a/DanUtil.pde b/DanUtil.pde index d3f9ac0..c27eaed 100644 --- a/DanUtil.pde +++ b/DanUtil.pde @@ -121,7 +121,6 @@ public class DGlobals { void controllerChangeReceived(rwmidi.Controller cc) { if (cc.getCC() == 7 && btwn(cc.getChannel(),0,7)) { Sliders[cc.getChannel()] = 1.*cc.getValue()/127.; } - else if (cc.getCC() == 15 && cc.getChannel() == 0) { lx.engine.getDeck(1).getCrossfader().setValue( 1.*cc.getValue()/127.); } @@ -157,7 +156,6 @@ public class DGlobals { double Tap1 = 0; double getNow() { return millis() + 1000*second() + 60*1000*minute() + 3600*1000*hour(); } - void noteOffReceived(Note note) { if (CurPat == null) return; int row = DG.mapRow(note.getPitch()), col = note.getChannel();