diff options
author | David Runge <dave@sleepmap.de> | 2016-06-29 21:43:43 +0200 |
---|---|---|
committer | David Runge <dave@sleepmap.de> | 2016-06-29 21:43:43 +0200 |
commit | 36e2e68a600025de77f96161be2dd73aedc29f28 (patch) | |
tree | 5b02091cc8a740c20f4eb387e462029880e41c72 /BowelyzerOSCHub.sc | |
parent | 1ada7ece283d482af0dbc9149c2372fd6f9a6f96 (diff) | |
download | bowelyzer-36e2e68a600025de77f96161be2dd73aedc29f28.tar.gz bowelyzer-36e2e68a600025de77f96161be2dd73aedc29f28.tar.bz2 bowelyzer-36e2e68a600025de77f96161be2dd73aedc29f28.tar.xz bowelyzer-36e2e68a600025de77f96161be2dd73aedc29f28.zip |
BowelyzerOSCHub.sc: Adding some named parameters for clarity in OSCdef for the Synth(s).
Diffstat (limited to 'BowelyzerOSCHub.sc')
-rw-r--r-- | BowelyzerOSCHub.sc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/BowelyzerOSCHub.sc b/BowelyzerOSCHub.sc index ba3a9c9..263c346 100644 --- a/BowelyzerOSCHub.sc +++ b/BowelyzerOSCHub.sc @@ -39,13 +39,13 @@ BowelyzerOSCHub{ addSynthListener{ arg name; OSCdef.newMatching( - name, - {|msg, time, addr, recvPort| + key: name.asSymbol, + func: {|msg, time, addr, recvPort| this.forwardToNetAddress(msg, time); }, - name, - synthServer, - hub.port + path: "/"++name.asString, + srcID: synthServer, + recvPort: hub.port ); } |