add connect script
[software/lv2-mdametapiano.git] / connect.sh
1 #!/bin/bash
2
3 TYPE=${1:-mdaPiano}
4
5 # connect MIDI mate II to MIDI through (Alsa MIDI)
6 aconnect 24:0 14:0
7
8 # connect to JACK
9 jack_connect $TYPE:midi "a2j:Midi Through [14] (capture): Midi Through Port-0"
10
11 jack_connect system:playback_1 $TYPE:left
12 jack_connect system:playback_2 $TYPE:right