From a24b66fe6f463bb7d396cde36b5560e001bb66f8 Mon Sep 17 00:00:00 2001 From: Joseph Adams Date: Thu, 2 Dec 2021 08:17:25 -0500 Subject: [PATCH] more dB steps --- index.js | 42 ++++++++++++++++++++++++++++++++++++------ 1 file changed, 36 insertions(+), 6 deletions(-) diff --git a/index.js b/index.js index 3975488..2fd9a6a 100644 --- a/index.js +++ b/index.js @@ -329,19 +329,45 @@ instance.prototype.destroy = function() { instance.prototype.fader_val = [ { label: '- ∞', id: '0.0' }, - { label: '-60 dB', id: '0.001' }, - { label: '-55 dB', id: '0.00178' }, - { label: '-50 dB', id: '0.00315' }, - { label: '-45 dB', id: '0.00562' }, - { label: '-40 dB', id: '0.01' }, - { label: '-35 dB', id: '0.0178' }, + { label: '-60 dB', id: '0.001' }, + { label: '-55 dB', id: '0.00178' }, + { label: '-50 dB', id: '0.00315' }, + { label: '-45 dB', id: '0.00562' }, + { label: '-42 dB', id: '0.00794' }, + { label: '-40 dB', id: '0.01' }, + { label: '-39 dB', id: '0.01122' }, + { label: '-38 dB', id: '0.01259' }, + { label: '-37 dB', id: '0.01412' }, + { label: '-36 dB', id: '0.01584' }, + { label: '-35 dB', id: '0.0178' }, + { label: '-34 dB', id: '0.01996' }, + { label: '-33 dB', id: '0.02239' }, + { label: '-32 dB', id: '0.02512' }, + { label: '-31 dB', id: '0.02818' }, { label: '-30 dB', id: '0.0315' }, + { label: '-29 dB', id: '0.03548' }, + { label: '-28 dB', id: '0.03981' }, + { label: '-27 dB', id: '0.04467' }, + { label: '-26 dB', id: '0.05012' }, { label: '-25 dB', id: '0.0562' }, + { label: '-24 dB', id: '0.06309' }, + { label: '-23 dB', id: '0.07079' }, + { label: '-22 dB', id: '0.07943' }, + { label: '-21 dB', id: '0.08913' }, { label: '-20 dB', id: '0.1' }, + { label: '-19 dB', id: '0.11220' }, { label: '-18 dB', id: '0.126' }, + { label: '-17 dB', id: '0.14125' }, + { label: '-16 dB', id: '0.15849' }, { label: '-15 dB', id: '0.178' }, + { label: '-14 dB', id: '0.19953' }, + { label: '-13 dB', id: '0.22387' }, { label: '-12 dB', id: '0.25' }, + { label: '-11 dB', id: '0.28184' }, + { label: '-10 dB', id: '0.31623' }, { label: '-9 dB', id: '0.355' }, + { label: '-8 dB', id: '0.39811' }, + { label: '-7 dB', id: '0.44668' }, { label: '-6 dB', id: '0.5' }, { label: '-3 dB', id: '0.71' }, { label: '-2 dB', id: '0.779' }, @@ -353,7 +379,11 @@ instance.prototype.fader_val = [ { label: '+4 dB', id: '1.59' }, { label: '+5 dB', id: '1.77' }, { label: '+6 dB', id: '2' }, + { label: '+7 dB', id: '2.2387' }, + { label: '+8 dB', id: '2.5118' }, { label: '+9 dB', id: '2.83' }, + { label: '+10 dB', id: '3.1623' }, + { label: '+11 dB', id: '3.5481' }, { label: '+12 dB', id: '4.0' } ];