diff options
-rw-r--r-- | BowelyzerOSCHub.sc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/BowelyzerOSCHub.sc b/BowelyzerOSCHub.sc index 263c346..580f236 100644 --- a/BowelyzerOSCHub.sc +++ b/BowelyzerOSCHub.sc @@ -1,5 +1,5 @@ BowelyzerOSCHub{ - var <hub, <forward, <synthServer, local; + var <hub, <forward, <synthServer, <local; *new{ arg config; @@ -16,7 +16,6 @@ BowelyzerOSCHub{ arg config; this.setupNetAddressesFromConfig(config); this.setupSynthListenersFromConfig(config); - local = NetAddr.new("127.0.0.1", NetAddr.langPort); } setupNetAddressesFromConfig{ @@ -24,6 +23,7 @@ BowelyzerOSCHub{ forward = BowelyzerOSCHub.getNetAddr(config.at(\forwardAddress), config.at(\forwardPort)); hub = BowelyzerOSCHub.getNetAddr(config.at(\hubAddress), config.at(\hubPort)); synthServer = BowelyzerOSCHub.getNetAddr(config.at(\synthServerAddress), config.at(\synthServerPort)); + local = NetAddr.new("127.0.0.1", NetAddr.langPort); } // setup OSCdef for SynthServerAddress:SynthServerPort |