summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--jack_umidi.conf12
1 files changed, 12 insertions, 0 deletions
diff --git a/jack_umidi.conf b/jack_umidi.conf
new file mode 100644
index 0000000..ee3e3d3
--- /dev/null
+++ b/jack_umidi.conf
@@ -0,0 +1,12 @@
+# This automatically spawns jack_umidi for attached MIDI devices.
+# This process will stay around even if jackd has not yet been started.
+# This means we don't need alsa-seq-server and a2jmidid to integrate MIDI with Jack.
+notify 100 {
+ match "system" "DEVFS";
+ match "subsystem" "CDEV";
+ match "type" "CREATE";
+ match "cdev" "umidi[0-9]+\.[0-9]+";
+
+ # NOTE: The jackd is usual run as rhaberkorn.
+ action "/usr/local/sbin/jack_umidi -B -k -C /dev/$cdev -U rhaberkorn";
+};