summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2024-01-17 20:56:59 +0300
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2024-01-17 21:02:29 +0300
commit59fcc50b3932b7c6f389451bfa63178208c84255 (patch)
tree986b8bd48a8c4446d739159fc0e3a3ad14768b87
parent895ff5b5d47970154d9d2d7051eae2be8872228f (diff)
downloadshmotbox-59fcc50b3932b7c6f389451bfa63178208c84255.tar.gz
added FreeBSD devd script for automatically exposing raw MIDI devices with Jack
* you will have to replace `rhaberkorn` with your user name
-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";
+};