listener.rst 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. .. RST source for listener(1) man page. Convert with:
  2. .. rst2man.py listener.rst > listener.1
  3. .. rst2man.py comes from the SBo development/docutils package.
  4. .. |version| replace:: 2.2
  5. .. |date| date::
  6. ========
  7. listener
  8. ========
  9. ------------------------------
  10. listen for sound and record it
  11. ------------------------------
  12. :Manual section: 1
  13. :Manual group: SlackBuilds.org
  14. :Date: |date|
  15. :Version: |version|
  16. SYNOPSIS
  17. ========
  18. listener [*-options*]
  19. DESCRIPTION
  20. ===========
  21. Listener listens for sound. If it detects any, it starts recording
  22. automatically and also automatically stops when things become silent
  23. again.
  24. OPTIONS
  25. =======
  26. Most options can be set in the config file.
  27. -c<configfile> Config file to use (default is **/etc/listener.conf**).
  28. -l<detect_level>
  29. Detect level.
  30. -m<min_duration>
  31. Minimum duration to record (samples).
  32. -b<rec_silence> How many seconds to keep recording after no sound is heard.
  33. -x<max_duration> Maximum duration to record (seconds).
  34. -S<pars> Sets the sample rate, number of channels, output file type, etc.
  35. e.g.: **44100,1,wav**
  36. or: **2,ima_adpcm,10khz**.
  37. See below for a list of fileformats and subtypes.
  38. -F Use a fixed amplification factor.
  39. -o Exit after 1 recording.
  40. -w<wav_path> Where to write outfile files.
  41. -p Read from pipe (together with splitaudio).
  42. -y<command> Script to call as soon as the recording starts.
  43. -e<command> Script to call after recording.
  44. -f Fork into the background.
  45. -a<pidfile> File to write the pid in.
  46. -s Be silent.
  47. -h Print help text and exit.
  48. Supported file formats: wav, aiff, au, raw, paf, svx, nist, voc, ircam, w64, mat4, mat5, pvf, xi, htk, sds, avr, wavex, sd2, flac, caf, wve, ogg, mpc2k, rf64
  49. Supported sub-types: pcm_s8, pcms8, pcm8, pcm_16, pcm16, pcm_24, pcm24, pcm_32, pcm32, pcm_u8, pcmu8, float, double, ulaw, alaw, ima_adpcm, ms_adpcm, gsm610, vox_adpcm, g721_32, g723_24, g723_40, dwvw_12, dwvw_16, dwvw_24, dwvw_n, dpcm_8, dpcm_16, vorbis
  50. FILES
  51. =====
  52. /etc/listener.conf The default config file (when **-c** not used).
  53. .. ENVIRONMENT
  54. .. ===========
  55. .. EXIT STATUS
  56. .. ===========
  57. .. BUGS
  58. .. ====
  59. .. EXAMPLES
  60. .. ========
  61. COPYRIGHT
  62. =========
  63. See the file /usr/doc/listener-|version|/license.txt for license information.
  64. AUTHORS
  65. =======
  66. listener was written by folkert@vanheusden.com.
  67. This man page written for the SlackBuilds.org project
  68. by B. Watson, and is licensed under the WTFPL.
  69. SEE ALSO
  70. ========
  71. The listener homepage: https://www.vanheusden.com/listener/