From Fedora Project Wiki
< User:Crantila | FSC
What JACK Is, and Why It Exists
(no algorithms)
Knowing When to Use JACK
(no algorithms)
How to Setup Your System for JACK
- must refer to kernel/system optimization section
- by default, in Fedora, when JACK is started, it receives control of the audio devices from PulseAudio. No PA device works until JACK quits
Installation
- run 'yum install jack-audio-connection-kit qjackctl' (this installs JACK and a GUI application to control it, QjackCtl)
- Approve the installation.
Safely Enable Real-Time Scheduling
- Add yourself, and anybody who uses JACK, to the 'audio' group (instructions for this are probably in an existing Fedora Doc)
- Planet CCRMA's version of JACK automatically enables real-time priorities. To make it safer, edit '/etc/security/limits.conf' so that the final lines read:
@audio - rtprio 99 @audio - memlock 4194304 @audio - nice -10
- If you are not using PlanetCCRMA's JACK version, then write those lines in!
Starting and Stopping
- Run QjackCtl from the KMenu or Applications menu
- to start JACK, press "Start"; to stop it press "Stop"
- Use the "Messages" button to see messages, usually errors or warnings
- Use the "Status" button to see various statistics
Adjusting Settings
- Press the "Setup" button
- Run 'cat /proc/asound/cards' to see a list of sound cards in your system, and choose the one you want by name
- Put (for example) 'hw:SB' in the "Interface" field (this is more robust, etc.)
- Adjust the sample rate no higher than the highest supported by your interface; 44100 is CD quality; 48000 is probably sufficient for most uses
- Go to the 'Options' tab, and deselect "Execute script on Startup: artsshell -q terminate", since it's not needed in KDE4 or GNOME