A timetable app written in Python that uses Google Voice Recognition to read from the timetable. This is also a worthwhile project to look at if you're interested in either voice input or output in Python. Uses Google's API for input by default, and as a non-negotiable output system.
VoiceTimetable depends on a number of packages to work. Not only does it have to accept microphone input, but playing gTTS audio is dependent too.
- Speech recognition (Google's) - Online TTS. To install:
pip install SpeechRecognition
- pyttsx3 - Offline text to speech library. To install:
pip install pyttsx3
OPTIONAL, REQUIRED FOR OFFLINE / FASTER SPEECH RECOGNITION PocketSphinx
Feel free to fork and use your own venv :) Also make sure you create your own timetable.
- You can ask for the current time. Try asking: "What is the time?"
- You can ask for your next class. Try asking: "When's my next class?"
- Once you've asked fdr a class, you can then say "Open zoom link" and it will open the link specified in
timetable.json
- Feel free to have a look at the source and add your own commands.