aboutsummaryrefslogtreecommitdiffstats
path: root/classes/BowelyzerOSCHub.sc
diff options
context:
space:
mode:
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);
});