123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566 |
- .Dd Jun 7, 2017
- .Dt AUTONE 1
- .Os
- .Sh NAME
- .Nm autone
- .Nd generate Au formatted audio tone
- .Sh SYNOPSIS
- .Nm
- .Op Fl R
- .Op Fl c Ar channels
- .Op Fl e Ar encoding
- .Op Fl f Ar frequency
- .Op Fl l Ar length
- .Op Fl n Ar periods
- .Op Fl r Ar rate
- .Op Fl t Ar type
- .Sh DESCRIPTION
- Generate an Au formatted audio stream consisting of a single tone.
- .Pp
- The options are as follows:
- .Bl -tag -width Ds
- .It Fl R
- Write raw data (without the Au header).
- .It Fl c Ar channels
- Set the number of channels in the output
- .Pq normally 1 .
- .It Fl e Ar encoding
- Set the encoding of the output
- .Pq normally 16-bit PCM .
- .It Fl f Ar frequency
- Set the frequency of the generated tona in Hertz
- .Pq normally 440 .
- .It Fl l Ar length
- Set the length of the generated tone in seconds
- .Pq rounded to the nearest full period ,
- overriding any previous
- .Fl l
- or
- .Fl n
- options.
- .It Fl n Ar periods
- Set the length of the generated tone in the number of periods,
- overriding any previous
- .Fl l
- or
- .Fl n
- options.
- .It Fl r Ar rate
- Set the sample-rate of the output
- .Pq normally 48000 .
- .It Fl t Ar type
- Set the type of the tone generated
- .Pq normally Sy square .
- The available types are
- .Sy square ,
- .Sy sawtooth ,
- and
- .Sy triangle .
- .El
- .Sh EXIT STATUS
- .Ex -std
- .Sh SEE ALSO
- .Xr au 7
- .Xr aumix 1
- .Xr audiotest 1
|