changeset 2593:9bb878bf41d8

Fix for #23. Calibration range is from -12dB to 0dB of the output range.
author Nicholas Jillings <nicholas.jillings@mail.bcu.ac.uk>
date Thu, 10 Nov 2016 14:41:18 +0000
parents 89f787e2e90c
children 9d20649c3580
files js/core.js
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/js/core.js	Wed Nov 09 13:49:45 2016 +0000
+++ b/js/core.js	Thu Nov 10 14:41:18 2016 +0000
@@ -3038,8 +3038,8 @@
                 obj.input.value = obj.gain.gain.value;
                 obj.input.setAttribute('orient', 'vertical');
                 obj.input.type = "range";
-                obj.input.min = -6;
-                obj.input.max = 6;
+                obj.input.min = -12;
+                obj.input.max = 0;
                 obj.input.step = 0.25;
                 if (f0 != 1000) {
                     obj.input.value = (Math.random() * 12) - 6;