Train TJBot to Listen in Node-RED

JeanCarl Bisson
2 min readAug 5, 2017

--

Today we’ll train TJBot to listen using the microphone and use the Watson Speech to Text service to transcribe the audio into text.

Before we begin, let’s talk a little bit more about the hardware that makes this happen. Attach a USB microphone using one of the four USB ports on the Raspberry Pi.

TJBot can listen to a handful of languages with the help of the language models available from IBM Watson’s Speech to Text service.

Create a Watson Speech to Text service and copy the credentials into the Speech to Text credentials.

The listen node produces messages each time TJBot hears an utterance and transcribes the audio in near real-time.

Here’s a video of how to train TJBot to listen with the listen node.

That’s it for today’s skill. What can you train TJBot to do now that it can listen to speech?

Come back tomorrow and we’ll talk about using the speaker to speak to the user.

This post is part of a series of skills you can train TJBot to perform.

--

--

JeanCarl Bisson

I’m an IBM Technical Innovation Lead. I love to build prototypes and then share how I designed and built what I made so others can try it too.