Last active
February 18, 2022 16:53
-
-
Save gmyrianthous/21e5bfb01af07c98b80e9ffd34002030 to your computer and use it in GitHub Desktop.
Real-time Speech-To-Text Tutorial - Part 1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pyaudio | |
p = pyaudio.PyAudio() | |
stream = p.open( | |
frames_per_buffer=3200, | |
rate=16000, | |
format=pyaudio.paInt16, | |
channels=1, | |
input=True, | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment