Peoples,
I'm about to launch into a debugging session to see why mp3gain
(http://mp3gain.sourceforge.net/ ) and madplay 0.15.1b don't seem to be
playing together (no pun intended). I thought I'd ask if anyone has used
the two together yet, or if there is another linux-based replaygain
processor (for adding replaygain to existing mp3s) that is more reliable.
map3gain does appear to be adding a tag, as it finds it again if rerun
over the same file.
"# mp3gain /tmp/Abracadabra.mp3
/tmp/Abracadabra.mp3
Recommended "Track" dB change: -1.690000
Recommended "Track" mp3 gain change: -1
Max PCM sample at current gain: 28533.063680
Max mp3 global gain field: 180
Min mp3 global gain field: 116
Recommended "Album" dB change for all files: -7.490000
Recommended "Album" mp3 gain change for all files: -5"
madplay doesn't appear to find it:
"# madplay -G -Tv /tmp/Abracadabra.mp3
MPEG Audio Decoder 0.15.1 (beta) - Copyright (C) 2000-2004 Robert Leslie
et al.
Title: Abracadabra
Artist: The Steve Miller Band
Album: Golds Greatest Hits
Track: 11
Year: 1982
Genre: Vocal
Encoder Version: LAME 3.92
VBR Method: constant
Bitrate: 255+ kbps
Stereo Mode: normal
Preset: none
Unwise Settings: no
Encoding Flags:
Lowpass Filter: 19500 Hz
ATH Type: 2
Noise Shaping: 1
Surround: none
Start Delay: 576 samples
End Padding: 1503 samples
Source Rate: 44.1 kHz
Music Length: 9948263 bytes
Audio Frames: 11900"
(note the missing "Replay Gain" printout I expect after reading the source)
I'd hasten to add that I suspect mp3gain of doing something wrong, not
madplay. I'm guessing the tag is wrong or in the wrong place.
Any info would be appreciated, otherwise I'll report my findings to the
list when I discover the root cause.
/Bruce
Hi there:
I tried to get the raw pcm data from a mp3-encoded riff wav file. Can I use
the libmad to do that? I mean, except to the header of the file, is each
frame header and data the same as that in the mp3 file? And where can I get
such file's format description?
Thank you!
shiming
_________________________________________________________________
FREE pop-up blocking with the new MSN Toolbar get it now!
http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/
Thanks alot.
This works perfectly even though it does give a warning saying that
"FDM_INTEL" is redefined in "mad.h". However, it decodes an mp3 to pcm fine
using "./minimad <track.mp3> track.pcm".
>From: Rob Leslie <rob(a)mars.org>
>To: mad-dev(a)lists.mars.org
>Subject: Re: [mad-dev] Compiling minimad.c under Windows
>Date: Sun, 6 Jun 2004 12:45:29 -0700
>
>On Jun 6, 2004, at 2:34 AM, Some One wrote:
>>Hi, I'm trying to compile minimad.c using Cygwin and GCC.
>>
>>I've copied the "libmad-0.51.1b" folder into the Cygwin root as "mad" and
>>followed all the steps in the "INSTALL" file (configure, make, make
>>install). It does all that fine (makes the Makefile and config file,
>>creates the objects in the "./deps" folder, installs the mad library in
>>"usr/local/lib" and puts "mad.h" in "usr/local/include").
>>
>>However, when a try "make minimad" in the "mad" folder, it returns:
>>"gcc -Wall -march=i486 -g -O -fforce-mem -fforce-addr -fthread-jumps
>>-fcse-follow -jumps -fcse-skip-blocks -fexpensive-optimizations -fregmove
>>-fschedule-insns2 -fstrength-reduce
>>minimad.c -o minimad
>>/cygdrive/c/DOCUME~1/USERNAME/LOCALS~1/Temp/ccyf7LL5.o(.text+0xc3): In
>>function `input':
>>/mad/minimad.c:92: undefined reference to `_mad_stream_buffer'
>>/cygdrive/c/DOCUME~1/USERNAME/LOCALS~1/Temp/ccyf7LL5.o(.text+0x246): In
>>function `error':
>>/mad/minimad.c:177: undefined reference to `_mad_stream_errorstr'
>>/cygdrive/c/DOCUME~1/USERNAME/LOCALS~1/Temp/ccyf7LL5.o(.text+0x2a7): In
>>function `decode':
>>/mad/minimad.c:209: undefined reference to `_mad_decoder_init'
>>/cygdrive/c/DOCUME~1/USERNAME/LOCALS~1/Temp/ccyf7LL5.o(.text+0x2b2):
>>/mad/minimad.c:215: undefined reference to `_mad_decoder_run'
>>/cygdrive/c/DOCUME~1/USERNAME/LOCALS~1/Temp/ccyf7LL5.o(.text+0x2bc):
>>/mad/minimad.c:219: undefined reference to `_mad_decoder_finish'
>>collect2: ld returned 1 exit status
>>make: *** [minimad] Error 1"
>>
>>I don't know what I'm doing wrong or even what it means by "undefined
>>reference".
>
>Try instead: make minimad.exe
>
>--
>Rob Leslie
>rob(a)mars.org
>
_________________________________________________________________
Download games, logos, wallpapers and lots more at MSN Mobile!
http://www.msn.com.sg/mobile/
Hi, I'm trying to compile minimad.c using Cygwin and GCC.
I've copied the "libmad-0.51.1b" folder into the Cygwin root as "mad" and
followed all the steps in the "INSTALL" file (configure, make, make
install). It does all that fine (makes the Makefile and config file, creates
the objects in the "./deps" folder, installs the mad library in
"usr/local/lib" and puts "mad.h" in "usr/local/include").
However, when a try "make minimad" in the "mad" folder, it returns:
"gcc -Wall -march=i486 -g -O -fforce-mem -fforce-addr -fthread-jumps
-fcse-follow -jumps -fcse-skip-blocks -fexpensive-optimizations -fregmove
-fschedule-insns2 -fstrength-reduce
minimad.c -o minimad
/cygdrive/c/DOCUME~1/USERNAME/LOCALS~1/Temp/ccyf7LL5.o(.text+0xc3): In
function `input':
/mad/minimad.c:92: undefined reference to `_mad_stream_buffer'
/cygdrive/c/DOCUME~1/USERNAME/LOCALS~1/Temp/ccyf7LL5.o(.text+0x246): In
function `error':
/mad/minimad.c:177: undefined reference to `_mad_stream_errorstr'
/cygdrive/c/DOCUME~1/USERNAME/LOCALS~1/Temp/ccyf7LL5.o(.text+0x2a7): In
function `decode':
/mad/minimad.c:209: undefined reference to `_mad_decoder_init'
/cygdrive/c/DOCUME~1/USERNAME/LOCALS~1/Temp/ccyf7LL5.o(.text+0x2b2):
/mad/minimad.c:215: undefined reference to `_mad_decoder_run'
/cygdrive/c/DOCUME~1/USERNAME/LOCALS~1/Temp/ccyf7LL5.o(.text+0x2bc):
/mad/minimad.c:219: undefined reference to `_mad_decoder_finish'
collect2: ld returned 1 exit status
make: *** [minimad] Error 1"
I don't know what I'm doing wrong or even what it means by "undefined
reference".
Thanks in advance for any help.
_________________________________________________________________
Watch the online reality show Mixed Messages with a friend and enter to win
a trip to NY
http://www.msnmessenger-download.click-url.com/go/onm00200497ave/direct/01/