jack1 codebase
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

198 lines
7.4KB

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