Help - Search - Members - Calendar
Full Version: MP3 to uncompressed pcm
Hydrogenaudio Forums > Lossy Audio Compression > MP3 > MP3 - General
cunningvan
Hi guys,

I would like to ask something with regards to the pcm parameters. I decoded a 32bit float 44.1khz sampling mp3 file into a 16 bit 44.1khz sampling uncompressed pcm.

Can i just double check if the uncompressed pcm parameters is that the value in signed integer format and the machine format is little endian?
odyssey
Correct me if I'm wrong, but I thought there was no such thing as "pcm parameters". pcm is just a stream of bytes, and it's up to a header/container (like wav) to define how it should be decoded correctly, right?

Besides that, there are no such thing as bitdepth of mp3-files.
DVDdoug
odyssey is right... "PCM" tells you something about the raw data but it doesn't tell you anything about the file storage format.

The following is from the WAV file spec which you can find at Wotsit.org:
QUOTE
8-bit data is unsigned, but 16-bit data is signed...

...All data is stored in Motorola 68000 (ie, big endian) format.


You can look at the bytes in any file with a Hex Editor. (It helps if you are familiar with hexadecimal... Programmers use hex, because it's easier to read/write than binary and it's easy to convert between binary and hex... much easier than converting between binary and decimal.)
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.