如何确定 WAV 文件的声音有多大? [英] How can I determine how loud a WAV file will sound?

查看:58
本文介绍了如何确定 WAV 文件的声音有多大?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一堆 WAV 格式的不同录音(所有不同的乐器和音高),我想对它们进行标准化",以便它们在播放时的音量大致相同.

I have a bunch of different audio recordings in WAV format (all different instruments and pitches), and I want to "normalize" them so that they all sound approximately the same volume when played.

我尝试测量平均样本量级(所有绝对值的总和除以样本数),但通过这种测量进行归一化效果不佳.我认为这种方法行不通,因为它没有考虑声音的频率,而且我知道高频录音听起来比相同振幅的低频声音响亮.

I've tried measuring the average sample magnitude (the sum of all absolute values divided by the number of samples), but normalizing by this measurement doesn't work very well. I think this method isn't working because it doesn't take into account the frequency of the sounds, and I know that higher-frequency recordings sound louder than lower-frequency sounds of the same amplitude.

有谁知道测量声音响度的好方法吗?

Does anyone know a good method for measuring the loudness of a sound?

推荐答案

均方根 通常用于估计声音文件的响度.这是因为如果声音非常短,则可能不会以这种方式感知非常响亮的声音.还要记住,功率随振幅的平方呈指数增长.

Root Mean Square is often used to estimate the loudness of sound files. This is because a sound that is very loud might not be perceived that way if it is very short. Also remember that power increases exponentially with the square of amplitude.

Hydrogen Audio 的音频极客对这些东西了如指掌……查看他们的免费 Replay Gain 软件.您可能根本不需要进行任何编程.

The audio geeks at Hydrogen Audio know a ton about this stuff...check out their free Replay Gain software. You may not need to do any programming at all.

包括关于功率与振幅的评论反馈.

Included comment feedback on power vs. amplitude.

这篇关于如何确定 WAV 文件的声音有多大?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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