maplay

SYNOPSIS

maplay [options] mpegfile

Options:

[-h] [-v] [-s] [-l] [-r] [-c] [-f ushort]

DESCRIPTION

maplay plays MPEG-1 layer I and layer II audio streams by adding them to the Be's DAC stream. It's a port of Tobias Bading's maplay for Unices.

OPTIONS

-h
Displays short help message
-v
Switches on verbose mode. You will get information about the stream, like mode, bitrate, copyright etc., if you use this option.
-s
Switches on stdout mode. This option tells the program to decode the stream to stdout. The created output contains 16 bit signed PCM samples. If the stream is in stereo mode, the samples of both channels are interleaved, the sample for the left channel first.
-l
Left channel mode only. maplay decodes (and plays) the left channel of stereo streams only. This option halves the required CPU time.
-r
Right channel mode only. Same as above, but right channel.
-c
This option instructs the program to report filter range violations to stderr. Sometimes PCM values calculated by the synthesis filter exceede the 16 bit boundary and must be mapped to these boundaries. If you can hear this, you may use the next option.
-f ushort
maplay uses this scalefactor instead of the default value 32768 for the synthesis filter. You can reduce or eliminate range violations with this option, but lower scalefactor values reduce the signal-to-noise ratio, too. I can't remember when I used this option the last time myself.

AUTHORS

Original Author:

Tobias Bading

bading@cs.tu-berlin.de

Porter to BeOS:

Waleed Kadous

Ideas To Code Software

waleed@cse.unsw.edu.au