View Single Post
Old 6th May 2011, 16:19   #252  |  Link
LoRd_MuldeR
Software Developer
 
LoRd_MuldeR's Avatar
 
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
Quote:
Originally Posted by Motenai Yoda View Post
I noticed that on transcoding from flac to mp3, with the stable build, a little delay (about 2200 samples) seems to be added to the beginning of each file...
It's due to the ID3 tag (or the Xing header) prepended by LAME, I guess

ID3v2 tags (in contrast to ID3v1) are stored at the beginning of the MP3 file and they are camouflaged as (silent) mp3 frames to retain compatibility with the original mp3 standard.

Decoders aware of ID3v2/Xing will probably discard these frames (maybe by option), while other decoders will decode them happily as silent samples...

(One mp3 frame covers exactly 1152 samples, so from your description it seems you got two extra frames)

Quote:
Originally Posted by Motenai Yoda View Post
and why the normalization option isn't settable on 0.0dB?
One shouldn't normalize up to the maximum possible sample value in order to avoid distortions, especially with respect to Audio-CD players.

See also:
http://lamexp.git.sourceforge.net/gi...=HEAD#434f2578

(To make a long story short: Even if all samples values are at most 0dBFS in the digital domain, the reconstructed analogue signal may still exceed 0dBFS and thus cause distortion)
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊

Last edited by LoRd_MuldeR; 7th May 2011 at 14:59.
LoRd_MuldeR is offline   Reply With Quote