itu-r bs.1770-4响度算法在python中的实现
pyloudnorm的Python项目详细描述
#帕卢德诺姆[![构建状态](https://travis-ci.org/csteinmetz1/pyloudnorm.svg?Python中的灵活音频响度计(特拉维斯)。
[ITU-R BS.1770-4]的实现(https://www.itu.int/dms_pubrec/itu-r/rec/bs/r-rec-bs.1770-4-201510-i!!pdf-e.pdf)。<;br/>;
允许控制选通块大小和频率加权滤波器以进行附加控制。
``````
git-clone-git-clone-https://github.com/csteimetz1/pyloudnorm.git
<
br/>查找音频文件的音量
很容易测量wav文件的响度。
这里我们使用pysoundfile读取.wav文件作为ndarray。
`` python
将soundfile导入为sf
将pyloudnorm导入为pyln
rate=sf.read(“test.wav”)load audio
meter=pyln.meter(rate)create bs.1770 meter
loudness=meter.integrated_loudness(data)measure loudness
````
loudness normalize和peak normalize audio files
包含了将音频文件规格化为所需峰值或所需响度的方法。
以ndarray的形式读取wav文件。
``python
import soundfile as sf
import pyloudnorm as pyln
-1.0)
-12.0)
```
\r依赖性
-**scipy**([https://www.scipy.org/](https://www.scipy.org/))
-**numpy**([http://www.numpy.org/](http://www.numpy.org/))
-**matplotlib**([https://matplotlib.org/](https://matplotlib.org/)))
-**pysoundfile**([https://github.com/bastibe/soundfile](https://github.com/bastibe/soundfile))
\todo
-添加真峰值测量值
-开发单元测试-包含音频文件-检查响度测量值的潜在变化
-添加其他过滤器(请参阅[本文](http://www.aes.org/e-lib/browse.cfm)?elib=19215&rndx=851198))
-包括来自ebu r128规范的测试
-设置文档
[ITU-R BS.1770-4]的实现(https://www.itu.int/dms_pubrec/itu-r/rec/bs/r-rec-bs.1770-4-201510-i!!pdf-e.pdf)。<;br/>;
允许控制选通块大小和频率加权滤波器以进行附加控制。
``````
git-clone-git-clone-https://github.com/csteimetz1/pyloudnorm.git
<
br/>查找音频文件的音量
很容易测量wav文件的响度。
这里我们使用pysoundfile读取.wav文件作为ndarray。
`` python
将soundfile导入为sf
将pyloudnorm导入为pyln
rate=sf.read(“test.wav”)load audio
meter=pyln.meter(rate)create bs.1770 meter
loudness=meter.integrated_loudness(data)measure loudness
````
loudness normalize和peak normalize audio files
包含了将音频文件规格化为所需峰值或所需响度的方法。
以ndarray的形式读取wav文件。
``python
import soundfile as sf
import pyloudnorm as pyln
-1.0)
-12.0)
```
\r依赖性
-**scipy**([https://www.scipy.org/](https://www.scipy.org/))
-**numpy**([http://www.numpy.org/](http://www.numpy.org/))
-**matplotlib**([https://matplotlib.org/](https://matplotlib.org/)))
-**pysoundfile**([https://github.com/bastibe/soundfile](https://github.com/bastibe/soundfile))
\todo
-添加真峰值测量值
-开发单元测试-包含音频文件-检查响度测量值的潜在变化
-添加其他过滤器(请参阅[本文](http://www.aes.org/e-lib/browse.cfm)?elib=19215&rndx=851198))
-包括来自ebu r128规范的测试
-设置文档