From b5a38478f95ac80e013b6ed875a699b7d747dbbd Mon Sep 17 00:00:00 2001 From: David Runge Date: Sun, 7 Aug 2016 19:16:56 +0200 Subject: classes/Bowelyzer.sc: Hotfixing issue with matchLangIP in primitive:boost (https://github.com/supercollider/supercollider/issues/1950). --- classes/Bowelyzer.sc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'classes') 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); -- cgit v1.2.3-70-g09d2