如何获得扬声器发出的声音分贝? [英] How do I get decibel of sound that is coming out from speakers?

查看:153
本文介绍了如何获得扬声器发出的声音分贝?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何从扬声器发出声音的分贝?

我想用睡觉时使用信使听音乐。

一些用户播放嘈杂的音乐和其他一些低音乐。

我应该改变音量。

现在我想创建一个程序来将音量改为特定的分贝。 br />
我不知道任何可以为我做这个的应用程序所以我想用C#写一个。

提前谢谢你。



我尝试了什么:



我需要一个线索开始。我做谷歌搜索但不知道如何开始。

How do I get decibel of sound that is coming out from speakers?
I use messenger to listen to music.often when i want to sleep.
some users play loud music and some other play low music.
I should change the volume to be appropriate.
now I want create a program to change the volume to specific decibel.
I do not know any application that can do this for me so I want to write one by C#.
thank you in advance.

What I have tried:

I need a clue to start.I did google search but do not know how to start.

推荐答案

从计算机上运行的代码中,你没有。没有办法进行测量。



获得接近精确度的唯一方法是使用专门用于测量的外部校准仪表。



声卡和麦克风无法进行测量。
From code running on the computer, you don't. There's no way to make that measurement.

The only way to get anything near accurate is to use an external calibrated meter specifically for the measurement.

There is no way for a sound card and a microphone to make that measurement either.


这篇关于如何获得扬声器发出的声音分贝?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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