-
Notifications
You must be signed in to change notification settings - Fork 0
Notes & guides
Welcome to the VoiceAssist wiki!
Welcome to VoiceAssist, a voice assistant for Linux built with Python.
Inspired by and forked from https://www.freecodecamp.org/news/python-project-how-to-build-your-own-jarvis-using-python/
Clone the repo to your /opt folder using git clone https://github.com/plwt/VoiceAssist.git
Make sure that you have the dependencies that you will need:
sudo apt install portaudio19-dev python3-tk python3-dev ffmpeg libespeak1
Copy the desktop shortcut to the right place:
cp /opt/VoiceAssist/VoiceAssist.desktop ~/.local/share/applications
Make the VoiceAssist file executable:
chmod +x /opt/VoiceAssist/src/VoiceAssist.sh
Please check the file paths in os_ops.py before use to make sure they are correct for your device. You may wish to alter them to fit your distro and setup.
- Delete the shortcut from
~/.local/share/applications
- Delete the Voice assist folder from
/opt
- Remove dependencies (care, may impact other software)
sudo apt uninstall portaudio19-dev python3-tk python3-dev ffmpeg libespeak1
- sapi5 replacement for Linux - https://github.com/nateshmbhat/pyttsx3/issues/212
- Speach engine settings - https://cs.github.com/?scopeName=All+repos&scope=&q=engine+%3D+pyttsx3.init%28
- Portaudio install - https://stackoverflow.com/questions/35708238/installing-pyaudio-with-pip-in-a-virtualenv and https://stackoverflow.com/questions/50457197/pyaudio-installation-failure-on-ubuntu
- Voice options https://linuxhint.com/command-line-text-speech-apps-linux/ and https://levelup.gitconnected.com/make-your-python-program-speak-310766534fbf and https://scriptverse.academy/tutorials/python-text-to-speech.html
- pyttsx3 options https://pyttsx3.readthedocs.io/en/latest/engine.html#changing-voices