音频重采样 python+librosa
原始音频采样率为48kHz,利用librosa库中的resample函数将这段音频下采样到16KHz。import librosafilename = 'ClapSound.wav'newFilename = 'ClapSound_8k.wav'y, sr = librosa.load(filename, sr=48000)y_16k = librosa.resample(y,s...