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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file voice-assistant-linux-0.0.5.tar.gz.
File metadata
- Download URL: voice-assistant-linux-0.0.5.tar.gz
- Upload date:
- Size: 19.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.10.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b92d7ff84c65d0097266b589a3758c2f4ee1192d4905e154c9149b112473ecf4
|
|
| MD5 |
042529f66790ce46586ca696b35677fc
|
|
| BLAKE2b-256 |
c4aaca7b443e19aa3b18b67a62ca5a1c5adf510d7f5cf4f144071859153e7e84
|
File details
Details for the file voice_assistant_linux-0.0.5-py3-none-any.whl.
File metadata
- Download URL: voice_assistant_linux-0.0.5-py3-none-any.whl
- Upload date:
- Size: 18.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.10.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9d62d70b2f79fcbf9a9948d131b9938562907bdc22e436e79d05d56d7a8ae644
|
|
| MD5 |
87ea85e640e9ade6faae37ab30eb5de3
|
|
| BLAKE2b-256 |
8f11b7033b17ab191d93293f0c6d2e7cee041c3b4603ee4628c1836c2ca63655
|