LPC_for_TTS 基于Levinson-Durbin算法的Python中的梅尔谱图的线性预测系数估计。 基于Levinson-Durbin归纳法来做线性预测系数的估计。 from audio import * import numpy as np from hparams import Hparams as hparams input_wav_file = 'test.wav' sample_rate = 24000 lpc_order = 8 orig_audio , pred_audio , residual , lpcs = lpc_audio ( input_wav_file , lpc_order , hparams ) save_wav ( pred_audio , 'wavs/pred.wav' , hparams ) save_wav ( orig_audio ,
2022-01-04 15:11:21 667KB tts lpc vocoder mel-spectrogram
1