Help - Search - Members - Calendar
Full Version: MP3 End Silence Removal & Audio Card Quality
Hydrogenaudio Forums > Hydrogenaudio Forum > General Audio
farquhardt
Hello all -

Two questions for the gurus on this site. First the background: I'm using EAC and ripping cd's in both .wav and .mp3 formats. When ripping the Mp3's I'm using LAME 3.97 as an external compressor in EAC. Both are excellent! However, while I have a nice program to get rid of dead silence at the beginning and end of the .wav files (WavTrim Pro) I'm lacking one to do the same on the Mp3 files. Is there any way to get LAME 3.97 to do this?

The other question is: My sound card is currently a Creative X-Fi Extreme Music version and it sounds good playing through an above-average home stereo system. Can anyone attest to a better sounding card with optical or coax output? I'm specifying optical or coax in order to take advantage of the higher quality DAC's in my Harman-Kardon receiver.

Thanks in advance for any advice.
Lyx
QUOTE(farquhardt @ Jul 29 2007, 23:37) *

However, while I have a nice program to get rid of dead silence at the beginning and end of the .wav files (WavTrim Pro) I'm lacking one to do the same on the Mp3 files.

mp3trim. It will however NOT create gapless mp3s. There is more about gapless playback than silent frames and the track end/beginning. To keep it short: the only sane way to get gapless mp3s, is to rip them properly with lame, and using a player which supports lame's gapless playback implemenation.

QUOTE(farquhardt @ Jul 29 2007, 23:37) *

The other question is: My sound card is currently a Creative X-Fi Extreme Music version and it sounds good playing through an above-average home stereo system. Can anyone attest to a better sounding card with optical or coax output? I'm specifying optical or coax in order to take advantage of the higher quality DAC's in my Harman-Kardon receiver.


Get better speakers and room-acoustics instead. The eletronic domain nowadays is not a quality-bottleneck anymore.

- Lyx
farquhardt
Actually I do have Mp3 trim but I'm trying to avoid having to edit Mp3's individually as I'm in the process of ripping about 7K of them. I'm looking for an 'automatic' way to get rid of the ending silence. Relative to the room and speakers, the room is the room and I can't change that. The speakers are already above-average Infinity units.
Dynamic
QUOTE
I'm looking for an 'automatic' way to get rid of the ending silence.


As Lyx said, it's not each MP3 that's the problem, and no MP3 trimmer will solve it.

The above statement is assuming that you wish to play back live albums and gapless DJ-mix style albums and "concept albums" where tracks run into one another. If there was silence on the original CD and you wish to remove it, that's a different thing for which player silence-removal plugins are available.

An encoder like LAME will record the encoder delay and padding in the LAME header tag (unless you disable it) to enable a smart decoder to recover the accurate length of the original audio. Such gapless-aware decoders include Foobar2000 and iTunes on PCs and for standalone players, the iPod or any player with Rockbox 'firmware' installed (I think it's all Rockbox implementations that are gapless).

The MP3 format has a few things which prevent it from being intrinsically gapless, including a different "frame" length to CDs and, being a transform codec, the need to pad with zeroes at start and end because of windowing functions and overlapping transform windows and the fact that some of the information and energy is spread out slightly in time.

The gapless fix of specifying the accurate length in the LAME header is good enough to rarely show a problem, though there may be a few instances (as 2Bdecided pointed out in a thread a few months ago) where there is then an abrupt change between tracks with gapless info that wouldn't be present if they had been encoded as a single file (I'll call this a "gapless glitch" below). This can be fixed (method 1) by using whole-CD images, using CUE sheets to specify the track loactions within the image, but this loses compatibilty with most standalone players and many software players that don't understand CUE sheets. Use foobar2000 and there's no problem. For individual files, one per track, the fix would be to append the beginning instant of the next track rather than to pad with zeroes before encoding, and likewise to prepend the final instant of the previous track at the front (but this requires either better integration between ripper and encoder) or to encode a whole image then split the MP3, inserting accurate length info and keeping the frames which overlap in both files at the split point.

If you're using a PC, the best thing is to use a gapless-aware player. Foobar2000 seems to be the favourite here, and I'd concur. It also reads CUE sheets, so there's no problem with possible gapless glitches either. If you ripped securely using something like EAC or dBpowerAmp with correctly set Read Offset, it should play back in shuffle mode or default mode as accurately as any MP3 could. Personally, I'm not aware of any instances where a gapless glitch has been noticeable using foobar2000 and individual MP3 files.

My problem comes with my in-car CD/USB MP3 player. Like many hardware decoders and many old-tech software decoders, it completely closes the audio stream between files then re-opens it for the next track ensuring a gap even between files cut with mp3DirectCut. If I want to ensure good playback of a live album there, I have to encode as a single file per CD, thereby disabling shuffle (which is really crap on my player) or manual track selection - unless of course I have both a track-based and image-based version of the album. Normally, I just live with the gaps, because I don't usually play too much music that requires gapless.

For me foobar2000 and individual LAME MP3 files is completely good enough. CD Image LAME MP3 files and CUE sheets (or embedded CUE sheets) would be just as good with foobar2000, and would safeguard against the gapless glitch, but it's rare enough that I don't find it worthwhile, given that individual files are preferable for my in-car needs where I must live with the gap.
Lyx
QUOTE(farquhardt @ Jul 30 2007, 00:42) *

Relative to the room and speakers, the room is the room and I can't change that. The speakers are already above-average Infinity units.

Then you have already reached your personal soundquality-zenit, regarding music-reproduction. Whats left is "what" is reproduced and who perceives it. The latter isn't meant sarcastically - since music is there to be perceived, and perception is done by a consciousness, subjective factors imho are just as important as objective factors. The point however is that it is not necessary to pay cash for the subjective part - because its all in your head. Learn to enjoy and explore the experience, increase your attention... and you get all the subjective candy which the "audiophiles" get... but without the empty pockets :)
Dawnrazor-age
QUOTE(farquhardt @ Jul 29 2007, 16:37) *


The other question is: My sound card is currently a Creative X-Fi Extreme Music version and it sounds good playing through an above-average home stereo system. Can anyone attest to a better sounding card with optical or coax output? I'm specifying optical or coax in order to take advantage of the higher quality DAC's in my Harman-Kardon receiver.

Thanks in advance for any advice.


I tend to agree with the other posts, but for different reasons. If you plan to take digital out to your HK, you probably won't improve that much upon the X-fi (if it is bit perfect).

However, i do think there are cards that have better dacs than the ones in the Hk. But it would be kind of pointless since such a card would have to run through your HKs pre amp section, which would kill any advances from the better dacs on the card. At least my HK receiver's pre amp section was a huge choking point.

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-2008 Invision Power Services, Inc.