Company
Date Published
Nov. 22, 2021
Author
Kevin Lewis
Word count
926
Language
English
Hacker News points
None

Summary

This tutorial demonstrates how to create live speech transcriptions within a browser using the Deepgram API. The project is entirely browser-based and requires an API key, which should be kept secure as it provides access to Deepgram's APIs. The code sets up a WebSocket connection with Deepgram, sends audio data in 250ms increments, and handles the responses from Deepgram by displaying the transcriptions on the web page. The final code is provided for reference.