logo

oasis-root

Compiled tree of Oasis Linux based on own branch at <https://hacktivis.me/git/oasis/> git clone https://anongit.hacktivis.me/git/oasis-root.git

tinycap.1 (1864B)


  1. .TH TINYCAP 1 "October 2, 2016" "tinycap" "TinyALSA"
  2. .SH NAME
  3. tinycap \- captures audio from an audio device
  4. .SH SYNOPSIS
  5. .B tinycap\fR [ \fIfile\fR ] [ \fIoptions\fR ]
  6. .SH Description
  7. \fBtinycap\fR can record audio from an audio device to a wav file or standard output (as raw samples).
  8. Options can be used to specify various hardware parameters to open the PCM with.
  9. .SH OPTIONS
  10. .TP
  11. \fB\-D\fR \fIcard\fR
  12. Card number of the PCM.
  13. The default is 0.
  14. .TP
  15. \fB\-d\fR \fIdevice\fR
  16. Device number of the PCM.
  17. The default is 0.
  18. .TP
  19. \fB\-M\fR
  20. Use memory-mapped I/O method.
  21. If this option is not specified, then read and write I/O method will be used.
  22. .TP
  23. \fB\-c\fR \fIchannels\fR
  24. Number of channels the PCM will have.
  25. The default is 2.
  26. .TP
  27. \fB\-r\fR \fIrate\fR
  28. Number of frames per second of the PCM.
  29. The default is 48000.
  30. .TP
  31. \fB\-b\fR \fIbits\fR
  32. Number of bits per sample the PCM will have.
  33. The default is 32.
  34. .TP
  35. \fB\-p\fR \fIperiod_size\fR
  36. Number of frames in a period.
  37. The default is 1024.
  38. .TP
  39. \fB\-n\fR \fIperiods\fR
  40. Number of periods the PCM will have.
  41. The default is 4.
  42. .TP
  43. \fB\-t\fR \fIseconds\fR
  44. Number of seconds to record audio.
  45. .SH SIGNALS
  46. When capturing audio, SIGINT will stop the recording and close the file.
  47. .SH EXAMPLES
  48. .TP
  49. \fBtinycap output.wav\fR
  50. Records a file called output.wav until an interrupt signal is caught.
  51. .TP
  52. \fBtinycap output.wav -D 1 -t 2
  53. Records a file called output.wav from card 1 for two seconds or until an interrupt signal is caught.
  54. .TP
  55. \fBtinycap -- -t 3
  56. Records to standard output for three seconds or until an interrupt signal is caught.
  57. .SH BUGS
  58. Please report bugs to https://github.com/tinyalsa/tinyalsa/issues.
  59. .SH SEE ALSO
  60. .BR tinyplay(1),
  61. .BR tinymix(1),
  62. .BR tinypcminfo(1)
  63. .SH AUTHORS
  64. Simon Wilson
  65. .P
  66. For a complete list of authors, visit the project page at https://github.com/tinyalsa/tinyalsa.