From 427d4b6384681a56add5e5ad01e319464db26ef9 Mon Sep 17 00:00:00 2001 From: David Runge Date: Wed, 29 Jun 2016 21:00:06 +0200 Subject: Bowelyzer.sc: Actually remove the Synth from the dictionary, when it has been renamed. --- Bowelyzer.sc | 1 + 1 file changed, 1 insertion(+) diff --git a/Bowelyzer.sc b/Bowelyzer.sc index e2d868a..d9a1426 100644 --- a/Bowelyzer.sc +++ b/Bowelyzer.sc @@ -85,6 +85,7 @@ Bowelyzer{ this.setupLevelListener(update, NetAddr.new(config.config.at(\synthServerAddress), config.config.at(\synthServerPort))); // free the synth on the server and start a new one according to the config analyzer.freeAnalysisSynth(name.asSymbol); + analyzer.synths.removeAt(name); analyzer.addSynthWithName(update); //TODO: only start the Synth, if the channel toggle button is okay Routine{ -- cgit v1.2.3-70-g09d2