- Environmental monitoring with uChipPosted 7 days ago
- ARDULEGO KIT: create with Lego and ArduinoPosted 3 weeks ago
- Share & Discover by PCBWayPosted 1 month ago
- ENERGY METER IOTPosted 1 month ago
- Energy Meter GSM with Arduino (part 2)Posted 2 months ago
- Energy Meter GSM with Arduino (part 1)Posted 2 months ago
- ARDULOCK: a keyboard with RFID modulePosted 3 months ago
- Autofocus Glasses/Phoropter Using Variable Focus Liquid LensPosted 4 months ago
- Home Automation & Lights controlling SystemPosted 4 months ago
- Solar TrackerPosted 5 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