Using your voice to control things

Starting and stopping our listening device to record what's going on might be a bit tricky when our device is hidden, so wouldn't it be great if we could use a voice command to start recording when something interesting is happening?

Well, using a tool called Voice Command installed on our Pi allows us to do this. It was created for the Raspberry Pi by a guy called Steven Hickson and it's based on the Google Voice API, and as such is pretty reliable and accurate.

Because it uses the Google Voice API, Voice Command requires Internet access to be able to process your voice. If you want to use offline voice recognition, then look at something like Jasper (http://jasperproject.github.io), although it needs plenty of ...

Get Raspberry Pi for Secret Agents - Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.