aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md50
1 files changed, 50 insertions, 0 deletions
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..86dec60
--- /dev/null
+++ b/README.md
@@ -0,0 +1,50 @@
1This is the JackOnAllDevices project, JOAD for short.
2
3The purpose is to scan for all ALSA / asound audio devices, and hook them
4all up to JACK. Then it starts up JACK, and hooks up any joysticks it
5finds as MIDI controllers. So any ALSA application gets routed through
6JACK.
7
8This is very rough for now, only just started writing it. jackoffall is
9particularly crude and violent, lots of killall.
10
11Since it isn't a package yet, some setup is needed.
12
13The packages you need installed are -
14 luajit
15 jackd2
16 jack-tools for jack-plumbing, but other patch persistance methods could be used.
17 a2jmidid
18 zita-ajbridge
19 aseqjoy
20
21 qjackctl can be used as a visual patchbay, though I prefer catia from the KXStudio repos.
22
23You need to have the snd-aloop kernel module loaded. The jackscanall
24script should be run at boot time, put it into /etc/boot.d/. jackonall
25should be called on user login. Probably don't need to run jackoffall on
26user logout.
27
28Alas ~/.asoundrc doesn't understand ~ or $HOME, or even "try the current
29directory" it seems. So you have to hard code the path. Make sure your
30~/.asoundrc includes something like this (an example is included) -
31
32</var/lib/JOAD/asoundrc>
33
34jackscanall scans for your sound devices and creates
35/var/lib/JOAD/asoundrc. Run jackscanall once as root to create that
36file, and each time you need to change your devices.
37
38jackonall starts up JACK and friends, and creates JACK devices for all
39the things jackscanall found. It creates the cloop and ploop devices
40that catch everything ALSA does. Then creates MIDI devices for all your
41joysticks.
42
43jackoffall closes down everything jackonall started up.
44
45NOTE - Seems both ALSA and JACK are per user. So you need to run
46jackonall and jackoffall for each user.
47
48TODO - Leave it running, and hotplug ALSA / asound audio devices.
49 a2jmidid takes care of hotplugging MIDI devices.
50 Though I think I still need to deal with hotplugged joysticks.