diff options
Diffstat (limited to 'classes')
-rw-r--r-- | classes/BowelyzerAnalyzer.sc | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/classes/BowelyzerAnalyzer.sc b/classes/BowelyzerAnalyzer.sc index 39728bd..f0e984b 100644 --- a/classes/BowelyzerAnalyzer.sc +++ b/classes/BowelyzerAnalyzer.sc @@ -13,11 +13,7 @@ BowelyzerAnalyzer{ arg config; synths = Dictionary.new(config.at(\inputs).size); this.setupGroups; - this.addSynthsFromConfig(config); - Routine{ - 1.wait; - this.startSynthsFromConfig(config); - }.play; + this.setupSynthsFromConfig(config); } // setup a synth group for the analyzers @@ -28,6 +24,14 @@ BowelyzerAnalyzer{ NodeWatcher.register(monitoringGroup); } + setupSynthsFromConfig{ + arg config; + Routine{ + this.addSynthsFromConfig(config); + 1.wait; + this.startSynthsFromConfig(config); + }.play; + } // add synths for the defined channels addSynthsFromConfig{ arg config; |