aboutsummaryrefslogtreecommitdiffstats
path: root/classes
diff options
context:
space:
mode:
authorDavid Runge <dave@sleepmap.de>2016-08-07 19:16:56 +0200
committerDavid Runge <dave@sleepmap.de>2016-08-07 19:16:56 +0200
commitb5a38478f95ac80e013b6ed875a699b7d747dbbd (patch)
tree29229b8075ae76634fb9ad6a0e51df636fc0178e /classes
parente8ea53ad98b6409e4d810b2e4bd5441cfa11c049 (diff)
downloadbowelyzer-1.0.2.tar.gz
bowelyzer-1.0.2.tar.bz2
bowelyzer-1.0.2.tar.xz
bowelyzer-1.0.2.zip
classes/Bowelyzer.sc: Hotfixing issue with matchLangIP in primitive:boost (https://github.com/supercollider/supercollider/issues/1950).1.0.2
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);