Tips for generating MP3s

with industry Pro, Nick Batzdorf

Moderators: mdc, admin, TAXIstaff

User avatar
mojobone
King of the World
King of the World
Posts: 11843
Joined: Sat May 17, 2008 11:20 pm
Gender: Male
Location: Up in Indiana, where the tall corn grows

Re: Tips for generating MP3s

Post by mojobone »

Len911 wrote: It is my understanding that dither masks the quantization errors caused by rounding numerical values by adding noise across the entire spectrum. The mp3 lossy compression encoder to my understanding, removes signal data that is not in the normal person's range of hearing to decrease the data size. I am curious that when you remove some of the signal if it might not magnify the quantization errors if there is no dither.
Ha! Len, that post sent me back to the woodshed. In a 16-bit PCM system, dither on input does reduce quantization/stairstepping errors, though not by rounding; there's a brilliant and rather involved explanation of how that works on pages 53-54 of Bob Katz' book Mastering Audio. Any case, you're talking about the front end of a PCM digital system rather than MP3 encoding, which is maybe more a data process than an audio process. Quoting Katz, p. 55: "With 24-bit conversion and storage, dithering is probably not necessary during the original analog encoding because the inherent thermal noise on their inputs tends to self-dither around the twentieth bit."

Dither may also be required at many digital processing stages within a DAW, for example, between plugins or at the mix bus, but this is largely transparent to the operator; you'll only have the choice of dither when outputting a file, and in my opinion, best practice is to add dither only when downsampling to 16 bits. Bob Katz, p. 60: "But to avoid a potential sonic veil-Let there be only one generation of 16-bit dither in a CD project, the one-time, final process." [his emphasis] Quantization errors in a 24-bit system produce artifacts at such low levels that they should be inaudible.
Last edited by mojobone on Wed Jun 15, 2011 5:28 pm, edited 1 time in total.
The Straight Stuff; Roots, Rock & Soul

http://twangfu.wordpress.com
http://twitter.com/mojo_bone
jdhogg
Committed Musician
Committed Musician
Posts: 793
Joined: Thu Jan 17, 2008 8:00 pm
Gender: Male

Re: Tips for generating MP3s

Post by jdhogg »

try this for a test

record your next project at a high resolution eg 24/96.
bounce down your mix at the same rate
master at the same rate
then convert using any mp3 codec

At no point add dither!

;)
User avatar
mazz
Total Pro
Total Pro
Posts: 8411
Joined: Sat Nov 11, 2006 1:51 pm
Gender: Male
Location: San Francisco

Re: Tips for generating MP3s

Post by mazz »

I would advise to avoid cramming a mix with too much very low or very high frequency information. High pass filtering at say 30 hz would take out stuff that might be there but you can't hear on your speakers, garbage basically. I've found this type of information tends to confuse the compression process and can result in bad sounding mp3s.

My understanding of the mp3 process is that it analyzes the audio and gets rid of the soft signals that are masked by louder signals which it assumes we wouldn't hear anyway. If your mix contains information that creates extra unintended signals like distortions created by overloading your mix bus unintentionally with lows you can't hear, the codec might hear it and think it's stuff you should hear and will throw away what you actually want.

The thing would be to try different approaches to mixing and see which ones yield the best mp3s.

I always start with my highest resolution mixes to encode from. Makes a big difference!

iTunes uses the Frauenhofer compression scheme which apple licensed years ago. I've only ever used it for encoding because I also use it to organize my mixes. I like the playlist features, it's a one stop shop for me. I've had mp3s I created in iTunes used on broadcast tv so it must not suck that bad! Either that or the editors were deaf!!

My 2c

Mazz
Evocative Music For Media

imagine if John Williams and Trent Reznor met at Bernard Hermann's for lunch and Brian Eno was the head chef!
http://www.johnmazzei.com
http://www.taxi.com/johnmazzei

it's not the gear, it's the ear!
User avatar
mojobone
King of the World
King of the World
Posts: 11843
Joined: Sat May 17, 2008 11:20 pm
Gender: Male
Location: Up in Indiana, where the tall corn grows

Re: Tips for generating MP3s

Post by mojobone »

jdhogg wrote:try this for a test

record your next project at a high resolution eg 24/96.
bounce down your mix at the same rate
master at the same rate
then convert using any mp3 codec

At no point add dither!

;)

This post really begs the question, .......and compare it to what?
The Straight Stuff; Roots, Rock & Soul

http://twangfu.wordpress.com
http://twitter.com/mojo_bone
User avatar
pboss
Committed Musician
Committed Musician
Posts: 665
Joined: Wed Sep 15, 2010 5:25 am

Re: Tips for generating MP3s

Post by pboss »

I would do like the guys above said, to export from DAW your hi-res file. Then use iTunes (or something comparable or better) to create the MP3. But I recently started encoding not at 192k, rather at 224k. Taxi currently allows this, and I noticed a difference. No 'smart encoding' and low cut=yes were the two options I choose - based on just a sense that smart encoding might be a little bit too smart for me. I figure the algorithm is trying to make the file as small as possible, and common sense says something will be compromised. Lot of interesting ideas above, though.
Last edited by pboss on Wed Jun 15, 2011 6:41 pm, edited 1 time in total.
Patty Boss composes music for NBC, CBS, CNN, Fox, Bravo, MTV, VH1, etc.

http://soundcloud.com/pattyboss
http://pattyboss.com
jdhogg
Committed Musician
Committed Musician
Posts: 793
Joined: Thu Jan 17, 2008 8:00 pm
Gender: Male

Re: Tips for generating MP3s

Post by jdhogg »

mojobone wrote:
jdhogg wrote:try this for a test

record your next project at a high resolution eg 24/96.
bounce down your mix at the same rate
master at the same rate
then convert using any mp3 codec

At no point add dither!

;)

This post really begs the question, .......and compare it to what?
Have a wild guess....?



.........to one of his projects that is not done this way................ie a previous track.
User avatar
Silversun
Impressive
Impressive
Posts: 355
Joined: Mon Jun 27, 2011 10:40 pm
Gender: Male

Re: Tips for generating MP3s

Post by Silversun »

Its worth leaving a bit of headroom on your pre conversion files. About 1.5 db should be fine. Due to encoding artifacts mp3 encodes come out slightly louder so give yourself some headroom. Also ne of the hardest things for the codec to deal with is top end, so also try and make sure your mixes are not ludicrously bright.