version 1.119, 2023/01/10 20:48:34 |
version 1.120, 2024/03/20 08:42:11 |
|
|
.Nm aucat |
.Nm aucat |
.Op Fl dn |
.Op Fl dn |
.Op Fl b Ar size |
.Op Fl b Ar size |
.Op Fl c Ar min : Ns Ar max |
.Op Fl c Ar channels |
.Op Fl e Ar enc |
.Op Fl e Ar enc |
.Op Fl f Ar device |
.Op Fl f Ar device |
.Op Fl g Ar position |
.Op Fl g Ar position |
.Op Fl h Ar fmt |
.Op Fl h Ar fmt |
.Op Fl i Ar file |
.Op Fl i Ar file |
.Op Fl j Ar flag |
.Op Fl m Ar min : Ns Ar max Ns / Ns Ar min : Ns Ar max |
.Op Fl o Ar file |
.Op Fl o Ar file |
.Op Fl p Ar position |
.Op Fl p Ar position |
.Op Fl q Ar port |
.Op Fl q Ar port |
|
|
.It Fl b Ar size |
.It Fl b Ar size |
The buffer size of the audio device in frames. |
The buffer size of the audio device in frames. |
Default is 7680. |
Default is 7680. |
.It Fl c Ar min : Ns Ar max |
.It Fl c Ar channels |
The range of audio file channel numbers. |
The audio file channels count. |
The default is |
The default is 2, i.e. stereo. |
.Cm 0:1 , |
|
i.e. stereo. |
|
.It Fl d |
.It Fl d |
Increase log verbosity. |
Increase log verbosity. |
.It Fl e Ar enc |
.It Fl e Ar enc |
|
|
If the option argument is |
If the option argument is |
.Sq - |
.Sq - |
then standard input will be used. |
then standard input will be used. |
.It Fl j Ar flag |
.It Fl m Ar min : Ns Ar max Ns / Ns Ar min : Ns Ar max |
Control whether source channels are joined or expanded if |
Map the given range of source channels into the given range of |
they don't match the destination number of channels. |
destination channels. |
If the flag is |
|
.Cm off , |
|
then each source channel is routed to a single destination channel, |
|
possibly discarding channels. |
|
If the flag is |
|
.Cm on , |
|
then a single source may be sent to multiple destinations |
|
and multiple sources may be mixed into a single destination. |
|
For instance, this feature could be used to convert |
|
a stereo file into a mono file mixing left and right channels together. |
|
The default is |
|
.Cm off . |
|
.It Fl n |
.It Fl n |
Off-line mode. |
Off-line mode. |
Read input files and store the result in the output files, |
Read input files and store the result in the output files, |
|
|
.Pp |
.Pp |
On the command line, |
On the command line, |
per-file parameters |
per-file parameters |
.Pq Fl cehjrv |
.Pq Fl cehmrv |
must precede the file definition |
must precede the file definition |
.Pq Fl io . |
.Pq Fl io . |
.Pp |
.Pp |
|
|
channels 6 and 7 into another stereo file using a 44.1kHz sampling |
channels 6 and 7 into another stereo file using a 44.1kHz sampling |
rate for both: |
rate for both: |
.Bd -literal -offset indent |
.Bd -literal -offset indent |
$ aucat -r 44100 -c 2:3 -o file1.wav -c 6:7 -o file2.wav |
$ aucat -r 44100 -m 2:3/0:1 -o file1.wav -m 6:7/0:1 -o file2.wav |
.Ed |
.Ed |
.Pp |
.Pp |
Split a stereo file into two mono files: |
Split a stereo file into two mono files: |
.Bd -literal -offset indent |
.Bd -literal -offset indent |
$ aucat -n -i stereo.wav -c 0:0 -o left.wav \e |
$ aucat -n -i stereo.wav -c 1 -m 0:0/0:0 -o left.wav \e |
-c 1:1 -o right.wav |
-m 1:1/0:0 -o right.wav |
.Ed |
.Ed |
.Sh SEE ALSO |
.Sh SEE ALSO |
.Xr cdio 1 , |
.Xr cdio 1 , |