/plushcap/analysis/deepgram/voice-controlled-music-with-python

How to Use Voice to Control Music with Python and Deepgram

What's this blog post about?

This tutorial demonstrates how to use Python and the Deepgram API speech-to-text audio transcription to play a piano with your voice. The project requires macOS, but it is also possible with Windows or Linux machines. We'll use Python 3.10 and other tools like FluidSynth and Deepgram Python SDK speech-to-text audio transcription. The code allows users to record their voice and transcribe the spoken numbers into notes on a virtual piano, playing the first few phrases of Lady Gaga’s Bad Romance as an example.

Company
Deepgram

Date published
Aug. 18, 2022

Author(s)
Tonya Sims

Word count
2501

Language
English

Hacker News points
None found.


By Matt Makai. 2021-2024.