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.

196 lines
7.2KB

  1. .TH JACKD "1" @VERSION@ "June 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.
  98. .TP
  99. \fB\-n, \-\-nperiods \fIint\fR
  100. .br
  101. Specify the number of periods in the hardware buffer. The default is
  102. 2. The period size (\fB\-p\fR) times \fB\-\-nperiods\fR times four is
  103. the JACK buffer size in bytes.
  104. .TP
  105. \fB\-D, \-\-duplex\fR
  106. Provide both capture and playback ports (the default).
  107. .TP
  108. \fB\-C, \-\-capture\fR
  109. Provide only capture ports.
  110. .TP
  111. \fB\-P, \-\-playback\fR
  112. Provide only playback ports.
  113. .TP
  114. \fB\-H, \-\-hwmon\fR
  115. .br
  116. Enable hardware monitoring of capture ports. This is a method for
  117. obtaining "zero latency" monitoring of audio input. It requires
  118. support in hardware and from the underlying ALSA device driver.
  119. When enabled, requests to monitor capture ports will be satisfied by
  120. creating a direct signal path between audio interface input and output
  121. connectors, with no processing by the host computer at all. This
  122. offers the lowest possible latency for the monitored signal.
  123. Presently (March 2003), only the RME Hammerfall series and cards based
  124. on the ICE1712 chipset (M-Audio Delta series, Terratec, and others)
  125. support \fB\-\-hwmon\fR. In the future, some consumer cards may also
  126. be supported by modifying their mixer settings.
  127. Without \fB\-\-hwmon\fR, port monitoring requires JACK to read audio
  128. into system memory, then copy it back out to the hardware again,
  129. imposing the basic JACK system latency determined by the
  130. \fB\-\-period\fR and \fB\-\-nperiods\fR options.
  131. .TP
  132. \fB\-M, \-\-hwmeter\fR
  133. .br
  134. Enable hardware metering for devices that support it. Otherwise, use
  135. software metering.
  136. .TP
  137. \fB\-s, \-\-softmode\fR
  138. .br
  139. Ignore xruns reported by the ALSA driver. This makes JACK less likely
  140. to disconnect unresponsive ports when running without
  141. \fB\-\-realtime\fR.
  142. .TP
  143. \fB\-z, --dither [rectangular,triangular,shaped,none]
  144. Set dithering mode. If \fBnone\fR or unspecified, dithering is off.
  145. Only the first letter of the mode name is required.
  146. .SH EXAMPLES
  147. .PP
  148. Print usage message for options specific to the \fBalsa\fR driver.
  149. .IP
  150. \fBjackd \-d alsa \-\-help\fR
  151. .PP
  152. Run the JACK daemon with realtime priority using the first ALSA
  153. hardware card defined in \fB/etc/modules.conf\fR. This must be run on
  154. a kernel with capabilities enabled.
  155. .IP
  156. \fBjackstart \-\-realtime \-\-driver=alsa \-\-device=hw:0\fR
  157. .PP
  158. Run the JACK daemon with low latency. A reasonably well-tuned
  159. current-generation system with a decent sound card and a low-latency
  160. kernel with capabilities enabled can handle these values reliably.
  161. Some can do better. If you get xrun messages, try a larger buffer.
  162. Tuning a system for low latency is challenging. The JACK FAQ,
  163. <\fBhttp://jackit.sourceforge.net/docs/faq.php\fR> has some useful
  164. suggestions.
  165. .IP
  166. \fBjackstart \-R \-d alsa \-d hw:0 \-p 128 \-n 3 \-r 44100\fR
  167. .PP
  168. Run \fBjackd\fR with realtime priority using the "sblive" ALSA device
  169. defined in ~/.asoundrc. Apply shaped dithering to playback audio.
  170. This must be run as root.
  171. .IP
  172. \fBjackd \-R \-d alsa \-d sblive \-\-dither=shaped\fR
  173. .PP
  174. Run \fBjackd\fR with no special privileges using the "sblive" ALSA
  175. device defined in ~/.asoundrc. Any xruns reported by the ALSA driver
  176. will be ignored. The larger buffer helps reduce data loss.
  177. Rectangular dithering will be used for playback.
  178. .IP
  179. \fBjackd \-d alsa \-d sblive \-p1024 \-n3 \-\-softmode \-zr\fR
  180. .SH SEE ALSO:
  181. .BR <\fBhttp://www.alsa-project.org\fR>
  182. .SH BUGS
  183. Please send bug reports to <\fBjackit-devel@lists.sourceforge.net\fR>.
  184. .SH AUTHORS
  185. Paul Davis and others.
  186. .PP
  187. Manpage originally written by Stefan Schwandter
  188. <e9925373@student.tuwien.ac.at> and later adapted by Jack O'Quin
  189. <joq@joq.us>.