aboutsummaryrefslogtreecommitdiffstats
path: root/Bowelyzer.sc
diff options
context:
space:
mode:
Diffstat (limited to 'Bowelyzer.sc')
-rw-r--r--Bowelyzer.sc10
1 files changed, 4 insertions, 6 deletions
diff --git a/Bowelyzer.sc b/Bowelyzer.sc
index d9a1426..84ba4da 100644
--- a/Bowelyzer.sc
+++ b/Bowelyzer.sc
@@ -98,12 +98,10 @@ Bowelyzer{
});
},
\input,{
- // if the input name exists and the new is an Integer and greater/equal 0
- if(((update.isInteger) && (update.asInteger >= 0)),{
- // change the input in configuration
- config.config.at(\inputs).put(name, update.asInteger);
- analyzer.setSynthControl(name.asSymbol, \inputChannel, update.asInteger);
- });
+ // change the input in configuration
+ config.config.at(\inputs).put(name, update.asInteger);
+ // change the input in the Synth
+ analyzer.setSynthControl(name.asSymbol, \inputChannel, update.asInteger);
}
);
});