repositories
/
SugarCubes.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
sinesphere multiple projections working and arctan working
[SugarCubes.git]
/
_MIDI.pde
diff --git
a/_MIDI.pde
b/_MIDI.pde
index a3363205f8914160418a9f15e34f38b44ef56dcc..b75556c8bba2a92dd7032c8b0c213e6422afabc7 100644
(file)
--- a/
_MIDI.pde
+++ b/
_MIDI.pde
@@
-411,7
+411,7
@@
public class APC40MidiInput extends GenericDeviceMidiInput {
case 7:
switch (channel) {
case 0:
case 7:
switch (channel) {
case 0:
-
// effects.colorFucker.hueShift.setValue(value
);
+
uiSpeed.speed.setValue(0.5 - value*0.5
);
return true;
case 1:
effects.colorFucker.desat.setValue(value);
return true;
case 1:
effects.colorFucker.desat.setValue(value);
@@
-447,7
+447,7
@@
public class APC40MidiInput extends GenericDeviceMidiInput {
} else {
cv = cv - 64;
}
} else {
cv = cv - 64;
}
- val += (cv - 64) /
3
00.;
+ val += (cv - 64) /
5
00.;
effects.colorFucker.hueShift.setValue((val+1) % 1);
return true;
}
effects.colorFucker.hueShift.setValue((val+1) % 1);
return true;
}