Hello Everyone,
I'm new for MEPG decode. I just finished struggling from set-up MinGW/GCC environmnet. I've successfully compiled and linked minimad.
There must be something wrong with me. I got terrible PCM output. Any hint to improve it ?
What I did is just to decode a mp3 file with my minimad, and generate an output, for instance, pcm.wav. I played this raw pcm data with Sound Forge. Ohhh...it sounds terrible.
My platform is x86 (P4), so here is the compiling CFLAG in my makefile,
HAVE_CONFIG_H FPM_INTEL.
and in comfig.h
#define inline __inline #define STDC_HEADERS 1 #define HAVE_ERRNO_H 1 #define HAVE_FCNTL_H 1 #define HAVE_LIMITS_H 1 #define HAVE_SYS_TYPES_H 1 #define SIZEOF_INT 4 #define SIZEOF_LONG 4 #define SIZEOF_LONG_LONG 8
Did I miss something important ? Thanks in advance.
On Wednesday, July 23, 2003, at 08:27 PM, Yeh You-Ying wrote:
What I did is just to decode a mp3 file with my minimad, and generate an output, for instance, pcm.wav. I played this raw pcm data with Sound Forge. Ohhh...it sounds terrible.
It's important to realize minimad doesn't output a WAV file. It just writes raw PCM data in little-endian format. Make sure Sound Forge isn't treating the file as a WAV file or reading the PCM as big-endian samples.