Simple sound pad inspired by real professional sound pads. It allows to ascribe music file to the button and play it by pressing the button or key on keyboard.
As a big fun of tabletop RPGs and the game master I felt the urge to have such a program, but I could not find anything similar to it.
So I created it.
It was also my side project while I was learning python. That is why some more advanced in python people may find totally unnecessary pieces of code in the source code, eg. abstract base class in audio module.
I am aware of that, but I am not going to change this as I believe that it is better to have program with some mistakes in the code then to have a perfect program that does not exist.
Please Notice that the program is still during the development process, therefore some feature may not work properly or at all, eg. pause button.
If you are among the people that also need such a program please feel welcome to use it.
git clone https://github.com/ajwalkiewicz/SoundPad.git
cd SoundPad
pip install -r requirements.txt
python soundpad.py
(Ubuntu)
sudo apt install python-dev python3-tkinter libsdl-image1.2-dev libsdl-mixer1.2-dev libsdl-ttf2.0-dev libsdl1.2-dev libsmpeg-dev python-numpy subversion libportmidi-dev ffmpeg libswscale-dev libavformat-dev libavcodec-dev libfreetype6-dev
(Fedora)
sudo dnf install python3-devtools python3-tkinter
pip3 install -r requirements.txt
python3 soundpad.py
Settings can be change in: module/data/settings/json
{
"default_directory": "samples",
"key_range": "system_wide", // or "inside_app"
"font_type": "Helvetica",
"font_size": 10,
"show_settings": false, // DEPRECATED
"fadeout_length": 2000, // fadeout in milliseconds
"on_top": false, // Always on top when true
"key_0_behavior": "pause" // or "stop"
}
"key_range": "system_wide"
works."key_range": "inside_app"
works only with numerical keyboard.Adam Walkiewicz
All the audio samples used in this project are under Creative Commons 0 License.
Files were downloaded from https://freesound.org/
This project is licensed under the MIT License - see the LICENSE file for details.