- Terminus FE1.1 USB hub board: the solution to connect four USB devicesPosted 2 weeks ago
- Understanding the Mechanics of 3D PrintingPosted 2 months ago
- SDS011 the Air Quality SensorPosted 3 months ago
- NIXIE STYLE LED DISPLAYPosted 6 months ago
- TOTEM: learning by experimentingPosted 6 months ago
- Google Assistant Voice Controlled Switch – NodeMCU IOT ProjePosted 7 months ago
- Water Softener Salt Level MonitorPosted 7 months ago
- Sparkly Air SensorPosted 7 months ago
- Ultra sonic distance finder with live statusPosted 7 months ago
- Windows interface to have total control over lampsPosted 7 months ago
Make your own Siri or Cortana with Raspberry Pi 3
Are you wondering about how can you create your own version of Siri using a Raspberry Pi?
Our friend posted on AliceIa.it a great solution to understand the basics about Speech to Text and Text to Speech.
First, we need a system that translates our voice into text. In order to that we use the python library Speech Recognition. This library is very easy to use and it’s compatible with Google’s Speech Recognition, a tool that may be familiat to some of you.
Now that we have our STT we need a TTS to give our Raspberry a voice. I use gTTS, a python library that convert a string to an audio file. This library, as the previous one, is based on Google’s API. This library can be used to create an MP3 file given a string as input, that can later be broadcasted using a speaker connected to your Pi.
Now, you are able to start your own project that uses your voice as input and a TTS system for the outputs.
Follow this link to see the scripts and source code: Raspberry Pi 3: TTS and STT – Alice – A Boy and his IA