Demo of a virtual assistant (personal chatbot) running on your mobile phone that you can silently converse with, using a Twiddler for input.
You type messages on the Twiddler one-handed keyboard while the bot responds by speaking. Wear earphones to keep the conversation private. With enough practise, you can converse without ever looking at your phone's screen. Imagine being able to do this:
- during meetings
- while walking
- lying in bed in the dark
This is an alpha release and the bot is not intelligent: it simply says the word or individual letters you typed depending on the mode you select. It will be enhanced in the next releases.
This project is developed with Kivy and Plyer. Here's a video demo:
- Twiddler one-handed keyboard
- Mobile phone -- only tested on Android so far
- Computer -- to download TwiddleTalk and copy to your phone
- USB cable
You can first try out TwiddleTalk on your computer. You can skip this step, but clone this repository on your computer so you can trasfer it to your phone.
- Install espeak - http://espeak.sourceforge.net/
- Clone this repository
- Install Kivy - http://kivy.org/#download
- Run kivy.bat
pip install plyer
python TwiddleTalk/main.py
- Clone this repository
- Install Kivy - http://kivy.org/#download
pip install plyer
python TwiddleTalk/main.py
- Install espeak or flite from your distro's repositories
- Clone this repository
- Install Kivy - http://kivy.org/#download
pip install plyer
python TwiddleTalk/main.py
- If you haven't done so, clone this repository on your computer.
- Connect the phone to your computer via a USB cable.
- Create a folder called 'kivy' in your phone's internal storage. (NOTE: /sdcard is the root of the internal storage.)
- Copy the TwiddleTalk folder that you cloned into the phone's 'kivy' folder. After the transfer, it's path should be /sdcard/kivy/TwiddleTalk.
On your phone:
- Install Kivy Launcher from Google Play
- Run the Kivy Launcher. You should now see TwiddleTalk as a project.
- Tap the TwiddleTalk item.
- on start, the default mode is to say each character (letter) you type
- type the Escape key to toggle between SAY_LETTERS and SAY_WORDS
- in SAY_WORDS mode, the program says the completed word after you type a whitespace (Space, Tab, Enter)
- press RESET to start over
- press EXIT to quit
The code is licensed under the MIT License.