]> code.delx.au - pulseaudio/blob - man/pacat.1.xml.in
update pulse-daemon.conf.5.xml.in about realtime-scheduling
[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>s32le</opt>,
112 <opt>s32be</opt>, <opt>float32le</opt>, <opt>float32be</opt>,
113 <opt>ulaw</opt>, <opt>alaw</opt>. Depending on the endianess of
114 the CPU the
115 formats <opt>s16ne</opt>, <opt>s16re</opt>, <opt>s32ne</opt>, <opt>s32re</opt>,
116 <opt>float32ne</opt>, <opt>float32re</opt> (for native,
117 resp. reverse endian) are available as aliases. Defaults to
118 s16ne.</p></optdesc>
119 </option>
120
121 <option>
122 <p><opt>--channels</opt><arg>=CHANNELS</arg></p>
123
124 <optdesc><p>Capture or play back audio with the specified number
125 of channels. If more than two channels are used it is
126 recommended to use the <opt>--channel-map</opt> option
127 below. Defaults to 2.</p></optdesc>
128 </option>
129
130 <option>
131 <p><opt>--channel-map</opt><arg>=CHANNELMAP</arg></p>
132
133 <optdesc><p>Explicitly choose a channel map when playing back
134 this stream. The argument should be a comma separated list of
135 channel names: <opt>front-left</opt>, <opt>front-right</opt>,
136 <opt>mono</opt>, <opt>front-center</opt>, <opt>rear-left</opt>,
137 <opt>rear-right</opt>, <opt>rear-center</opt>, <opt>lfe</opt>,
138 <opt>front-left-of-center</opt>,
139 <opt>front-right-of-center</opt>, <opt>side-left</opt>,
140 <opt>side-right</opt>, <opt>top-center</opt>,
141 <opt>top-front-center</opt>, <opt>top-front-left</opt>,
142 <opt>top-front-right</opt>, <opt>top-rear-left</opt>,
143 <opt>top-rear-right</opt>, <opt>top-rear-center</opt>, or any of
144 the 32 auxiliary channel names <opt>aux0</opt> to
145 <opt>aux31</opt>.</p></optdesc>
146 </option>
147
148 <option>
149 <p><opt>--fix-format</opt></p>
150 <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>
151 </option>
152
153 <option>
154 <p><opt>--fix-rate</opt></p>
155 <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>
156 </option>
157
158 <option>
159 <p><opt>--fix-channels</opt></p>
160 <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>
161 </option>
162
163 <option>
164 <p><opt>--no-remix</opt></p>
165 <optdesc><p>Never upmix or downmix channels.</p></optdesc>
166 </option>
167
168 <option>
169 <p><opt>--no-remap</opt></p>
170 <optdesc><p>Never remap channels. Instead of mapping channels by their name this will match them solely by their index/order.</p></optdesc>
171 </option>
172
173 </options>
174
175 <section name="Authors">
176 <p>The PulseAudio Developers &lt;@PACKAGE_BUGREPORT@&gt;; PulseAudio is available from <url href="@PACKAGE_URL@"/></p>
177 </section>
178
179 <section name="See also">
180 <p>
181 <manref name="pulseaudio" section="1"/>, <manref name="paplay" section="1"/>
182 </p>
183 </section>
184
185 </manpage>