Browse Source

WAV example updated with some delay during wav sending

JJorgeDSIC 3 years ago
parent
commit
d8174b2bff
1 changed files with 2 additions and 0 deletions
  1. 2 0
      python_examples/client.short.wav.py

+ 2 - 0
python_examples/client.short.wav.py

@@ -23,6 +23,8 @@ def main(wav):
             while data != b"":
                 yield data
                 data = fd.read(250)
+                #Some delay to simulate mic input...
+                time.sleep(0.0078125)
 
     es_system = {}