如何从IOS体积计算DBR [英] How to calculate dBr from the volume on IOS

查看:128
本文介绍了如何从IOS体积计算DBR的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我工作的一个测试你的听力申请。

I am working on a "test your hearing application".

我知道,一半的幅度是-6dB。

I know that half the amplitude is -6db.

我想知道,当1.0是使用最高音量AVAudioPlayer类,将设定的体积至0.5意味着它起着在50%,这意味着在相对分贝下降到-6dB,如果我们使用一个理想耳机?

I would like to know that when 1.0 is maximum volume using the AVAudioPlayer class, will setting the volume to 0.5 means that it plays at 50%, meaning a drop in relative db to -6db, if we used an ideal earphone?

推荐答案

这是一个非常好的问题。

That is an excellent question.

我也不会如果AVAudioPlayer的范围内更加紧密匹配标准练级规模的流行音乐的惊讶。

I wouldn't be surprised if the range in AVAudioPlayer more closely matches that of the "standard leveling scale" for popular music.

注意这里说0分贝是pretty远了线性范围。这是基于VU表的历史作为等级规范(第2部分)并在这张照片看到:

Notice here that 0dB is pretty far up linearly in the range. This is based on the history of the VU meter as described in Level Practices (Part 2) and seen in this picture:

所以,我不知道是肯定的,但我的猜测是,AVAudioPlayer这些范围更紧密地匹配。你总是可以插我们的iOS设备的耳机插孔到像无畏,的逻辑,或的的Pro Tools 与实际测量的信号出自你的应用程序,因为你扫通过AVAudioPlayer的音量范围。

So, I don't know for sure, but my guess would be that AVAudioPlayer more closely matches these ranges. You could always plug headphone jack of our iOS device into an application like Audacity, Logic, or Pro Tools and actually measure the signal coming out of your app as you sweep through the volume range in AVAudioPlayer.

这篇关于如何从IOS体积计算DBR的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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