diff options
author | David Runge <dave@sleepmap.de> | 2016-06-19 19:33:36 +0200 |
---|---|---|
committer | David Runge <dave@sleepmap.de> | 2016-06-19 19:33:36 +0200 |
commit | 830f1d296e402a89c6146e4183e1a2490ca64406 (patch) | |
tree | 56ecef28182f57e5f3971fc06e2f9ab6a46efeb0 /Bowelyzer.sc | |
parent | 5b3f3167eaf5f4165ba471afc7b3894e1d81ce79 (diff) | |
download | bowelyzer-830f1d296e402a89c6146e4183e1a2490ca64406.tar.gz bowelyzer-830f1d296e402a89c6146e4183e1a2490ca64406.tar.bz2 bowelyzer-830f1d296e402a89c6146e4183e1a2490ca64406.tar.xz bowelyzer-830f1d296e402a89c6146e4183e1a2490ca64406.zip |
Bowelyzer.sc, BowelyzerAnalyzer.sc, BowelyzerConfig.sc, BowelyzerOSCHub.sc: Moving from String based identifiers to Symbols. Further refining the configuration parsing and validation process. darmstadt.json: Moving names into inputs Dictionary, holding channel number (offsets are not required/feasible) and name.
Diffstat (limited to 'Bowelyzer.sc')
-rw-r--r-- | Bowelyzer.sc | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/Bowelyzer.sc b/Bowelyzer.sc index 5708368..3d01b1a 100644 --- a/Bowelyzer.sc +++ b/Bowelyzer.sc @@ -1,6 +1,6 @@ Bowelyzer{ - var gui, <server, <analyzer, <config, <hub; + var <gui, <server, <analyzer, <config, <hub; *new{ arg configFile; @@ -11,20 +11,21 @@ Bowelyzer{ //initialize with configuration, if available (else use default) arg configFile; config = BowelyzerConfig.new(configFile); - server = Server.new(\bowelyzer, BowelyzerOSCHub.getNetAddr(config.config.at("synthServerAddress"), config.config.at("synthServerPort"))); + server = Server.new( + \bowelyzer, + BowelyzerOSCHub.getNetAddr( + config.config.at(\synthServerAddress), + config.config.at(\synthServerPort) + ) + ); Server.default = server; server.waitForBoot({ hub = BowelyzerOSCHub.new(config.config); analyzer = BowelyzerAnalyzer.new(config.config); + //gui = BowelyzerGUI.new(config.config); }, 5, {"scsynth failed to start!".postln}); - //meter = ServerMeter.new(server, this.config.config.at(\channels)); - //server.meter(this.config.config.at(\channels)); - //server.makeGUI; - //server.scope; } - - } |