summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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