aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Runge <dave@sleepmap.de>2016-06-29 21:43:43 +0200
committerDavid Runge <dave@sleepmap.de>2016-06-29 21:43:43 +0200
commit36e2e68a600025de77f96161be2dd73aedc29f28 (patch)
tree5b02091cc8a740c20f4eb387e462029880e41c72
parent1ada7ece283d482af0dbc9149c2372fd6f9a6f96 (diff)
downloadbowelyzer-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).
-rw-r--r--BowelyzerOSCHub.sc10
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
);
}