Run shell commands from your piano
Linux CLI tool to assign shell commands to keys on a USB MIDI keyboard
Note: Assuming ALSA is used as a soundcard driver, use connect -i to find the desired MIDI port.
- $HOME/.config/pianoterm/config
# this is a comment
#
# trigger can be on_release or on_press
on_press
# syntax: port = command
# use aseqdump -p to find specific keycodes
21 = playerctl previous # first key on an 88-key keyboard
22 = playerctl play-pause
23 = playerctl next
# ...
108 = /home/me/my_script.sh
git clone https://github.com/vustagc/pianoterm.git
cd pianoterm && make
- C compiler
- alsactl (1.2.15.2)
- make (optional)
<a href
сейф купить в москве