我正在使用AudioLazy Library来提取某些音频功能.
的LPC函数(线性预测编码)接收在时域的块,并返回白化LPC滤波器(z-过滤)
filt = lpc(intensity, order=16) # Analysis filter gain = 1e-2 # Gain just for alignment with DFT (gain / filt).plot(min_freq=0, max_freq=3.141592653589793/4);
filt是一个ZFilter:
1 - 2.47585 * z^-1 + 2.68746 * z^-2 - 1.71373 * z^-3 + 0.383238 * z^-4 + 0.451183 * z^-5 - 0.480446 * z^-6 + 0.304557 * z^-7 + 0.0277818 * z^-8 - 0.280118 * z^-9 + 0.0705354 * z^-10 + 0.0217045 * z^-11 + 0.0456379 * z^-12 - 0.012231 * z^-13 + 0.00986871 * z^-14 + 0.0553664 * z^-15 - 0.0800961 * z^-16
绘图功能,返回图像:
我想从幅度曲线中提取数值(以dB为单位).你能帮助我吗?
谢谢