---
name: "maplay"
section: "1"
platform: "linux"
package: "maplay3"
version: "1.1-3"
release: "Debian 2.2 (Potato)"
platforms: ["linux"]
url: "https://new.carta.tech/maplay"
---

# maplay(1)

play a layer I layer II or layer III MPEG audio stream

## NAME

maplay - play a layer I layer II or layer III MPEG audio stream

## SYNOPSIS

**maplay** \[-v\] \[-s\] \[-l\] \[-r\] \[-us\] \[-uh\] \[-ul\] \[-amd\] \[-c\] \[-f  *ushort* \]  *filename*

## DESCRIPTION

The *maplay* program decodes layer I, II, and III MPEG audio streams and plays them using a CD-quality audio device.  It supports all modes, which are single channel, stereo, joint stereo and dual channel, and all bitrates except free mode.

## OPTIONS

- *filename*

  filename of a MPEG audio stream or - for stdin

- *-h*

  short help

- *-v*

  **verbose mode -** Returns information about the stream, like mode, bitrate, and copyright.

- *-s*

  **stdout mode -** Decodes the stream to stdout.  The created output contains 16 bit

- *-l*

  Decodes (and plays) the left channel of stereo streams only.  This option halves the required CPU time.

- *-r*

  Same as *-l ,* but decodes the right channel only

- *-ul*

  This option is available on machines with the dbri device and sends the audio output to the line out jack.

- *-amd*

  Forces maplay to treat /dev/audio as an amd device.  Use it if your SPARC clone has an amd device, but maplay doesn't recognize it.  This option may also be used on a machine with a dbri device, because the dbri device can also produce u-law output.

- *-c*

  Reports filter range violations to stderr.  Sometimes PCM values calculated by the synthesis filter exceed the 16 bit boundary and must be mapped to these boundaries.

- *-f ushort*

  Use this scalefactor instead of the default value 32768 for the synthesis filter.  Range violations can be reduced or eliminated with this option, but lower scalefactor values reduce the signal-to-noise ratio, too.

## COPYRIGHT

Copyright (C) 1993, 1994 Tobias Bading\
 Optimizing Layer III routines Copyright (C) 1996, 1997 Jeff Tsay (ctsay@pasteur.eecs.berkeley.edu).\
 Playlists and integrating Layer III routines from Maplay 1.2+ 1.80 for Windows Copyright (C) 1996, 1997 Timo Jantunen (timo.jantunen@hut.fi).

## AUTHORS

Tobias Bading, Jeff Tsay, and Timo Jantunen

## DEBIAN MAINTAINER

Brian Mays  \<brian@debian.org\>
