stt-linux
December 1, 2024 ยท View on GitHub
Simple script for global speech to text on Linux with Wayland support.
Usage
To start recording, say start typing. To stop recording, say stop typing. Letters will be entered via a virtual keyboard as if they were typed.
Setup
-
Create and activate a virtual environment with Python:
python3 -m venv venv source venv/bin/activate -
Install pip dependencies:
pip install -r requirements.txt -
Install wtype: The method of installation will depend on your package manager. For apt:
sudo apt install wtypeFor pacman:
sudo pacman -S wtype -
Run the script.
python3 tts.py