summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrekado <rekado@elephly.net>2013-07-28 13:37:29 +0800
committerrekado <rekado@elephly.net>2013-07-28 13:37:29 +0800
commitc32f506dceaa730ae1fd87bae15717c7a7ba6922 (patch)
tree3e4d0cb6c836e6e2ddb34150471adba37c2de854
parentde1a6a2b750a518bf96da919447943fd4eb2eceb (diff)
add connect script
-rwxr-xr-xconnect.sh12
1 files changed, 12 insertions, 0 deletions
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