Hotkey Sound Player is a simple application that allows you to play sound files using custom hotkey combinations. It provides an easy-to-use graphical interface to set up and manage your hotkey-sound pairs.
- Select and play sound files using custom hotkey combinations
- Add, remove, and manage hotkey-sound pairs
- Start and stop the hotkey listener
- Save and load configuration from a JSON file
- Supports multiple audio formats: MP3, OGG, WAV, OGA
-
Clone the repository:
git clone https://github.com/yourusername/hotkey-sound-player.git cd hotkey-sound-player
-
Create a virtual environment and activate it:
python3.12 -m venv venv source venv/bin/activate # On Windows use `venv\Scripts\activate`
-
Install the required dependencies:
pip install -r requirements.txt
-
Run the application:
python hotkey_sound_player.py
-
Use the graphical interface to add sound-hotkey pairs, start the listener, and enjoy playing sounds with your hotkeys.
To create a standalone executable, use pyinstaller
:
pyinstaller --onefile --windowed hotkey_sound_player.py
This will generate a single executable file in the dist directory.