~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~ [ freetext search ] ~ [ file search ] ~

Linux Cross Reference
JACK/jackd/jackd.1.in


  1 .TH JACKD "1" @VERSION@ "October 2003"
  2 .SH NAME
  3 jackd, jackstart \- JACK Audio Connection Kit sound server
  4 .SH SYNOPSYS
  5 \fBjackd\fR [ \fI options \fR ] \fB \-d \fI driver \fR 
  6 [\fI driver options \fR ]
  7 .br
  8 \fBjackstart\fR [ \fI options \fR ] \fB \-d \fI driver \fR 
  9 [\fI driver options \fR ]
 10 .br
 11 \fBjackd \-\-help\fR
 12 .SH DESCRIPTION
 13 \fBjackd\fR invokes the JACK audio server daemon.  When using JACK's
 14 built-in support for realtime capabilities, use the \fBjackstart\fR
 15 command, instead.  All options are the same.
 16 
 17 JACK is a low-latency audio server, originally written for the
 18 GNU/Linux operating system.  It can connect a number of different JACK
 19 client applications to an audio device, and also to each other.  Most
 20 clients are external, running in their own processes as normal
 21 applications.  JACK also supports internal clients, which run within
 22 the \fBjackd\fR process using a loadable "plugin" interface.
 23 
 24 JACK differs from other audio servers in being designed from the
 25 ground up for professional audio work.  It focuses on two key areas:
 26 synchronous execution of all clients, and low latency operation.
 27 
 28 For the latest JACK information, please consult the web site,
 29 <\fBhttp://jackit.sourceforge.net\fR>.
 30 .SH OPTIONS
 31 .TP
 32 \fB\-d, \-\-driver \fI driver \fR [ \fI driver-options \fR ] 
 33 .br
 34 Select the output driver.  The only \fIdriver\fR currently documented
 35 is \fBalsa\fR (see below).  There are additional drivers named
 36 \fBdummy\fR and \fBportaudio\fR.  Examples below show how to list
 37 their parameters.
 38 .TP
 39 \fB\-h, \-\-help\fR
 40 .br
 41 Print a brief usage message describing the main \fBjackd\fR options.
 42 These do not include driver options, which are obtained using the
 43 \fB\-\-help\fR option for that specific driver, instead.
 44 .TP
 45 \fB\-R, \-\-realtime\fR 
 46 .br
 47 Use realtime scheduling.  This is needed for reliable low-latency
 48 performance.  It requires \fBjackd\fR to run with special scheduler
 49 and memory allocation privileges, which may be obtained in two ways.
 50 The first method is to run \fBjackd\fR with root privileges, which
 51 means that all JACK clients must also run as root.  The second method
 52 requires a kernel with "POSIX draft capabilities" enabled (see the
 53 \fB<linux/capability.h>\fR include file).  Then, an ordinary user can
 54 invoke the daemon using \fBjackstart\fR, and later launch JACK clients
 55 without running as root.
 56 .TP
 57 \fB\-P, \-\-realtime\-priority \fIint\fR
 58 When running \fB\-\-realtime\fR, set the scheduler priority to
 59 \fIint\fR.
 60 .TP
 61 \fB\-\-silent\fR
 62 Stops any output during operation.
 63 .TP
 64 \fB\-t, \-\-timeout \fIint\fR
 65 .br
 66 Set client timeout limit in microseconds.  The default is 500 msec
 67 when not in realtime mode (see: \-R).
 68 .TP
 69 \fB\-v, \-\-verbose\fR
 70 Give verbose output.
 71 .TP
 72 \fB\-V, \-\-version\fR
 73 Print the current JACK version number and exit.
 74 .SS ALSA DRIVER OPTIONS
 75 .TP
 76 \fB\-C, \-\-capture\fR [ \fIname\fR ]
 77 Provide only capture ports.  Optionally set device name.
 78 .TP
 79 \fB\-d, \-\-device \fIname\fR
 80 .br
 81 The ALSA pcm device \fIname\fR to use.  If none is specified, JACK will
 82 use "hw:0", the first hardware card defined in \fB/etc/modules.conf\fR.
 83 .TP
 84 \fB\-z, --dither [rectangular,triangular,shaped,none]
 85 Set dithering mode.  If \fBnone\fR or unspecified, dithering is off.
 86 Only the first letter of the mode name is required.
 87 .TP
 88 \fB\-D, \-\-duplex\fR
 89 Provide both capture and playback ports (the default).
 90 .TP
 91 \fB\-h, \-\-help\fR Print a brief usage message describing only the
 92 \fBalsa\fR driver options.
 93 .TP
 94 \fB\-M, \-\-hwmeter\fR
 95 .br
 96 Enable hardware metering for devices that support it.  Otherwise, use
 97 software metering.
 98 .TP
 99 \fB\-H, \-\-hwmon\fR
