I want to change the following two lines of my code:
clip, sample_rate = librosa.load(file_name)
clip = librosa.resample(clip, sample_rate, 2000)
I want to load the .wav
file using wavfile.read()
instead of using librosa.load()
and then resample it using some technique other than the libroa.resample()
.
Any idea how to do it?