From 9b6f50d1f32064f1f5ee74b2281e3313e81de7a4 Mon Sep 17 00:00:00 2001 From: David Runge Date: Wed, 29 Jun 2016 21:42:26 +0200 Subject: Bowelyzer.sc: Removing useless conditional as range and type are clear anyways. --- Bowelyzer.sc | 10 ++++------ 1 file 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); } ); }); -- cgit v1.2.3-70-g09d2