]> code.delx.au - pulseaudio/blob - man/pacat.1.xml.in
Merge dead branch 'lockfree'
[pulseaudio] / man / pacat.1.xml.in
1 <?xml version="1.0"?><!--*-nxml-*-->
2 <!DOCTYPE manpage SYSTEM "xmltoman.dtd">
3 <?xml-stylesheet type="text/xsl" href="xmltoman.xsl" ?>
4
5 <!--
6 This file is part of PulseAudio.
7
8 PulseAudio is free software; you can redistribute it and/or modify it
9 under the terms of the GNU Lesser General Public License as
10 published by the Free Software Foundation; either version 2.1 of the
11 License, or (at your option) any later version.
12
13 PulseAudio is distributed in the hope that it will be useful, but WITHOUT
14 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
15 or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General
16 Public License for more details.
17
18 You should have received a copy of the GNU Lesser General Public
19 License along with PulseAudio; if not, write to the Free Software
20 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
21 USA.
22 -->
23
24 <manpage name="pacat" section="1" desc="Play back or record raw audio streams on a PulseAudio sound server">
25
26 <synopsis>
27 <cmd>pacat [<arg>options</arg>] [<arg>FILE</arg>]</cmd>
28 <cmd>parec [<arg>options</arg>] [<arg>FILE</arg>]</cmd>
29 <cmd>paplay <opt>--help</opt></cmd>
30 <cmd>paplay <opt>--version</opt></cmd>
31 </synopsis>
32
33 <description>
34 <p><file>pacat</file> is a simple tool for playing back or
35 capturing raw audio files on a PulseAudio sound server.</p>
36 </description>
37
38 <options>
39
40 <option>
41 <p><opt>-h | --help</opt></p>
42
43 <optdesc><p>Show help.</p></optdesc>
44 </option>
45
46 <option>
47 <p><opt>--version</opt></p>
48
49 <optdesc><p>Show version information.</p></optdesc>
50 </option>
51
52 <option>
53 <p><opt>-r | --record</opt></p>
54
55 <optdesc><p>Capture raw audio data and write it to the specified file or to STDOUT if none is specified. If the tool is called under the name <file>parec</file> this is the default.</p></optdesc>
56 </option>
57
58 <option>
59 <p><opt>-p | --playback</opt></p>
60
61 <optdesc><p>Read raw audio data from the specified file or STDIN if none is specified, and play it back. If the tool is called under the name <file>pacat</file> this is the default.</p></optdesc>
62 </option>
63
64 <option>
65 <p><opt>-v | --verbose</opt></p>
66
67 <optdesc><p>Enable verbose operation. Dumps the current playback time to STDERR during playback/capturing.</p></optdesc>
68 </option>
69
70 <option>
71 <p><opt>-s | --server</opt><arg>=SERVER</arg></p>
72
73 <optdesc><p>Choose the server to connect to.</p></optdesc>
74 </option>
75
76 <option>
77 <p><opt>-d | --device</opt><arg>=SINKORSOURCE</arg></p>
78
79 <optdesc><p>Specify the symbolic name of the sink/source to play/record this stream on/from.</p></optdesc>
80 </option>
81
82 <option>
83 <p><opt>-n | --client-name</opt><arg>=NAME</arg></p>
84
85 <optdesc><p>Specify the client name <file>paplay</file> shall pass to the server when connecting.</p></optdesc>
86 </option>
87
88 <option>
89 <p><opt>--stream-name</opt><arg>=NAME</arg></p>
90
91 <optdesc><p>Specify the stream name <file>paplay</file> shall pass to the server when creating the stream.</p></optdesc>
92 </option>
93
94 <option>
95 <p><opt>--volume</opt><arg>=VOLUME</arg></p>
96
97 <optdesc><p>Specify the initial playback volume to use. Choose a value between 0 (silent) and 65536 (100% volume).</p></optdesc>
98 </option>
99
100 <option>
101 <p><opt>--rate</opt><arg>=SAMPLERATE</arg></p>
102
103 <optdesc><p>Capture or play back audio with the specified sample rate. Defaults to 44100 Hz.</p></optdesc>
104 </option>
105
106 <option>
107 <p><opt>--format</opt><arg>=FORMAT</arg></p>
108
109 <optdesc><p>Capture or play back audio with the specified sample
110 format. Specify one of <opt>u8</opt>, <opt>s16le</opt>,
111 <opt>s16be</opt>, <opt>float32le</opt>, <opt>float32be</opt>,
112 <opt>ulaw</opt>, <opt>alaw</opt>. Depending on the endianess of
113 the CPU the formats <opt>s16ne</opt>, <opt>s16re</opt>,
114 <opt>float32ne</opt>, <opt>float32re</opt> (for native,
115 resp. reverse endian) are available as aliases. Defaults to
116 s16ne.</p></optdesc>
117 </option>
118
119 <option>
120 <p><opt>--channels</opt><arg>=CHANNELS</arg></p>
121
122 <optdesc><p>Capture or play back audio with the specified number
123 of channels. If more than two channels are used it is
124 recommended to use the <opt>--channel-map</opt> option
125 below. Defaults to 2.</p></optdesc>
126 </option>
127
128 <option>
129 <p><opt>--channel-map</opt><arg>=CHANNELMAP</arg></p>
130
131 <optdesc><p>Explicitly choose a channel map when playing back
132 this stream. The argument should be a comma separated list of
133 channel names: <opt>front-left</opt>, <opt>front-right</opt>,
134 <opt>mono</opt>, <opt>front-center</opt>, <opt>rear-left</opt>,
135 <opt>rear-right</opt>, <opt>rear-center</opt>, <opt>lfe</opt>,
136 <opt>front-left-of-center</opt>,
137 <opt>front-right-of-center</opt>, <opt>side-left</opt>,
138 <opt>side-right</opt>, <opt>top-center</opt>,
139 <opt>top-front-center</opt>, <opt>top-front-left</opt>,
140 <opt>top-front-right</opt>, <opt>top-rear-left</opt>,
141 <opt>top-rear-right</opt>, <opt>top-rear-center</opt>, or any of
142 the 32 auxiliary channel names <opt>aux0</opt> to
143 <opt>aux31</opt>.</p></optdesc>
144 </option>
145
146 <option>
147 <p><opt>--fix-format</opt></p>
148 <optdesc><p>If passed, the sample format of the stream is changed to the native format of the sink the stream is connected to.</p></optdesc>
149 </option>
150
151 <option>
152 <p><opt>--fix-rate</opt></p>
153 <optdesc><p>If passed, the sampling rate of the stream is changed to the native rate of the sink the stream is connected to.</p></optdesc>
154 </option>
155
156 <option>
157 <p><opt>--fix-channels</opt></p>
158 <optdesc><p>If passed, the number of channels and the channel map of the stream is changed to the native number of channels and the native channel map of the sink the stream is connected to.</p></optdesc>
159 </option>
160
161 <option>
162 <p><opt>--no-remix</opt></p>
163 <optdesc><p>Never upmix or downmix channels.</p></optdesc>
164 </option>
165
166 <option>
167 <p><opt>--no-remap</opt></p>
168 <optdesc><p>Never remap channels. Instead of mapping channels by their name this will match them solely by their index/order.</p></optdesc>
169 </option>
170
171 </options>
172
173 <section name="Authors">
174 <p>The PulseAudio Developers &lt;@PACKAGE_BUGREPORT@&gt;; PulseAudio is available from <url href="@PACKAGE_URL@"/></p>
175 </section>
176
177 <section name="See also">
178 <p>
179 <manref name="pulseaudio" section="1"/>, <manref name="paplay" section="1"/>
180 </p>
181 </section>
182
183 </manpage>