我可以将peakPowerForChannel转换为dB吗? [英] Can I convert peakPowerForChannel to dB?

查看:92
本文介绍了我可以将peakPowerForChannel转换为dB吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我发现某些应用程序可以显示音频电平的分贝(dB)值.我已经尝试了一段时间,但无法找到功率与dB之间的关系.有人可以告诉我该怎么做吗?

I found that some apps can display a decibel (dB) value for audio level. I have been trying for some time but have not been able to find the relationship between power and dB. Can anybody tell me how to do it ?

推荐答案

您可以使用以下公式:

dB = 10 * log10(power);

但是请注意,dB是一个比率,而不是绝对测量值,因此,除非您校准系统,否则您的dB值将是任意的.最简单的解决方案是应用经验得出的dB偏移量,使您获得0 dB =满量程.

Note however that dB is a ratio, not an absolute measurement, so your dB values will be somewhat arbitrary unless you calibrate your system. The easiest solution is just to apply an empirically derived dB offset which gives you 0 dB = full scale.

这篇关于我可以将peakPowerForChannel转换为dB吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