November 12, 2021
Build & Learn

Real-time Speech Recognition with AssemblyAI

Thanks to AssemblyAI’s real-time Speech-to-Text, it is very simple to set up a python script to perform real-time Speech Recognition.

By 
Mısra Turp
Developer Educator
Mısra Turp
Developer Educator
Mısra Turp
Developer Educator

Transcribing in real-time is a super skill only court reporters can brag about. But luckily, we don’t need to learn how to type fast to get transcriptions of audio quickly. Thanks to AssemblyAI’s real-time Speech Recognition end point, it is very simple to set up a python script that can listen for audio and turn it to text.

In this video, we will see how to create this script on Python with the help of pyaudio, web sockets and asynchronous functions. The app will have the power to listen to audio input through a microphone and display the transcription in real-time. We will integrate this code into a simple Streamlit application to showcase the real-time Speech Recognition with a touch of interactivity.

Watch Now:

Title goes here

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.

Button Text
Tutorial
Streaming Speech-to-Text