autone.1 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. .Dd Jun 7, 2017
  2. .Dt AUTONE 1
  3. .Os
  4. .Sh NAME
  5. .Nm autone
  6. .Nd generate Au formatted audio tone
  7. .Sh SYNOPSIS
  8. .Nm
  9. .Op Fl R
  10. .Op Fl c Ar channels
  11. .Op Fl e Ar encoding
  12. .Op Fl f Ar frequency
  13. .Op Fl l Ar length
  14. .Op Fl n Ar periods
  15. .Op Fl r Ar rate
  16. .Op Fl t Ar type
  17. .Sh DESCRIPTION
  18. Generate an Au formatted audio stream consisting of a single tone.
  19. .Pp
  20. The options are as follows:
  21. .Bl -tag -width Ds
  22. .It Fl R
  23. Write raw data (without the Au header).
  24. .It Fl c Ar channels
  25. Set the number of channels in the output
  26. .Pq normally 1 .
  27. .It Fl e Ar encoding
  28. Set the encoding of the output
  29. .Pq normally 16-bit PCM .
  30. .It Fl f Ar frequency
  31. Set the frequency of the generated tona in Hertz
  32. .Pq normally 440 .
  33. .It Fl l Ar length
  34. Set the length of the generated tone in seconds
  35. .Pq rounded to the nearest full period ,
  36. overriding any previous
  37. .Fl l
  38. or
  39. .Fl n
  40. options.
  41. .It Fl n Ar periods
  42. Set the length of the generated tone in the number of periods,
  43. overriding any previous
  44. .Fl l
  45. or
  46. .Fl n
  47. options.
  48. .It Fl r Ar rate
  49. Set the sample-rate of the output
  50. .Pq normally 48000 .
  51. .It Fl t Ar type
  52. Set the type of the tone generated
  53. .Pq normally Sy square .
  54. The available types are
  55. .Sy square ,
  56. .Sy sawtooth ,
  57. and
  58. .Sy triangle .
  59. .El
  60. .Sh EXIT STATUS
  61. .Ex -std
  62. .Sh SEE ALSO
  63. .Xr au 7
  64. .Xr aumix 1
  65. .Xr audiotest 1