From 30bbafe524b3b5f3a09d19b08207e05f1662a8f9 Mon Sep 17 00:00:00 2001 From: Michael Winter Date: Sun, 22 Sep 2019 18:23:09 +0200 Subject: [PATCH] adjusting max brightness --- supercollider/remembering_clive_wearing_visuals.scd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/supercollider/remembering_clive_wearing_visuals.scd b/supercollider/remembering_clive_wearing_visuals.scd index fc3f31e..0ad9906 100644 --- a/supercollider/remembering_clive_wearing_visuals.scd +++ b/supercollider/remembering_clive_wearing_visuals.scd @@ -61,7 +61,7 @@ refresh_func = { while { true } { if(~arduino == 1, { // set min and max Brightness between 0 and 1 depending on wattage of light // it is best to keep the min slightly higher than 0 to keep the light from turning completely off - {|i| var minBrightness = 0.15, maxBrightness = 0.85; + {|i| var minBrightness = 0.15, maxBrightness = 0.65; arduino_port.put(i); arduino_port.put(253); arduino_port.put(((((brightness[i] * (maxBrightness - minBrightness)) + minBrightness) - 1).abs * 256).asInteger);