Skip to content

Commit

Permalink
more dB steps
Browse files Browse the repository at this point in the history
  • Loading branch information
josephdadams committed Dec 2, 2021
1 parent 524add3 commit a24b66f
Showing 1 changed file with 36 additions and 6 deletions.
42 changes: 36 additions & 6 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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' },
Expand All @@ -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' }
];

Expand Down

0 comments on commit a24b66f

Please sign in to comment.