Home / Companies / Deepgram / Blog / Post Details
Content Deep Dive

Converting Speech to Text in Flutter Applications

Blog post from Deepgram

Post Details
Company
Date Published
Author
Greg Holmes
Word Count
1,575
Language
English
Hacker News Points
-
Summary

In this tutorial, learn how to transcribe messages in real-time using Flutter applications and Deepgram's Speech Recognition API. The audio is converted into data and live-streamed over WebSocket to Deepgram's servers, which then transcribe the audio and return it in JSON format back through the WebSocket. To set up this application, you will need a Deepgram API Key and follow instructions for installing Flutter onto your machine. The tutorial guides you through adding device-specific permissions, creating a user interface with three components (text area, start button, stop button), handling text state, installing dependencies, and handling audio input. Finally, test the application by running flutter run on your mobile device.