Transpiled version (47L) is out of date.
1 | // Hopefully correct? |
2 | // Going off this: http://www.sengpielaudio.com/calculator-FactorRatioLevelDecibel.htm |
3 | // Application e.g. db display in Audacity's amplify effect |
4 | static double dbToPowerFactor(double db) { |
5 | ret pow(10, db/20); |
6 | } |
Began life as a copy of #1032413
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj, pyentgdyhuwx
No comments. add comment
Snippet ID: | #1032414 |
Snippet name: | dbToPowerFactor - decibels to factor (alternative version) |
Eternal ID of this version: | #1032414/2 |
Text MD5: | aaa1e41fce30abb1088da538dcec5b6b |
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:55 |
Source code size: | 240 bytes / 6 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 143 / 215 |
Version history: | 1 change(s) |
Referenced in: | [show references] |