Look at the
user doc for lame[
^]. Do a search for bitwidth and you'll find this:
Quote:
Input options for raw PCM:
-r read the input file as a raw (headerless) PCM stream
-s n input sampling frequency in kHz (Default 44.1Khz)
--signed input is signed (default)
--unsigned input is unsigned
--bitwidth w input bit width is w (default 16)
-x swap bytes of input file
--little-endian input is little-endian (default)
--big-endian input is big-endian
-a downmix stereo file to mono file for mono encoding.
Needed with RAW input for the -mm mode to do the downmix.
Possible that bitwidth is defaulting to 16 causing the data to be interpreted incorrectly... try setting that to 8.