This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## 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 |
OlderNewer