Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- float dBToVolume(float dB){
- return powf(10.0f, 0.05f * dB);
- }
- float VolumeTodB(float volume){
- return 20.0f * log10f(volume);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement