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
Metadata
Release files for voice-assistant-linux 0.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| voice-assistant-linux-0.0.5.tar.gz | 19.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| voice_assistant_linux-0.0.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 37.4 kB
Release files / voice-assistant-linux-0.0.5.tar.gz
| Download URL | voice-assistant-linux-0.0.5.tar.gz |
|---|---|
| Size | 19.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b92d7ff84c65d0097266b589a3758c2f4ee1192d4905e154c9149b112473ecf4
|
|
BLAKE2b-256 checksum How to use checksums |
c4aaca7b443e19aa3b18b67a62ca5a1c5adf510d7f5cf4f144071859153e7e84
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.10.4
|
Release files / voice_assistant_linux-0.0.5-py3-none-any.whl
| Download URL | voice_assistant_linux-0.0.5-py3-none-any.whl |
|---|---|
| Size | 18.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9d62d70b2f79fcbf9a9948d131b9938562907bdc22e436e79d05d56d7a8ae644
|
|
BLAKE2b-256 checksum How to use checksums |
8f11b7033b17ab191d93293f0c6d2e7cee041c3b4603ee4628c1836c2ca63655
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.10.4
|