From c32f506dceaa730ae1fd87bae15717c7a7ba6922 Mon Sep 17 00:00:00 2001 From: rekado Date: Sun, 28 Jul 2013 13:37:29 +0800 Subject: add connect script --- connect.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 connect.sh diff --git a/connect.sh b/connect.sh new file mode 100755 index 0000000..89fe201 --- /dev/null +++ b/connect.sh @@ -0,0 +1,12 @@ +#!/bin/bash + +TYPE=${1:-mdaPiano} + +# connect MIDI mate II to MIDI through (Alsa MIDI) +aconnect 24:0 14:0 + +# connect to JACK +jack_connect $TYPE:midi "a2j:Midi Through [14] (capture): Midi Through Port-0" + +jack_connect system:playback_1 $TYPE:left +jack_connect system:playback_2 $TYPE:right -- cgit v1.2.3