// Hopefully correct? // Going off this: http://www.sengpielaudio.com/calculator-FactorRatioLevelDecibel.htm static double dbToAmplitudeFactor(double db) { ret pow(10, db/10); }
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: | 141 / 170 |
Version history: | 2 change(s) |
Referenced in: | [show references] |