aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Runge <dave@sleepmap.de>2016-06-29 21:00:06 +0200
committerDavid Runge <dave@sleepmap.de>2016-06-29 21:00:06 +0200
commit427d4b6384681a56add5e5ad01e319464db26ef9 (patch)
treed1dda0b0a91fa6c5f9ccf9702e5525737ab8e2f2
parenta65a1bebf5e2c06cdee5f1f08be5c19c10764d04 (diff)
downloadbowelyzer-427d4b6384681a56add5e5ad01e319464db26ef9.tar.gz
bowelyzer-427d4b6384681a56add5e5ad01e319464db26ef9.tar.bz2
bowelyzer-427d4b6384681a56add5e5ad01e319464db26ef9.tar.xz
bowelyzer-427d4b6384681a56add5e5ad01e319464db26ef9.zip
Bowelyzer.sc: Actually remove the Synth from the dictionary, when it has been renamed.
-rw-r--r--Bowelyzer.sc1
1 files changed, 1 insertions, 0 deletions
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{