100 .br
101 Enable hardware monitoring of capture ports.  This is a method for
102 obtaining "zero latency" monitoring of audio input.  It requires
103 support in hardware and from the underlying ALSA device driver.
104 
105 When enabled, requests to monitor capture ports will be satisfied by
106 creating a direct signal path between audio interface input and output
107 connectors, with no processing by the host computer at all.  This
108 offers the lowest possible latency for the monitored signal.
109 
110 Presently (March 2003), only the RME Hammerfall series and cards based
111 on the ICE1712 chipset (M-Audio Delta series, Terratec, and others)
112 support \fB\-\-hwmon\fR.  In the future, some consumer cards may also
113 be supported by modifying their mixer settings.
114 
115 Without \fB\-\-hwmon\fR, port monitoring requires JACK to read audio
116 into system memory, then copy it back out to the hardware again,
117 imposing the basic JACK system latency determined by the
118 \fB\-\-period\fR and \fB\-\-nperiods\fR options.
119 .TP
120 \fB\-i, \-\-inchannels \fIint\fR
121 .br
122 Number of capture channels.  Default is maximum supported by hardware.
123 .TP
124 \fB\-n, \-\-nperiods \fIint\fR
125 .br
126 Specify the number of periods in the hardware buffer.  The default is
127 2.  The period size (\fB\-p\fR) times \fB\-\-nperiods\fR times four is
128 the JACK buffer size in bytes.  The JACK output latency in seconds is
129 \fB\-\-nperiods\fR times \fB\-\-period\fR divided by \fB\-\-rate\fR.
130 .TP
131 \fB\-o, \-\-outchannels \fIint\fR
132 .br
133 Number of playback channels.  Default is maximum supported by hardware.
134 .TP
135 \fB\-P, \-\-playback\fR [ \fIname\fR ]
136 Provide only playback ports.  Optionally set device name.
137 .TP
138 \fB\-p, \-\-period \fIint\fR
139 .br
140 Specify the number of frames between JACK \fBprocess()\fR calls.  The
141 default is 1024.  If you need low latency, set \fB\-p\fR as low as you
142 can go without seeing xruns.  A larger period size yields higher
143 latency, but makes xruns less likely.  The JACK input latency in
144 seconds is \fB\-\-period\fR divided by \fB\-\-rate\fR.
145 .TP
146 \fB\-r, \-\-rate \fIint\fR
147 Specify the sample rate.  The default is 48000.
148 .TP
149 \fB\-S, \-\-shorts
150 .br
151 Try to configure card for 16-bit samples first, only trying 32-bits if
152 unsuccessful.  Default is to prefer 32-bit samples.
153 .TP
154 \fB\-s, \-\-softmode\fR 
155 .br
156 Ignore xruns reported by the ALSA driver.  This makes JACK less likely
157 to disconnect unresponsive ports when running without
158 \fB\-\-realtime\fR.
159 .SH EXAMPLES
160 .PP
161 Print usage message for options specific to each driver.
162 .IP
163 \fBjackd \-d alsa \-\-help\fR
164 .br
165 \fBjackd \-d dummy \-\-help\fR
166 .br
167 \fBjackd \-d portaudio \-\-help\fR
168 .PP
169 Run the JACK daemon with realtime priority using the first ALSA
170 hardware card defined in \fB/etc/modules.conf\fR.  This must be run on
171 a kernel with capabilities enabled.
172 .IP 
173 \fBjackstart \-\-realtime \-\-driver=alsa\fR
174 .PP
175 Run the JACK daemon with low latency giving verbose output, which can
176 be helpful for trouble-shooting system latency problems.  A reasonably
177 well-tuned current-generation system with a decent sound card and a
178 low-latency kernel with capabilities enabled can handle these values
179 reliably.  Some can do better.  If you get xrun messages, try a larger
180 buffer.  Tuning a system for low latency is challenging.  The JACK
181 FAQ, <\fBhttp://jackit.sourceforge.net/docs/faq.php\fR> has some
182 useful suggestions.
183 .IP 
184 \fBjackstart \-Rv \-d alsa \-p 128 \-n 3 \-r 44100\fR
185 .PP
186 Run \fBjackd\fR with realtime priority using the "sblive" ALSA device
187 defined in ~/.asoundrc.  Apply shaped dithering to playback audio.
188 This must be run as root.
189 .IP 
190 \fBjackd \-R \-d alsa \-d sblive \-\-dither=shaped\fR
191 .PP
192 Run \fBjackd\fR with no special privileges using the second ALSA
193 hardware card defined in \fB/etc/modules.conf\fR.  Any xruns reported
194 by the ALSA driver will be ignored.  The larger buffer helps reduce
195 data loss.  Rectangular dithering will be used for playback.
196 .IP 
197 \fBjackd \-d alsa \-d hw:1 \-p2048 \-n3 \-\-softmode \-zr\fR
198 .SH SEE ALSO:
199 .br
200 <\fBjackit-devel@lists.sourceforge.net\fR>
201 .br 
202 <\fBhttp://www.alsa-project.org\fR>
203 .SH BUGS
204 Please report bugs to
205 .br
206 <\fBhttp://jackit.sourceforge.net/mantis/main_page.php\fR>
207 .SH AUTHORS
208 Paul Davis and others.
209 .PP
210 Manpage originally written by Stefan Schwandter
211 <e9925373@student.tuwien.ac.at>, later adapted by Jack O'Quin
212 <joq@joq.us>.

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~ [ freetext search ] ~ [ file search ] ~

This page was automatically generated by the LXR engine.
Visit the LXR main site for more information.