aboutsummaryrefslogtreecommitdiffstats
path: root/classes/BowelyzerOSCHub.sc
diff options
context:
space:
mode:
authorDavid Runge <dave@sleepmap.de>2016-07-05 21:13:31 +0200
committerDavid Runge <dave@sleepmap.de>2016-07-05 21:13:31 +0200
commitd0a2da650e8551f5e40b7b432738c27b345b33ec (patch)
tree7aed60ce5bf6f5d6fbacb1306b1622aaf228f219 /classes/BowelyzerOSCHub.sc
parent8c45cbc006d751df91eb637032190ff4a33fc78e (diff)
downloadbowelyzer-d0a2da650e8551f5e40b7b432738c27b345b33ec.tar.gz
bowelyzer-d0a2da650e8551f5e40b7b432738c27b345b33ec.tar.bz2
bowelyzer-d0a2da650e8551f5e40b7b432738c27b345b33ec.tar.xz
bowelyzer-d0a2da650e8551f5e40b7b432738c27b345b33ec.zip
classes/BowelyzerOSCHub.sc: Streamlining the output of a local forward. Fixing onsetDetect value.
Diffstat (limited to 'classes/BowelyzerOSCHub.sc')
-rw-r--r--classes/BowelyzerOSCHub.sc4
1 files changed, 2 insertions, 2 deletions
diff --git a/classes/BowelyzerOSCHub.sc b/classes/BowelyzerOSCHub.sc
index 8e6bf52..d8dd263 100644
--- a/classes/BowelyzerOSCHub.sc
+++ b/classes/BowelyzerOSCHub.sc
@@ -71,11 +71,11 @@ BowelyzerOSCHub{
amplitude = msg[3],
pitch = msg[4],
hasPitch = msg[5],
- onsetDetect = msg[7];
+ onsetDetect = msg[6];
if(amplitude != 0,{
local.sendMsg("/indicate", msg[0].asString.replace("/","").asSymbol);
if(forward.isLocal && (forward.port == NetAddr.langPort), {
- postln(msg[0]++" (amplitude: "++amplitude++"; pitch: "++pitch++"; has pitch: "++hasPitch);
+ postln(msg[0]++": amplitude: "++amplitude++"; pitch: "++pitch++"; hasPitch: "++hasPitch++"; onSet: "++onsetDetect);
},{
forward.sendMsg(name, amplitude, pitch, hasPitch, onsetDetect);
});