y_ps = librosa.effects.pitch_shift(y, sr, n_steps=6)# n_steps控制音调变化尺度y_ts = librosa.effects.time_stretch(y, rate=1.2)# rate控制时间维度的变换尺度plt.subplot(311) plt.plot(y) plt.title('Original waveform') plt.axis([0,200000,-0.4,0.4])# plt.axis([88000, 94000, -0.4,...