【文件属性】:
文件名称:spectral:python中的语音功能
文件大小:10KB
文件格式:ZIP
更新时间:2021-06-01 06:31:49
python speech-processing speech-analysis Python
光谱
用于从语音中提取 Mel 和 MFCC 特征的 Python 包。
免费软件:GPL3 许可
特征
Mel 和 MFCC 特征提取
用法
要从单声道文件中提取带有增量的标准 MFCC 特征:
>>> # read in the wave file
>>> import wave
>>> import struct
>>> with wave.open("mywavfile.wav", 'r') as fid:
_, _, fs, nframes, _, _ = fid.getparams()
sig = np.array(struct.unpack_from("%dh" % nframes,
fid.readframes(nframes)))
>>> config
【文件预览】:
spectral-master
----setup.py(1KB)
----.gitignore(372B)
----requirements.txt(12B)
----spectral()
--------__init__.py(175B)
--------_spectral.py(15KB)
----examples()
--------wav2mfcc.py(4KB)
--------config.json(284B)
----README.rst(1KB)
----AUTHORS.rst(134B)
----CONTRIBUTING.rst(3KB)