diff options
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 50 |
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 @@ | |||
| 1 | This is the JackOnAllDevices project, JOAD for short. | ||
| 2 | |||
| 3 | The purpose is to scan for all ALSA / asound audio devices, and hook them | ||
| 4 | all up to JACK. Then it starts up JACK, and hooks up any joysticks it | ||
| 5 | finds as MIDI controllers. So any ALSA application gets routed through | ||
| 6 | JACK. | ||
| 7 | |||
| 8 | This is very rough for now, only just started writing it. jackoffall is | ||
| 9 | particularly crude and violent, lots of killall. | ||
| 10 | |||
| 11 | Since it isn't a package yet, some setup is needed. | ||
| 12 | |||
| 13 | The 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 | |||
| 23 | You need to have the snd-aloop kernel module loaded. The jackscanall | ||
| 24 | script should be run at boot time, put it into /etc/boot.d/. jackonall | ||
| 25 | should be called on user login. Probably don't need to run jackoffall on | ||
| 26 | user logout. | ||
| 27 | |||
| 28 | Alas ~/.asoundrc doesn't understand ~ or $HOME, or even "try the current | ||
| 29 | directory" 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 | |||
| 34 | jackscanall scans for your sound devices and creates | ||
| 35 | /var/lib/JOAD/asoundrc. Run jackscanall once as root to create that | ||
| 36 | file, and each time you need to change your devices. | ||
| 37 | |||
| 38 | jackonall starts up JACK and friends, and creates JACK devices for all | ||
| 39 | the things jackscanall found. It creates the cloop and ploop devices | ||
| 40 | that catch everything ALSA does. Then creates MIDI devices for all your | ||
| 41 | joysticks. | ||
| 42 | |||
| 43 | jackoffall closes down everything jackonall started up. | ||
| 44 | |||
| 45 | NOTE - Seems both ALSA and JACK are per user. So you need to run | ||
| 46 | jackonall and jackoffall for each user. | ||
| 47 | |||
| 48 | TODO - 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. | ||
