Skip to main content

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)!

GitHub release GitHub license PyPI version shields.io Downloads Downloads

Description

A virtual assistant for Linux for controlling the operating system graphical user interface by using voice commands.

  • Project task list status

    1. Human voice recognition.
    2. Human voice transcription.
    3. Detects voice commands from a defined list and executes it.
    4. Debug mode.
    5. Works on i3 tiling window manager.
    6. Works on Gnome desktop environment.
    7. Works on KDE Plasma desktop environment.
    8. Works on XFCE desktop environment.
    9. Infinite while loop should be implement.
  • Warning

    1. 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

  1. Linux kernel.
  2. Python >= 3.10 (only because the match case and 'f' strings).
  3. PIP3.
  4. 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

  1. 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

  2. Clone this repository.

    $ git clone https://github.com/henrikbeck95/voice_assistant_linux.git

  3. Build the package for PyPi

    $ python3 setup.py sdist bdist_wheel

  4. Upload the package to PyPi repository

    $ twine upload dist/*

Normal usage mode

  1. Install from PyPi repository

    $ pip3 install voice-assistant-linux

Usage

Development mode

  1. Run it.

    $ python3 ./src/__init__.py

Uninstallation

Development mode

  • Remove the Val project folder

    $ rm -fr ./voice_assistant_linux/

Normal usage mode

  1. Uninstall it.

    $ pip3 uninstall voice-assistant-linux

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

voice-assistant-linux-0.0.5.tar.gz (19.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

voice_assistant_linux-0.0.5-py3-none-any.whl (18.4 kB view details)

Uploaded Python 3

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

Hashes for voice-assistant-linux-0.0.5.tar.gz
Algorithm Hash digest
SHA256 b92d7ff84c65d0097266b589a3758c2f4ee1192d4905e154c9149b112473ecf4
MD5 042529f66790ce46586ca696b35677fc
BLAKE2b-256 c4aaca7b443e19aa3b18b67a62ca5a1c5adf510d7f5cf4f144071859153e7e84

See more details on using hashes here.

File details

Details for the file voice_assistant_linux-0.0.5-py3-none-any.whl.

File metadata

File hashes

Hashes for voice_assistant_linux-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 9d62d70b2f79fcbf9a9948d131b9938562907bdc22e436e79d05d56d7a8ae644
MD5 87ea85e640e9ade6faae37ab30eb5de3
BLAKE2b-256 8f11b7033b17ab191d93293f0c6d2e7cee041c3b4603ee4628c1836c2ca63655

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page