From 87dfc3fa5e57589d09b6fb1adec403320b6a8b17 Mon Sep 17 00:00:00 2001 From: Juan Coria Date: Fri, 28 Jun 2024 23:53:05 +0200 Subject: [PATCH] Update README.md --- README.md | 3 +++ 1 file changed, 3 insertions(+) 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),