aboutsummaryrefslogtreecommitdiffstats
path: root/classes
diff options
context:
space:
mode:
Diffstat (limited to 'classes')
-rw-r--r--classes/Bowelyzer.sc4
1 files changed, 2 insertions, 2 deletions
diff --git a/classes/Bowelyzer.sc b/classes/Bowelyzer.sc
index 28166ca..2ff1a5c 100644
--- a/classes/Bowelyzer.sc
+++ b/classes/Bowelyzer.sc
@@ -490,7 +490,7 @@ Bowelyzer{
if(onlyForwardOnNewPitch, {
if(hasPitch > 0, {
localAddr.sendMsg("/indicate", sanitizedName);
- if(forwardAddr.isLocal && (forwardAddr.port == NetAddr.langPort), {
+ if((forwardAddr.ip == "127.0.0.1") && (forwardAddr.port == NetAddr.langPort), {
postln(name++": amplitude: "++amplitude++"; pitch: "++pitch++"; hasPitch: "++hasPitch++"; onSet: "++onsetDetect);
},{
forwardAddr.sendMsg(name, amplitude, pitch, hasPitch, onsetDetect);
@@ -498,7 +498,7 @@ Bowelyzer{
});
},{
localAddr.sendMsg("/indicate", sanitizedName);
- if(forwardAddr.isLocal && (forwardAddr.port == NetAddr.langPort), {
+ if((forwardAddr.ip == "127.0.0.1") && (forwardAddr.port == NetAddr.langPort), {
postln(name++": amplitude: "++amplitude++"; pitch: "++pitch++"; hasPitch: "++hasPitch++"; onSet: "++onsetDetect);
},{
forwardAddr.sendMsg(name, amplitude, pitch, hasPitch, onsetDetect);