mp3dec 792 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. .TH MP3DEC 1
  2. .SH NAME
  3. mp3dec \- decode audio MPEG files (layers 1, 2 and 3)
  4. .SH SYNOPSIS
  5. .B mp3dec
  6. [
  7. .B -o
  8. .I outfile
  9. ]
  10. [
  11. .I file
  12. \&...
  13. ]
  14. .SH DESCRIPTION
  15. .I Mp3dec
  16. decodes one or more MPEG audio files, writing
  17. 16-bit stereo linear PCM sample data to
  18. .I outfile
  19. (default
  20. .BR /dev/audio ).
  21. If no files are named,
  22. .I mp3dec
  23. reads standard input.
  24. .PP
  25. In the absence of the
  26. .B -o
  27. option,
  28. .I mp3dec
  29. also opens
  30. .BR /dev/volume
  31. and sets the sample rate for playback to
  32. match the audio stream.
  33. When writing to
  34. .IR outfile ,
  35. .I mp3dec
  36. prints a warning to standard error
  37. if the stream rate is not 44100 Hz.
  38. .SH BUGS
  39. It's another GNU behemoth, lightly tamed.
  40. .SH SOURCE
  41. .B /sys/src/games/mp3dec
  42. .SH "SEE ALSO"
  43. .IR mp3enc (1),
  44. .IR juke (7),
  45. .IR playlistfs (7)
  46. .br
  47. .B http://www.underbit.com/products/mad/