Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

5
LINES

< > BotCompany Repo | #1032413 // dbToAmplitudeFactor - decibels to factor

JavaX fragment (include)

1  
// Hopefully correct?
2  
// Going off this: http://www.sengpielaudio.com/calculator-FactorRatioLevelDecibel.htm
3  
static double dbToAmplitudeFactor(double db) {
4  
  ret pow(10, db/10);
5  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 4 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj, pyentgdyhuwx

No comments. add comment

Snippet ID: #1032413
Snippet name: dbToAmplitudeFactor - decibels to factor
Eternal ID of this version: #1032413/3
Text MD5: e3576dd5053387c8d7da36af6fe35553
Author: stefan
Category: javax / maths
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-09-03 02:25:59
Source code size: 183 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 143 / 173
Version history: 2 change(s)
Referenced in: [show references]