Skip to content

Instantly share code, notes, and snippets.

@gmyrianthous
Last active February 18, 2022 16:53
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gmyrianthous/21e5bfb01af07c98b80e9ffd34002030 to your computer and use it in GitHub Desktop.
Save gmyrianthous/21e5bfb01af07c98b80e9ffd34002030 to your computer and use it in GitHub Desktop.
Real-time Speech-To-Text Tutorial - Part 1
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