pip install librosa 复制代码 示例:加载音频文件,提取特征,保存音频文件。 import librosa # 加载音频文件 y, sr = librosa.load('path_to_audio_file.wav') # 提取梅尔频率倒谱系数 (MFCC) mfccs = librosa.feature.mfcc(y=y, sr=sr) # 保存提取的特征到新的音频文件 librosa.output.write_wav('mfccs.w...
Well.. ok it kind of helps, however it also depends on librosa==0.10.1, which subsequently depends on more packages, that are older... which eventually brakes with same message... So basically this is a disaster, as usually you are not in control of those dependencies, you just simply ...