-d,--driverbackend [backend-parameters ]
Select the audio interface backend. The current list of supported backends is: alsa, coreaudio,
dummy, firewire, osssun and portaudio. They are not all available on all platforms. All
backend-parameters are optional.
-h,--help
Print a brief usage message describing the main jackd options. These do not include
backend-parameters, which are listed using the --help option for each specific backend. Examples
below show how to list them.
-a,--autoconnectmodechar
Select how to handle self connect requests. They can be ignore or fail, on all port or just
external ones. Use the --help option to know your system specific options. The default is to not
restrict self connect requests.
-m,--no-mlock
Do not attempt to lock memory, even if --realtime.
-n,--nameserver-name
Name this jackd instance server-name. If unspecified, this name comes from the
$JACK_DEFAULT_SERVER environment variable. (default: "default")
-p,--port-maxn
Set the maximum number of ports the JACK server can manage. (default: 256)
--replace-registry
Remove the shared memory registry used by all JACK server instances before startup. This should
rarely be used, and is intended only for occasions when the structure of this registry changes in
ways that are incompatible across JACK versions (which is rare).
-R,--realtime
Use realtime scheduling. This is needed for reliable low-latency performance. On many systems, it
requires jackd to run with special scheduler and memory allocation privileges, which may be
obtained in several ways. (default: true)
-r,--no-realtime
Do not use realtime scheduling.
-P,--realtime-priorityint
When running --realtime, set the scheduler priority to int.
--silent
Silence any output during operation.
-T,--temporary
Exit once all clients have closed their connections.
-t,--timeoutint
Set client timeout limit in milliseconds. In realtime mode the client timeout must be smaller
than the watchdog timeout (5000 msec). (default: 500)
-Z,--nozombies
Prevent JACK from ever kicking out clients because they were too slow. This cancels the effect
any specified timeout value, but JACK and its clients are still subject to the supervision of the
watchdog thread or its equivalent.
-C,--internal-session-fileinternal-session-file
Load internal clients and connections from internal-session-file. Each line of this configuration
file starts with a command. The following commands are available:
l(oad)client-namelib-nameclient-args
With this command an internal JACK client will be instantiated. client-name and lib-name cannot
contain spaces. The rest of the line will be interpreted as client-args and sent to the client
library.
c(on)source-portdestination-port
With this command a source port will be connected to a destination port. source-port and
destination-port cannot contain spaces.
Comments are allowed, they start with #.
An example configuration could look like the following:
l inprocess1 inprocess
l amp1 jalv http://lv2plug.in/plugins/eg-amp
c amp:out system:playback_1
-u,--unlock
Unlock libraries GTK+, QT, FLTK, Wine.
-v,--verbose
Give verbose output.
-c,--clocksource ( h(pet) | s(ystem) )
Select a specific wall clock (HPET timer, System timer).
-V,--version
Print the current JACK version number and exit.
ALSABACKENDOPTIONS-C,--capture [ name ]
Provide only capture ports, unless combined with -D or -P. Optionally set capture device name.
-d,--devicename
The ALSA pcm device name to use. If none is specified, JACK will use "hw:0", the first hardware
card defined in /etc/modules.conf.
-z,--dither[rectangular,triangular,shaped,none]
Set dithering mode. If none or unspecified, dithering is off. Only the first letter of the mode
name is required.
-D,--duplex
Provide both capture and playback ports. Defaults to on unless only one of -P or -C is specified.
(default: true)
-h,--help Print a brief usage message describing only the
alsa backend parameters.
-M,--hwmeter
Enable hardware metering for devices that support it. Otherwise, use software metering.
-H,--hwmon
Enable hardware monitoring of capture ports. This is a method for obtaining "zero latency"
monitoring of audio input. It requires support in hardware and from the underlying ALSA device
driver.
When enabled, requests to monitor capture ports will be satisfied by creating a direct signal path
between audio interface input and output connectors, with no processing by the host computer at
all. This offers the lowest possible latency for the monitored signal.
Presently (March 2003), only the RME Hammerfall series and cards based on the ICE1712 chipset
(M-Audio Delta series, Terratec, and others) support --hwmon. In the future, some consumer cards
may also be supported by modifying their mixer settings.
Without --hwmon, port monitoring requires JACK to read audio into system memory, then copy it back
out to the hardware again, imposing the basic JACK system latency determined by the --period and
--nperiods parameters.
-i,--inchannelsint
Number of capture channels. (default: maximum supported by hardware)
-I,--input-latency
Extra input latency (frames). (default: 0)
-n,--nperiodsint
Number of periods of playback latency. In seconds, this corresponds to --nperiods times --period
divided by --rate. The default is 2, the minimum allowed. For most devices, there is no need for
any other value with the --realtime option. Without realtime privileges or with boards providing
unreliable interrupts (like ymfpci), a larger value may yield fewer xruns. This can also help if
the system is not tuned for reliable realtime scheduling.
For most ALSA devices, the hardware buffer has exactly --period times --nperiods frames. Some
devices demand a larger buffer. If so, JACK will use the smallest possible buffer containing at
least --nperiods, but the playback latency does not increase.
For USB audio devices it is recommended to use -n3. Firewire devices supported by FFADO (formerly
FreeBoB) are configured with -n3 by default.
-o,--outchannelsint
Number of playback channels. (default: maximum supported by hardware)
-O,--output-latency
Extra output latency (frames). (default: 0)
-P,--playback [ name ]
Provide only playback ports, unless combined with -D or -C. Optionally set playback device name.
-p,--periodint
Number of frames between JACK process() calls. This value must be a power of 2. If you need low
latency, set -p as low as you can go without seeing xruns. A larger period size yields higher
latency, but makes xruns less likely. The JACK capture latency in seconds is --period divided by
--rate. (default: 1024)
-r,--rateint
Sample rate. (default: 48000)
-S,--shorts
Try to configure card for 16-bit samples first, only trying 32-bits if unsuccessful. (default:
32-bit samples)
-s,--softmode
Ignore xruns reported by the ALSA driver. This makes JACK less likely to disconnect unresponsive
ports when running without --realtime.
-X,--midi [seq|raw]
Which ALSA MIDI system to provide access to. Using raw will provide a set of JACK MIDI ports that
correspond to each raw ALSA device on the machine. Using seq will provide a set of JACK MIDI ports
that correspond to each ALSA "sequencer" client (which includes each hardware MIDI port on the
machine). raw provides slightly better performance but does not permit JACK MIDI communication
with software written to use the ALSA "sequencer" API.
COREAUDIOBACKENDPARAMETERS-c,--channels
Maximum number of channels. (default: 2)
-i,--inchannels
Maximum number of input channels. (default: 2)
-o,--outchannels
Maximum number of output channels. (default: 2)
-C,--capture
Whether or not to capture. (default: true)
-P,--playback
Whether or not to playback. (default: true)
-D,--monitor
Provide monitor ports for the output. (default: false)
-D,--duplex
Capture and playback. (default: true)
-r,--rate
Sample rate. (default: 44100)
-p,--period
Frames per period, must be a power of 2. (default: 128)
-d,--device
CoreAudio device name. (default: none)
-I,--input-latency
Extra input latency (frames). (default: 0)
-O,--output-latency
Extra output latency (frames). (default: 0)
-l,--list-devices
Display available CoreAudio devices. (default: false)
-H,--hog
Take exclusive access of the audio device. (default: false)
-L,--async-latency
Extra output latency in asynchronous mode (percent). (default: 100)
-G,--grain
Computation grain in RT thread (percent). (default: 100)
-s,--clock-drift
Whether or not to compensate clock drift in dynamically created aggregate device. (default:
false)
DUMMYBACKENDPARAMETERS-C,--captureint
Number of capture ports. (default: 2)
-P,--playbackint
Number of playback ports. (default: 2)
-r,--rateint
Sample rate. (default: 48000)
-p,--periodint
Number of frames between JACK process() calls. This value must be a power of 2. If you need low
latency, set -p as low as you can go without seeing xruns. A larger period size yields higher
latency, but makes xruns less likely. The JACK capture latency in seconds is --period divided by
--rate. (default: 1024)
-w,--waitint
Number of usecs to wait between engine processes. (default: 21333)
NETONEBACKENDPARAMETERS-i,--audio-insint
Number of capture channels. (default: 2)
-o,--audio-outsint
Number of playback channels. (default: 2)
-I,--midi-insint
Number of midi capture channels. (default: 1)
-O,--midi-outsint
Number of midi playback channels. (default: 1)
-r,--rateint
Sample rate. (default: 48000)
-p,--periodint
Frames per period. (default: 1024)
-n,--num-periodsint
Network latency setting in no. of periods. (default: 5)
-l,--listen-portint
The socket port we are listening on for sync packets. (default: 3000)
-f,--factorint
Factor for sample rate reduction. (default: 1)
-u,--upstream-factorint
Factor for sample rate reduction on the upstream. (default: 0)
-c,--celtint
Sets celt encoding and number of kbits per channel. (default: 0)
-b,--bit-depthint
Sample bit-depth (0 for float, 8 for 8bit and 16 for 16bit). (default: 0)
-t,--transport-syncint
Whether or not to slave the transport to the master transport. (default: true)
-a,--autoconfint
Whether or not to use Autoconfig, or just start. (default: true)
-R,--redundancyint
Send packets N times. (default: 1)
-e,--native-endianint
Don't convert samples to network byte order. (default: false)
-J,--jittervalint
Attempted jitterbuffer microseconds on master. (default: 0)
-D,--always-deadlineint
Always use deadline. (default: false)
OSSBACKENDPARAMETERS-r,--rateint
Sample rate. (default: 48000)
-p,--periodint
Number of frames between JACK process() calls. This value must be a power of 2. If you need low
latency, set -p as low as you can go without seeing xruns. A larger period size yields higher
latency, but makes xruns less likely. The JACK capture latency in seconds is --period divided by
--rate. (default: 1024)
-n,--nperiodsint
Number of periods in the hardware buffer. The period size (-p) times --nperiods times four is the
JACK buffer size in bytes. The JACK output latency in seconds is --nperiods times --period divided
by --rate. (default: 2)
-w,--wordlengthint
Sample size in bits. (default: 16)
-i,--inchannelsint
Number of capture channels. (default: 2)
-o,--outchannelsint
Number of playback channels. (default: 2)
-C,--capturedevice_file
Input device for capture. (default: /dev/dsp)
-P,--playbackdevice_file
Output device for playback. (default: /dev/dsp)
-b,--ignorehwbufboolean
Whether or not to ignore hardware period size. (default: false)
-e,--exclboolean
Request exclusive and direct access to the sound device. This avoids mixing and automatic audio
conversion in the OSS driver, and the extra latency that comes with that. (default: false)
-I,--input-latency
Extra input latency (frames). (default: 0)
-O,--output-latency
Extra output latency (frames). (default: 0)
SUNBACKENDPARAMETERS-r,--rateint
Sample rate. (default: 48000)
-p,--periodint
Number of frames between JACK process() calls. This value must be a power of 2. If you need low
latency, set -p as low as you can go without seeing xruns. A larger period size yields higher
latency, but makes xruns less likely. The JACK capture latency in seconds is --period divided by
--rate. (default: 1024)
-n,--nperiodsint
Number of periods in the hardware buffer. The period size (-p) times --nperiods times four
(assuming 2 channels 16-bit samples) is the JACK buffer size in bytes. The JACK output latency in
seconds is --nperiods times --period divided by --rate. (default: 2)
-w,--wordlengthint
Sample size in bits. (default: 16)
-i,--inchannelsint
Number of capture channels. (default: 2)
-o,--outchannelsint
Number of playback channels. (default: 2)
-C,--capturedevice_file
Input device for capture. (default: /dev/audio)
-P,--playbackdevice_file
Output device for playback. (default: /dev/audio)
-b,--ignorehwbufboolean
Whether or not to ignore hardware period size. (default: false)
PORTAUDIOBACKENDPARAMETERS-c,--channel
Maximum number of channels. (default: all available hardware channels)
-i,--channelin
Maximum number of input channels. (default: all available hardware channels)
-I,--input-latency
Extra input latency (frames). (default: 0)
-o,--channelout
Maximum number of output channels. (default: all available hardware channels)
-O,--output-latency
Extra output latency (frames). (default: 0)
-C,--capture
Whether or not to capture. (default: true)
-P,--playback
Whether or not to playback. (default: true)
-D,--duplex
Capture and playback. (default: true)
-r,--rate
Sample rate. (default: 48000)
-p,--period
Frames per period, must be a power of 2. (default: 1024)
-n,--name
Driver name. (default: none)
-z,--dither
Dithering mode. (default: none)
FIREWIREBACKENDPARAMETERS-d,--devicename
The Firewire device name to use. If none is specified, JACK will try to use "hw:0". To get a list
of available Firewire devices, see ffado-test. It's recommended to use the GUID of a Firewire
device to rule out any ambiguities. Once the GUID of the device is known ("ffado-test
ListDevices"), it can be used like -dguid:0xff2584e39b078a2e to tell JACK which interface to use.
Sometimes resetting the Firewire bus can help ("ffado-test BusReset") if there is any problem.
(default: hw:0)
-p,--periodint
Number of frames between JACK process() calls. This value must be a power of 2. If you need low
latency, set -p as low as you can go without seeing xruns. A larger period size yields higher
latency, but makes xruns less likely. The JACK capture latency in seconds is --period divided by
--rate. (default: 1024)
-n,--nperiodsint
Number of periods of playback latency. Value must be greater or equal 2. In seconds, this
corresponds to --nperiods times --period divided by --rate. (default: 3)
-r,--rateint
Sample rate. (default: 48000)
-C,--capture [ name ]
Provide only capture ports, unless combined with -D or -P. Optionally set capture device name.
-P,--playback [ name ]
Provide only playback ports, unless combined with -D or -C. Optionally set playback device name.
-D,--duplex
Provide both capture and playback ports. This option is the default behaviour and can normally be
omitted. -D can not be combined with -P or -C.
-I,--input-latency
Extra input latency (frames). (default: 0)
-O,--output-latency
Extra output latency (frames). (default: 0)
-v,--verbose
libffado verbose level. (default: 3)
-X,--snoop
Snoop Firewire traffic. (default: false)
-h,--help Print a brief usage message describing only the
firewire backend parameters.