Skip to content

Transferring the speech from an audio file to an LCD connected to a Raspberry Pi

Notifications You must be signed in to change notification settings

degrootruben/SpeechToLCD

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SpeechToLCD

SpeechToLCD includes a Node.js server which makes a websocket connecting with an HTML page as the client. In the front-end page one can record some audio which, after stopping the recording, will be send back to the Node.js server. The Node.js server launches a child process, which is the Python script. This script preforms the speech recognition. The recognized speech then gets send to the LCD connected to the Raspberry Pi.

How to use it

  1. Connect an HD44780 LCD to your Raspberry Pi according to this schematic:

  1. Download the contents of this repo on your Raspberry Pi:
git clone https://github.com/degrootruben/SpeechToLCD.git && cd SpeechToLCD/
  1. Install the necessary npm dependencies:
npm install
  1. Install SpeechRecogniton for Python on your Raspberry Pi:
pip install SpeechRecognition
  1. It is possible you need to install FLAC on your Raspberry Pi:
sudo apt-get install flac
  1. Launch the Node.js server on your Raspberry Pi:
node app
  1. Navigate to https://localhost:8000 in your browser.

Links

Most information and inspiration for this project came from the following links:

About

Transferring the speech from an audio file to an LCD connected to a Raspberry Pi

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published