Virtual assistant from voice commands to control operating system graphical user interface.
Project description
Voice Assistant for Linux
Say hi to VAL (Voice Assistant for Linux)!
Description
A virtual assistant for Linux for controlling the operating system graphical user interface by using voice commands.
-
Project task list status
- Human voice recognition.
- Human voice transcription.
- Detects voice commands from a defined list and executes it.
- Debug mode.
- Works on i3 tiling window manager.
- Works on Gnome desktop environment.
- Works on KDE Plasma desktop environment.
- Works on XFCE desktop environment.
- Infinite while loop should be implement.
-
Warning
- The software run only at once. This should be fixed by implementing the infinity while loop. The problem here is to define a strategy to invoke only the voice command after the user say 'Val'. Furthermore the source code must be returned to wait the 'Val' to be called again.
Requirements
- Linux kernel.
- Python >= 3.10 (only because the match case and 'f' strings).
- PIP3.
- Shell Script Library.
For all Linux distributions
-
Install Shell Script Library
$
curl -fsSL github.com/henrikbeck95/shell_script_library/releases/latest/download/shell-script-library -O
$
mv ./shell-script-library /usr/local/bin/shell-script-library
For a specific Linux distribution
-
ArchLinux
$
sudo pacman -S festival festival-english festival-us python-pyaudio
Installation
Development mode
-
Install Python libraries
$
pip3 install SpeechRecognition
$
pip3 install yaml-1.3
$
pip3 install setuptools
$
pip3 install wheel
$
pip3 install twine
$
pip3 install voice-assistant-linux
-
Clone this repository.
$
git clone https://github.com/henrikbeck95/voice_assistant_linux.git
-
Build the package for PyPi
$
python3 setup.py sdist bdist_wheel
-
Upload the package to PyPi repository
$
twine upload dist/*
Normal usage mode
- Install from PyPi repository
$
pip3 install voice-assistant-linux
Usage
Development mode
- Run it.
$
python3 ./src/__init__.py
Uninstallation
Development mode
- Remove the Val project folder
$
rm -fr ./voice_assistant_linux/
Normal usage mode
- Uninstall it.
$
pip3 uninstall voice-assistant-linux
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for voice-assistant-linux-0.0.5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b92d7ff84c65d0097266b589a3758c2f4ee1192d4905e154c9149b112473ecf4 |
|
MD5 | 042529f66790ce46586ca696b35677fc |
|
BLAKE2b-256 | c4aaca7b443e19aa3b18b67a62ca5a1c5adf510d7f5cf4f144071859153e7e84 |
Hashes for voice_assistant_linux-0.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9d62d70b2f79fcbf9a9948d131b9938562907bdc22e436e79d05d56d7a8ae644 |
|
MD5 | 87ea85e640e9ade6faae37ab30eb5de3 |
|
BLAKE2b-256 | 8f11b7033b17ab191d93293f0c6d2e7cee041c3b4603ee4628c1836c2ca63655 |