Skip to content

Instantly share code, notes, and snippets.

View SimonHoiberg's full-sized avatar

Simon Høiberg SimonHoiberg

View GitHub Profile
## This script works specifically with Boss GT-100
## The same principle can be used for any MIDI controller.
aseqdump -p "GT-100" | \
while IFS=" ," read src ev1 ev2 ch label1 data1 label2 data2 rest; do
case "$data1 $data2" in
"80 127" ) xdotool key Down ;;
"81 127" ) xdotool key Up ;;
esac
if [[ "$data1" == "7" ]]; then