- Make your curtains smartPosted 2 days ago
- Configuring an ESP8266 for Battery PowerPosted 5 days ago
- Creating a Telegram Bot for ESP32Posted 6 days ago
- Mini Course on BlynkPosted 7 days ago
- Creating a Unique Electronic Musical Instrument: The Sound WallPosted 1 week ago
- Building a Laser MicroscopePosted 1 week ago
- Grand Piano Keys with ArduinoPosted 2 weeks ago
- Wireless Power TransferPosted 2 weeks ago
- Robot Punchers with ArduinoPosted 2 weeks ago
- A minimal 3D-printed scalePosted 2 weeks 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
One Comment