diff --git a/README.md b/README.md index 3a3f3f11..f55f670a 100644 --- a/README.md +++ b/README.md @@ -294,6 +294,9 @@ source = MicrophoneAudioSource() # To take input from file: # source = FileAudioSource("", sample_rate=16000) +# Make sure the model has been trained with the same sample rate +print(source.sample_rate) + stream = mic.stream.pipe( # Reformat stream to 5s duration and 500ms shift dops.rearrange_audio_stream(sample_rate=source.sample_rate),