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/…
[View More]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
[View Less]
Hi there:
I met with a new problem in the stereo mode: The two channels have different sound information and I only need to detect a tone with the specific frequency in the left channel. What changes shall I make for the following formula if I have two channels and each channel has 576 units pcm information.
Thank you!
shiming
> 1. I use mad library to get the pcm data of a marker tone, each frame
> contain 576 samples. I turned each 16 bits integer samples into floating
> …
[View More]point by divided by 32768. And I put it into a floating point array
> pcm[576].
>
> 2. I tried to do fourier transformation to those pcm data:
> Fk = sum (pcm[i] * cos(2*pi*k*i / N))
>
> N = 576
> i: from 0 to N
> k: from 0 to N / 2
> F[288]: is a floating point array
>
Thank you!
shiming
---------------------------------
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
[View Less]
Here is a patch for adding pkg-config support to libmad.
It would make life a bit easier for distro maintainers if this was applied.
In case you didn't know, pkg-config is a tool for providing LDFLAGS and
CFLAGS for packages using shared libraries. It's on freedesktop.org.
Debian has already been distributing the pkg-config file mad.pc with
libmad for some time, and people developing on debian (notably xmms2
developers) have started relying on this support being present, causing
some confusion …
[View More]for people installing from source and on some BSDs which
do not provide mad.pc (google: pkgconfig libmad).
EMH
[View Less]
Hi!
I am trying to play attached bitstream using mimimad application.
and minimad say to me
decoding error 0x0235 at byte offset 0
MAD_ERROR_BADDATAPTR = 0x0235, /* bad main_data_begin pointer */
but my winamp play it well.
What is the problem?
I attach only firs 16 kB of bitstream.
in start of file there is a header of 0x240 bytes I "remove" it by
simple seeking the file pointer.
The problem is located in function
int mad_layer_III(MAD_STREAM *stream, MAD_FRAME *frame)
but
where …
[View More]exactly
here
error = III_sideinfo(&stream->ptr, nch, header->flags & MAD_FLAG_LSF_EXT, &si, &data_bitlen, &priv_bitlen);
or here -
// -------- find main_data of this frame -----------
frame_space = stream->next_frame - mad_bit_nextbyte(&stream->ptr);
...
I don't know.
And one of possibilities is - wrong bitstream? but winamp play it
well.
So could some one help me understand what is the problem?
--
Best regards,
Grigory mailto:Ryhor@tut.by
[View Less]
Hi loboWu!
I've sent it to you from several e-mail accounts - but it didn't work
- always same - fail to delivery
So I try to do same from my yahoo.com e-mail
and more
http://dsp.neora.ru/cores/mp3.zip
Grigory.
Thursday, August 5, 2004, 2:28:30 PM, you wrote:
l> Hi, Grigory:
l> �
l> �
l> I am trying to port the MAD library for the TI-54X DSP,too
l> And I try to implemnt it with Q1.15, but in vain.
l> The output is so terrible with noise.
l> �
l> Could you please …
[View More]send me your implementation for reference ?
l> �
l> I will try my best for it, and put it on DM270 platform!
l> �
l> Thank you very much!
l> �
l> Lobo Wu,��� ITRI/CCL��� Taiwan
--
Best regards,
Grigory mailto:Ryhor@tut.by
[View Less]