Update README.md
Browse files
README.md
CHANGED
@@ -25,7 +25,7 @@ std = model.config.std
|
|
25 |
|
26 |
#load an audio file
|
27 |
audio_path = "/path/to/audio.wav"
|
28 |
-
raw_wav, _ = librosa.load(audio_path, sr=
|
29 |
|
30 |
#normalize the audio by mean/std
|
31 |
norm_wav = (raw_wav - mean) / (std+0.000001)
|
|
|
25 |
|
26 |
#load an audio file
|
27 |
audio_path = "/path/to/audio.wav"
|
28 |
+
raw_wav, _ = librosa.load(audio_path, sr=model.config.sampling_rate)
|
29 |
|
30 |
#normalize the audio by mean/std
|
31 |
norm_wav = (raw_wav - mean) / (std+0.000001)
|