Skip to content
This repository has been archived by the owner on Sep 18, 2019. It is now read-only.

spech66/watson_speech_to_text

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Speech to Text

This module provides a Node.js code to convert voice to text using IBM Watson. The code is based on the tjbot example. The german tutorial is found at SPech.de

This will only run on the Raspberry Pi.

##How It Works

  • Listens for the voice commands
  • Sends audio from the microphone to the Watson Speech to Text Service - STT to convert to text
  • Parses the text to identify the given voice command
  • Output the text

##Hardware

Raspberry Pi USB Microphone

##Build

Install ALSA tools (required for recording audio on Raspberry Pi)

sudo apt-get install alsa-base alsa-utils

Install Dependencies

npm install

Add your Bluemix Speech to text service credentials

edit config.js
enter your watson stt username, password and version.

##Running

Start the application

sudo node speech_to_text.js   

Note the sudo command. Root user access is required to control the NeoPixel LEDs.

Now talk to your microphone.

##Dependencies