MArwood
Max Output Level: -57 dBFS
- Total Posts : 1816
- Joined: 2003/11/06 20:04:42
- Status: offline
RE: Pattor says: let your ears decide whether dither at 24 bits or not
2006/04/25 01:19:38
(permalink)
Don't know if I want to get into this........ You should dither each time there is a bit reduction. Plugins operate at 64 bit. There should be dithered applied to reduce 64bit data to 24bit (if sonar is set to 24bit). Once again when you bounce to file or master to 16 bit CD. Reducing all data bits at once with 1 time to dither might be best; 64 bit all the way to 16bit, or whatever the final bit rate is to be. Max Arwood
|
SoundProof
Max Output Level: -89 dBFS
- Total Posts : 65
- Joined: 2004/03/14 23:20:35
- Location: Indianapolis
- Status: offline
RE: Pattor says: let your ears decide whether dither at 24 bits or not
2006/04/25 01:40:41
(permalink)
$1 to anyone who has ever actually heard the difference, in a full, mastered mix, between having dither on or off for every individual truncation throughout the process.
|
MArwood
Max Output Level: -57 dBFS
- Total Posts : 1816
- Joined: 2003/11/06 20:04:42
- Status: offline
RE: Pattor says: let your ears decide whether dither at 24 bits or not
2006/04/25 01:49:11
(permalink)
I 2nd that, but taking care to everything right is important. The right mikes, mike placement, room acoustics, compresion, reverbs Eqs...... Not much difference but it all adds up. That's why some recordings sound better than others  Max Arwood
|
attalus
Max Output Level: -58.5 dBFS
- Total Posts : 1687
- Joined: 2004/05/18 11:39:11
- Status: offline
RE: Pattor says: let your ears decide whether dither at 24 bits or not
2006/04/25 01:53:41
(permalink)
ORIGINAL: MArwood Not much difference but it all adds up. That's why some recordings sound better than others  Max Arwood I 2nd this!
|
Rednroll
Max Output Level: -80 dBFS
- Total Posts : 537
- Joined: 2004/09/17 13:31:13
- Status: offline
RE: Pattor says: let your ears decide whether dither at 24 bits or not
2006/04/25 03:56:30
(permalink)
Cgar, Yes the internal SA's where set at 2048 FFT. The External FFT was 4096 FFT. For the original External FFT it was playing back a 24bit sinewave, then that same sinewave was converted to 16 bit with no dither applied. You basically see the same result. The noise floor basically didn't move because the level on the input was cranked up pretty high. What I was expecting to see was the amplitude of the harmonic distortions to raise, but they didn't. I really think the later graphs show more of what is going on, where it was shown each time you apply dither you basically add +6dB of gain of additional broadband noise. This is shown in this graph where dither was applied 3 times. http://www.stashbox.org/uploads/1145924529/16-bit-to-8-bit-comparison.jpg Look at the purple multi dither graph compared to the single dither graph (yellow). Then this graph shows where I applied dither during the bit reduction and then applied it in 2 different steps where it was applied after the bit reduction had already taken place and got the same result. http://www.stashbox.org/uploads/1145926381/Seperate-Dither.jpg My recommendation is to render at 24bit or 32bit coming out of Sonar when you are mixing. Thus, if you're working at 32bit float and render to 32bit fixed, how much bit reduction are you really doing to need dither applied, as long as your audio signal is peaking near 0dBFS? If you render at 24 bit and your DACs are 24bit, then that's really the same thing you are hearing, since your DACs are 24bit fixed, and so is the rendered 24bit file. Then do your mastering and as a last step when you have to go to 16bit for a CD destination then apply the dither where it really matters. To me this seems like the best path since you are working at higher bit resolutions, where you will have the least noticeable side effects of the bit reduction and then you are only applying dither once, so therefore you are not unnecessarily raising the noise floor with accumalative broadband noise due to the dither noise being applied multiple times. The basic summary of all this is what SteveJL posted way back when: Dither is NOT required for monitoring, as the output file is 24-bit and it goes through 24-bit DACS, PERIOD. Dither is ONLY required during the FINAL Mastering stage. Dither should ONLY be applied ONCE through the whole process, as it is distortion, and is cumulative. Final PERIOD <g>. In this discussion, I still don't believe those points have been proven wrong, but I am open to see it when someone comes thru with some solid backing data proving it wrong. If you're really going to get anal about all this bit reduction stuff, you should think about asking Cakewalk for a feature suggestion that allows you to render in 32 bit (float) like Sound Forge does. That would probably compliment that new 64bit double precision floating point math of Sonar 5 very nicely that I've been hearing so much about huh? http://www.stashbox.org/uploads/1145952929/SF-Render-option.jpg
post edited by Rednroll - 2006/04/25 04:24:19
|
UnderTow
Max Output Level: -37 dBFS
- Total Posts : 3848
- Joined: 2004/01/06 12:13:49
- Status: offline
RE: Pattor says: let your ears decide whether dither at 24 bits or not
2006/04/25 06:25:27
(permalink)
ORIGINAL: Rednroll If you're really going to get anal about all this bit reduction stuff, you should think about asking Cakewalk for a feature suggestion that allows you to render in 32 bit (float) like Sound Forge does. That would probably compliment that new 64bit double precision floating point math of Sonar 5 very nicely that I've been hearing so much about huh? You can export at 32 or 64 bit float in Sonar 5 and obviously, it won't add dither when exporting in this format. UnderTow
|
pattor
Max Output Level: -87 dBFS
- Total Posts : 194
- Joined: 2005/01/12 09:30:05
- Location: sweden
- Status: offline
RE: Pattor says: let your ears decide whether dither at 24 bits or not
2006/04/25 07:31:29
(permalink)
1 to anyone who has ever actually heard the difference, in a full, mastered mix, between having dither on or off for every individual truncation throughout the process. I have released one album where audio left Sonar in 24 bits with no dither. These files were going to a mastering house that was doing the tweaking with outboard gear (very very good stuff from API, Massenburg, and so on) after leaving first class converters. Even though the mixes were good and everything, the over-all sonic feeling of the end result is a bit cold and certainly a bit digital. It sounds a bit cheap evethough there were some 1300 § spent on the mastering (which took some 11 hours for 11 tracks), eventhough the gear in use was top-notch and everything. Then I released another album. For these 24 bit exports I choosed to add TPDF at the lowest bits of amplitude of the 24 bit word. This was before Sonar 5, and I used a separate plugin on the mixbus, where the whole mix was "collected". The important thing was to keep the "master fader" at this bus at unity gain since there could not be any process after the dithering apart from the very rendering from float to fixed. Now - these files went to another mastering house so it is hard to really make a scientific comparison with the first, but all I can say is that those mastered tracks sound less digital. So, was this master better carried out? Could have been. Was the basic mixes different - not really, since my mixing environment and monitoring was the same during the mixing of both these releases. Did they end up completely different from the previous album? NO! They did not! But they sound less digitally focused. The difference is in whether the mastering house had to tweak 24 bit audio that contained quantization distortion or 24 bit audio that contained dithering noise at the LSB's level of a 24 bit integer word. The mastering process with it's eq movements, it's possible compression and limiting, it's possible blend of digital and analogue editing was putting either: all kinds of different quantization distortion into a subtle daylight or a flat (I'd really like to relate it to linear because of it's nature) dither noise at the lowest bits level of a 24 bit word into daylight. All I can say is that I really prefer the mastering work that was carried out on the dithered files, and this is only from a pure "microsonic" standpoint. Was the 24 bit files ruined due to dithering them? No. They sing and swing and sound very, very intime and warm. Do they sound noisy due to the dithering at 24 bits? No. They sound clean as clean can be. What makes them sound different - after the mastering process? Well, I guess there is a difference in putting as much musical information as possible into the sourcefiles, and kick down the artifacts when it comes to mastering a 24 bit integer file in a professional environment. Mastering with outboard gear, top-noth converters and all that will reveal all the tiny crap that has been embedded within the source files. So bottomline here is; I had to send 24 bit files of two different album projects to two different mastering houses (since they did not accept floating point files). One of these houses received files dithered at the 23:d and 24:th bits level of worth. And this mastering sounds less digital, more friendly and analogue. The "pre-dithered" does not suffer from the dither noise prior to the mastering tweaking, instead it has got more intactness in the body, it's sounding fuller and it really to my ears feels like more music could enter the mastering processors at the time everything happened. It is naturally hard to really compare things scientifically in this scenario but in the end - the 24 bit files that were dithered did not, by any mean, make the final result suffer from the dither noise. (Both these album projects were mastered to a level that corresponds with the K-14 system, so they both were steered towards and around the same reference point when it comes to final dynamic headroom.)
post edited by pattor - 2006/04/25 07:43:25
|
pattor
Max Output Level: -87 dBFS
- Total Posts : 194
- Joined: 2005/01/12 09:30:05
- Location: sweden
- Status: offline
RE: Pattor says: let your ears decide whether dither at 24 bits or not
2006/04/25 07:52:05
(permalink)
And hello to you Rednroll. I would like to point out one very fundamental thing to you since you seem very stuck in your theory about that monitoring chains noisefloors are so high that quantization distortion is not revealed. When people (developers, professors, whatever) have evaluated dither at the 16 bit level rendering - which most of us agree is a MUST - they have actually heard the digital breakup of undithered files. They have played them thorugh a DAC, thorugh amplifying stages and speakers and cranked their amplifiers UP in order to hear it. And they have managed to hear the digital breakup! They have added dither noise and they have managed to hear that it does not break up the audio and they have managed to hear the dithernoise, just by turning up a monitoring systems amplification! FWIW - The dither noise and the digital breakup are things that are coded by the DAC and this information - on the analogue side of the equipment - is hearable! It is not hidden under either the DAC noisefloor or the amlipier/speaker noisefloor. The developers and founders of dither have HEARD it in real life through real speakers or headphones. It's all a matter of amplification! It's not hidden - it is there all the time! Even with a M-audio 2496 consumer soundcard you'll be able to hear the digital breakup if you just amplify the signal enough in the analogue domain. This breakup comes out from your "proclaimed-to-be-self-dithering" DAC! It is in the analogue domain it is not hidden! And a second thing: You seem to be stuch in multiple dithering at 16 and 8 bit levels. We have from the very beginning of this thread talked about dithering of 24 bit integer files, which are leaving a floating point host, and the dithering effect of the two LSB's in that 24 bit integer wordlength. We all agree that multiple dithering of 16 bit files is something very undesirable, but especially at that level it is better than truncation.
post edited by pattor - 2006/04/25 09:06:37
|
Billy Buck
Max Output Level: -54 dBFS
- Total Posts : 2101
- Joined: 2003/11/05 22:25:15
- Location: Atlanta, GA.
- Status: offline
RE: Pattor says: let your ears decide whether dither at 24 bits or not
2006/04/25 07:56:32
(permalink)
ORIGINAL: UnderTow You can export at 32 or 64 bit float in Sonar 5 and obviously, it won't add dither when exporting in this format. UnderTow They also open up quite nicely, (32bit IEEE & 64bit IEEE), in Sound Forge 8, for final prep, before being sent to CD Architect or rendered to other delivery mediums.
Win 10 Pro x64 | i7 4770k | ASUS Z87 Deluxe/Quad w/ TB 2.0 | 16GB Corsair RAM | Apollo Twin Duo USB | UAD Satellite Octo USB | UAD-2 Quad + UAD-2 Solo PCIe | SONAR Platinum x64 ∞ | REAPER 5 x64| TranzPort
|
pattor
Max Output Level: -87 dBFS
- Total Posts : 194
- Joined: 2005/01/12 09:30:05
- Location: sweden
- Status: offline
RE: Pattor says: let your ears decide whether dither at 24 bits or not
2006/04/25 08:40:58
(permalink)
ORIGINAL: Rednroll If you're really going to get anal about all this bit reduction stuff, you should think about asking Cakewalk for a feature suggestion that allows you to render in 32 bit (float) like Sound Forge does. That would probably compliment that new 64bit double precision floating point math of Sonar 5 very nicely that I've been hearing so much about huh? YOU ARE TOO MUCH MAN! Sonar allows rendering to 32 bit float! What is all your previous bogus about 32 bit integers? We're talking about Sonar and what Sonar is able to do here! We are talking about a floating point wordlength of 32 or 64 bits and we are talking about 24 bit integer files. The 32 bit integer files have no space in this discussion since that format is not anything that has to do with Sonar. You certainly mock people up with information that does not even apply to what Sonar does. Did you at any point understand that Sonar's internal resolution is float and that Sonar can either export this mix to float or integers? Or were you so stuck in your own universe that you joined a discussion with no clue about what the software actually does? Sonar does NOT export to 32 bit integers! It can export to 16/24 integers or 32/64 floats. We're talking about a scenario where we put up a whole mix in Sonar - where the floating point math IS THE MIX, and we're talking about whether we want to hear this math being truncated or dithered when it has to travel through a 24 bit pipeline. You're talking about sending single signals that are hitting 0 dBFS (only the fact that you are maximizing a test signal proves you're out of your mind) in order to check the effects of truncation and dither. Your measurements, after the DAC, is dependant on a signal that is clipping! You provide distortion due to clipping to your post-DAC-graphs! Your input here has just been confusing, disinformative and it has been screwing people up. You should really consider what kind of message you provide since you actually do not even seem to know anything about the software we're talking about here. Oh god. You should feel really embarrased. You actually suggest that Cakewalk should implement the possibility to render floating point files - WHICH SONAR ALREADY CAN DO! Stop confusing people with facts that are'nt even applicable to our music recording software.
post edited by pattor - 2006/04/25 09:14:36
|
Rednroll
Max Output Level: -80 dBFS
- Total Posts : 537
- Joined: 2004/09/17 13:31:13
- Status: offline
RE: Pattor says: I'm a dumb ass
2006/04/25 09:38:37
(permalink)
I would like to point out one very fundamental thing to you since you seem very stuck in your theory about that monitoring chains noisefloors are so high that quantization distortion is not revealed. When people (developers, professors, whatever) have evaluated dither at the 16 bit level rendering - which most of us agree is a MUST - they have actually heard the digital breakup of undithered files. They have played them thorugh a DAC, thorugh amplifying stages and speakers and cranked their amplifiers UP in order to hear it. And they have managed to hear the digital breakup! Maybe once you learn how to read Pattor, then I can take you seriously. Never ONCE DID I negate the benefitS of Dither. Go back and read you dumb ass. YOU ARE TOO MUCH MAN! Sonar allows rendering to 32 bit float! What is all your previous bogus about 32 bit integers? We're talking about Sonar and what Sonar is able to do here! We are talking about a floating point wordlength of 32 or 64 bits and we are talking about 24 bit integer files. The 32 bit integer files have no space in this discussion since that format is not anything that has to do with Sonar. I'm too much? You're the one who started this thread. What's the entire purpose of this thread, if you can save aT 32 bit float. Obviously this was not something I was aware of in Sonar. Guess what I don't use Sonar very much, I use Sony Vegas, Acid and Sound Forge, and there's plenty more things I don't know about Sonar. Obviously you where, so I have to ask what kind of dumb ass would do multiple dithers where it adds noise to the audio signal when you don't have to, and you can wait until the final mastering stage? Well I can now really see 2 of them very clearly who think they're the authority on audio knowledge. Maybe you should stop confusing people? If you knew this then you should be ashamed to even be recommending to apply dither more than once since it is not necessary at all now. Here I'll stop confusing people now that I realize Sonar can save in floating point format. 1. DON'T USE DITHER AT ALL WHEN MIXING DOWN IN SONAR 2. USE FLOATING POINT SAVE FORMATS, TO AVOID ANY TRUNCATION ISSUES 3. USE DITHER ONLY AS THE FINAL STEP IN YOUR PROCESSING CHAIN BEFORE YOUR FINAL DESTINATION. 4. DITHER IS A FORM OF ACCUMULATIVE DISTORTION, AND YOU WOULD BE A DUMB ASS IF YOU USED IT MULTIPLE TIMES WHEN YOU DON'T HAVE TO. I think I'm not confusing anyone and those statements are pretty well on the money.
post edited by Rednroll - 2006/04/25 09:56:58
|
SteveJL
Max Output Level: -29 dBFS
- Total Posts : 4644
- Joined: 2004/01/23 05:26:38
- Location: CANADA
- Status: offline
RE: Pattor says: let your ears decide whether dither at 24 bits or not
2006/04/25 09:47:48
(permalink)
<in reply to all> Let's ALL please try to keep this a Civil discussion despite disagreements we may have. Thanks
|
UnderTow
Max Output Level: -37 dBFS
- Total Posts : 3848
- Joined: 2004/01/06 12:13:49
- Status: offline
RE: Pattor says: let your ears decide whether dither at 24 bits or not
2006/04/25 09:54:06
(permalink)
ORIGINAL: Rednroll I'm too much? Yes. You are an ignorant fool and a rude arsehole to boot. 1. DON'T USE DITHER AT ALL WHEN MIXING DOWN IN SONAR 2. USE FLOATING POINT SAVE FORMATS, TO AVOID ANY TRUNCATION ISSUES And what if you need to send your mix to a mastering house that only accepts 24 bit files? Sheesh. Get out of your tiny little deluded world and see what is happening in the real world out here. 4. DITHER IS A FORM OF ACCUMULATIVE DISTORTION, AND YOU WOULD BE A DUMB ASS IF YOU USED IT MULTIPLE TIMES WHEN YOU DON'T HAVE TO. And again you prove your ignorance. It is really sad that you are incapable of understanding stuff that is being explained to you again and again. Someone once told you that you should only apply dither at the last step and you are incapable of adjusting your ideas in light of new information being kindly provided to you. That makes you a total and utter idiot. UnderTow
post edited by UnderTow - 2006/04/25 10:01:33
|
cGar
Max Output Level: -78 dBFS
- Total Posts : 625
- Joined: 2006/03/16 14:33:25
- Location: Santa Barbara, CA
- Status: offline
RE: Pattor says: I'm a dumb ass
2006/04/25 10:22:16
(permalink)
Come on guys, SteveJL is right on. Let's chill out!!! And to anyone who can still stomach this thread and is still reading: ---the POINT of this article was whether or not to MONITOR the mix using dither on. --- the question was asked that if you were going to dither at the end (one time at the only truncation) should or should you not be monitoring with dither ON??? -- some say no, others say yes!!! assuming 24-bit monitoring -- if you monitor with dither off you will be hearing a VERY LOW LEVEL harmonic distortion (caused by truncating sonars internal wordlength to 24-bits) -- if you monitor with dither on (triangular, or shaped pow-r IHMO) you wil be hearing a VERY LOW LEVEL dither noise -- Neither of these things are permanent because this is just the monitoring chain!!! You still make your final decisions later on. -- Patton just suggested using your ears to decide what you like best. -- He also said that if you make a choice (i.e. dither or no) your mixing choices may be different as you are dealing with a different background funk. -- RednRoll says that the DAC removes the harmonic distortion (by anti-imaging, anti-aliasing) so dithering actually gives you a higher noise floor at your ear than having dither turned off - DURING MONITORING. Some disagree with this. But the point at the beginning was to let your ears decide. SO, let's all try an experiment (particularly people who haven't been all up i this thread cuz we don't want ego brusing to get in the way of a honest test) 1.)Mix an entire project with dither off (remember this was the case before 5.2 update) then **dither down to 16-bit. 2.)Re-mix project with dither on (actually go through the process) and dither down to 16-bit. Did you make all the same choices for levels, pan, effects with and without dither on in the monitoring? Does the final project sound exactly the same? Which do you prefer? Which do other prefer? Do some double blind testing, do something but in the end LET YOUR EARS DECIDE? I mean we are talking about really low lever imperfections so it may be totally MOOT!!! I for one will ALWAYS have dither on as I will end up dithering at the end anyway and I choose the path of consistancy. I want to hear that noise which I WILL add at the very end. Others want to save CPU cycles? Or enjoy the harmonic distortion to noise? YOU DECIDE, Chris.
|
pattor
Max Output Level: -87 dBFS
- Total Posts : 194
- Joined: 2005/01/12 09:30:05
- Location: sweden
- Status: offline
RE: Pattor says: let your ears decide whether dither at 24 bits or not
2006/04/25 10:26:27
(permalink)
Maybe once you learn how to read Pattor, then I can take you seriously. Never ONCE DID I negate the benefitS of Dither. Go back and read you dumb ass. Thank you very much for putting the ass-word into discussion. Clearly shows your kind of anger management. I'm too much? You're the one who started this thread. What's the entire purpose of this thread, if you can save aT 32 bit float. The purpose is that at some point your 32 bit float must be scaled to fit a 24 bit digital carrier in order for you to hear the music. The purpose was that your music will be slightly influenced by you hearing truncation. The purpose was that you'll most likely hear what kind of actions you take while mixing due to the musical information and not the influence of quantization distortion if there is dither involved during the mix process - during playback and with it enabled when exporting to 24 bit integer files. Well I can now really see 2 of them very clearly who think they're the authority on audio knowledge. It's not a matter of authority. It is a matter of implementing facts into a workflow. Does it fit? Does it make any good? Does it matter? An so on. Those kind of questions. This thread was really meant to start a valid discussion about doing this very thing in Sonar. It was never about moving graphs across software platforms. It was about "will it matter if we hear truncation artifacts at a 24 bit level or not" when we CHOOSE what to do whilst mixing. It's all a fundament for a valid discussion. Sadly, there have not been any attempts to get to the subject. So... 1. DON'T USE DITHER AT ALL WHEN MIXING DOWN IN SONAR Yes. Cool. Whatever. Won't ruin your day much. Especially not if your really into static, highly overcompressed music. 2. USE FLOATING POINT SAVE FORMATS, TO AVOID ANY TRUNCATION ISSUES Yes. Cool. Whatever. You'll save what you hear when quantization distortion influences your mix decisions at a 24 bit level and it is a part of your sound. Your saved file won't include quantization distortion. But when this quzntization later is re-created when rendering the 16 bit file from 32 bit float and with the dithering to 16 bits some of your "sound" might alter, considerably, to your ears. 3. USE DITHER ONLY AS THE FINAL STEP IN YOUR PROCESSING CHAIN BEFORE YOUR FINAL DESTINATION. Yes. Cool. Whatever. 4. DITHER IS A FORM OF ACCUMULATIVE DISTORTION, AND YOU WOULD BE A DUMB ASS IF YOU USED IT MULTIPLE TIMES WHEN YOU DON'T HAVE TO. Some digital processors dither the output to 24 bits. In another host - Sawstudio - there are certain plugins that will always put 24 bit TPDF at the output. If you place one of these native eq's as a plugin it will add dither (TPDF) at 24 bit level on the output. If you place one of these native compressors after the eq, it will calculate the output from the eq (including the dither) and send out a new 24 bit word with NEW dither. Just a eq+compressor on one track will add two rounds of dither to one track in a mix. Do these plugins SOUND good? Yes they sound VERY good! Sawstudio is an integer host, not a floating point host, but it might give you a clue about that dithering at 24 bit levels, and even multiple dihering at these low levels does not hurt that bad that you try to say. So much for your fears of dither at 24 bit levels. Now, please, understand that we are in this thread only talking about one round of 24 bit dither. A dither that is 7-8 bits below the lowest bit of your final 16 bit word, which, in the end, will be dithered 8-10 bits above the 24 bit level. Cgar, chris whatever your name is...thanks for actually digging into the very subject ...you got the initital message JUST RIGHT! Just one thing though - we do not want to use noiseshaped dithers (pow-r) when/if we dither to 24 bits, we want a "flat-across-the-spectrum-dither", like the triangular. The options of noiseshaping comes in when dithering to a 16 bit level.
post edited by pattor - 2006/04/25 11:01:43
|
UnderTow
Max Output Level: -37 dBFS
- Total Posts : 3848
- Joined: 2004/01/06 12:13:49
- Status: offline
RE: Pattor says: let your ears decide whether dither at 24 bits or not
2006/04/25 10:52:33
(permalink)
I think the whole dither or not issue can be summed up like this: Whatever the reasons are to dither when reducing bit depths to 16 bit, those reasons are the same and also valid when reducing to 24 bit. If you think that you need to dither when going to 16 bit, it means that you also need to dither when going to 24 bit. If you think that you don't need to dither when going to 16 bit, then you don't need to dither when going to 24 bit. The trade-off being made between noise and distortion when applying dither at 16 bits is the same trade-off being made at 24 bit. The only difference is that the levels of the noise or distortion is lower. UnderTow
post edited by UnderTow - 2006/04/25 11:01:14
|
SteveJL
Max Output Level: -29 dBFS
- Total Posts : 4644
- Joined: 2004/01/23 05:26:38
- Location: CANADA
- Status: offline
RE: Pattor says: let your ears decide whether dither at 24 bits or not
2006/04/25 11:05:05
(permalink)
ORIGINAL: UnderTow I think the whole dither or not issue can be summed up like this: Whatever the reasons are to dither when reducing bit depths to 16 bit, those reasons are the same and also valid when reducing to 24 bit. If you think that you need to dither when going to 16 bit, it means that you also need to dither when going to 24 bit. If you think that you don't need to dither when going to 16 bit, then you don't need to dither when going to 24 bit. The trade-off being made between noise and distortion when applying dither at 16 bits is the same trade-off being made at 24 bit. The only difference is that the levels of the noise or distortion is lower. UnderTow I can live with that.
|
SteveJL
Max Output Level: -29 dBFS
- Total Posts : 4644
- Joined: 2004/01/23 05:26:38
- Location: CANADA
- Status: offline
RE: Pattor says: let your ears decide whether dither at 24 bits or not
2006/04/25 11:07:13
(permalink)
Cgar, chris whatever your name is...thanks for actually digging into the very subject ...you got the initital message JUST RIGHT! Just one thing though - we do not want to use noiseshaped dithers (pow-r) when/if we dither to 24 bits, we want a "flat-across-the-spectrum-dither", like the triangular. The options of noiseshaping comes in when dithering to a 16 bit level. Yes! That makes a lot of sense.
|
UnderTow
Max Output Level: -37 dBFS
- Total Posts : 3848
- Joined: 2004/01/06 12:13:49
- Status: offline
RE: Pattor says: let your ears decide whether dither at 24 bits or not
2006/04/25 13:18:07
(permalink)
So that people can make a more informed decision, I created a couple of wav files demonstrating the effects of dither on bit reduction. I took the following steps: I took a regular 16 bit file with a normal signal level (Peak: -1 dB RMS: -15 dB). I converted it to 32 bit to be able to reduce the gain without loosing resolution. I reduced the gain by 80,2 dB so that the signal is only triggering 3 bits of the top 16 bits of this 32 bit file. I converted this to 16 bit. Once using no dither and once with TPDF (triangular) dither. I then increased the gain by 58,2 dB to make things audible. These are the resulting files: http://home.casema.nl/ajohnston/Dither/NoDither.wav http://home.casema.nl/ajohnston/Dither/TPDF-Dither.wav If you listen to the non-dithered file, you hear that the signal is heavily distorted and drops out when the signal is triggering less than one bit (out of 16) . This quantization distortion applies to all amplitudes of a signal being bit-reduced. Not just the very low ones in this example. The dropouts will only affect signals that are so low that they don't trigger any bits. (The dropouts in a fade-out that Rednroll mentioned). Of course, the distortion artifacts won't be nearly as loud as this as the file has been boosted by arround 60 dB. Now if you listen to the dithered example, the original signal is there and not distorted. This is despite the fact that in the 32 bit file most of the signal is actually encoded in bits that get dropped during the bit reduction process. We have now effectively increased the resolution and encoded signals below 16 bits into a 16 bit format file! These examples also demonstrate that we can hear signals that are below the level of the dither noise. We have a musical signal at an average RMS of -37.5dB in a noise level of average -35 dB! Keep in mind that the noise you hear in the dithered file will be much much lower in a normal convertion (especially at 24 bits). The same goes for the truncation distortion in the non-dithered file. That major difference is increased resolution and reduced distortion. I hope this makes it clear why I advise everyone to have dither turned on for any bit reduction process. UnderTow
post edited by UnderTow - 2006/04/25 13:25:21
|
SteveJL
Max Output Level: -29 dBFS
- Total Posts : 4644
- Joined: 2004/01/23 05:26:38
- Location: CANADA
- Status: offline
RE: Pattor says: let your ears decide whether dither at 24 bits or not
2006/04/25 14:12:09
(permalink)
I think this has been a good and productive discussion that brought attention to some issues we all should be considering when using Sonar. I would personally like to thank everyone who contributed, especially those who offered high-level information. I think there is enough here for each of us to consider how to handle our recording, from the options available. This is obviously a complex area of recording, and some of us (me for instance) may seek the simplest method of producing good-sounding recordings, while, at the same time, being aware of the trade-offs that come with not being an absolute expert, and also the tarde-offs that come from our different listening skills. Again, Thank You to all.
post edited by SteveJL - 2006/04/25 14:18:57
|
Nika
Max Output Level: -90 dBFS
- Total Posts : 23
- Joined: 2006/04/24 16:32:02
- Status: offline
RE: Pattor says: let your ears decide whether dither at 24 bits or not
2006/04/25 14:31:30
(permalink)
ORIGINAL: UnderTow Hi Nika, Welcome to this forum. I don't know if there are any remaining issues. I think most of the stuff has been handled. The only thing I personaly am not entirely sure of is how the quantization distortion is related to the signal frequency. From my understanding the distortion is more correlated to the signal at lower frequencies. Is that correct and how exactly does that work? Or is this purely related to the fact that distortion of higher frequencies are aliased back into the audible band and thus less correlated with the actual higher frequency signal? Cheers, UnderTow UnderTow Quantization distortion is a form of distortion. Distortion is inherently "correlated" or "coupled" with the material, so that as the material changes the frequencies present in the distortion change. Therefore, as you change the material that goes in (including the frequencies of what goes in) what comes out changes. Therefore, the distortion is ALWAYS correlated to the frequency content. Nika
|
pattor
Max Output Level: -87 dBFS
- Total Posts : 194
- Joined: 2005/01/12 09:30:05
- Location: sweden
- Status: offline
RE: Pattor says: let your ears decide whether dither at 24 bits or not
2006/04/25 14:42:28
(permalink)
Good and informative audio snippets for those who really want to hear the difference between quantization distortion at very low levels and how dither conserves and maintain the audio below the dither noise. Now - if we take this into consideration with a full mix that is peaking much higher and have a greater RMS, we also can understand that neither the quantization distortion or the dither noise is actually really audible since our ears leans toward the musical message. But, deep down in the music, these things are happening and they will put a subtle character to the music as we hear it. The distortion or the dither noise will add its pennies to the overall picture. It's a little like using a transformer or valve microphone preamp, where there are valves or transformers on both amplification stages, and record to digital. If you set the input gain to something and have the output gain set to something and sing "tra-la-la" you will end up with some waveform which have some peak and an overall recorded level. If you then increase the input on the preamp by 10 dB and lower the output accordingly to have the same level on input to the A/D and sucessfully record a "tra-la-la"-clone, the basic musical message will remain. You'll probably say they are very similar, eventhough the preamplification stages has changed and probably has caused a subtle change of the character of the voice, due to subtle harmonics. The basic tra-la-la is there. The voice singing it sounds identical, but there is a slight sonical alternation of the over-all sound. This is what should be listened for when working with dither. The slight sonic character of the over-all sound. Dither on - music information (+low level noise). Dither off - music information with some of it transformed to quantization distortion.
post edited by pattor - 2006/04/25 14:50:32
|
Nika
Max Output Level: -90 dBFS
- Total Posts : 23
- Joined: 2006/04/24 16:32:02
- Status: offline
RE: Pattor says: let your ears decide whether dither at 24 bits or not
2006/04/25 14:45:35
(permalink)
ORIGINAL: Rednroll The main reasons to go from 24 bit to 32 bit float are the increased headroom flexibility Ohhhhh...you get increased headroom? Hmmmm??? I did not know that, and here silly me always thought that 0dB was always 0dB no matter if it was 8bit, 16bit, 24 bit, 32 bit or 64 bit. I just thought you gain extra values inbetween -inf to 0dB to reduce distortions due to quantization error, by having more values along the Y-axis to get a closer approximation of the amplitude of the audio when sampled? But hey, if you say I get extra headroom that's nice to know. Wait until I let the rest of the guys know, that 0dB is really not the limit in digital audio. Thanks for all that correct information. Yeah, not really. Indeed you do gain possible "headroom" from going to larger bit formats in essence. This, because the 0dB point isn't always full scale. Much of the time the some of the extra bits are tacked on to the left of full scale for headroom in processing, such that when taking a 24 bit signal and putting it into, say, a 48 bit system, some of the bits go on the left and others go on the right, in relation to which 24 bits come out of the system. Also (and this is pretty picky) 32 bit float actually gives you 25 bits of linear data, plus the scaling of 8 bits. Finally, there are other situations in which signals can exceed 0dB, but those situations are not beneficial. I'm not really following the conversation, but saw the need to clarify this point, not really knowing what the ramifications of this assertion are. Nika
|
Nika
Max Output Level: -90 dBFS
- Total Posts : 23
- Joined: 2006/04/24 16:32:02
- Status: offline
RE: Pattor says: let your ears decide whether dither at 24 bits or not
2006/04/25 15:01:43
(permalink)
Rednroll, Ok, I see some distortions in the 16 bit non-dithered signal. The peak amplitude looks to be at -98dBFS. Hmmmm???? I thinks that's below the dynamics range of 16 bit digital audio, and I wouldn't be able to hear it anyway. First things first - this spectral analyzer has some problems - it seems the windowing function might be too short? We shouldn't see a really large "lump" there - we should see just a spike at 100Hz. But, moving on: The peak amplitude of -98dBFS is in a very specified frequency range. It is NOT below the dynamic range of 16 bit audio. The dynamic range of 16 bit audio at -96dBFS is dependent upon two things: 1. the ENTIRE bandwidth of 0Hz to Nyquist, and 2. dither is applied. Dither is inherently an implied part of quantization theory - if you don't do it the 6dB/bit relationship goes away and gets much worse. All digital theory inherently implies dither to maintain linearity - the removal of which causes distortion. But also, in individual frequency ranges the dynamic range of 16 bit audio is not -96dBFS. Let's take a 40kHz sample rate, so that Nyquist is 20kHz. That means that if you add up ALL of the noise between 0Hz and 20kHz its cumulation will equal -96dBFS. But if you look at, say, only the upper octave it will be -99dBFS. If you look at the upper half octave it will be at -102dBFS. If you look at the upper quarter octave it will be -105dBFS. If you look at, say, 100Hz-110Hz it will be somewhere down around -150dBFS. This is what your spectral analyzer is doing - it is looking at very small bands of audio and telling you how much signal is present in each band. In a properly dithered signal the amount present in each of those very small bands will be much, much lower than -96dBFS, so your peak at -98dBFS is MUCH higher than would be there if you properly dithered. So I have a choice of a higher noise floor that will be accumulative as I keep adding dither processes because I want to do this at multiple stages according to you guys, or I want to avoid distortions that happen below the dynamics range of the the total bit depth? Maybe, I'm missing something here. Not really. The dither noise sums together at 3dB per doubling but NOT dithering can increase the distortion by as much as 6dB. Ok, the red line is the orignal 24bit sinewave, and the yellow line is the 16 bit undithered version. I'm trying to see the different distortion levels you guys keep telling me about when not applying dither. Help me out a little bit because they're looking pretty identical to me. Maybe my contacts need a new prescription? Maybe my feable mind is missing the entire point you are making when I look at the data I just captured. No. The 24 bit version is being truncated to 16 bits somewhere along the way. Nika
|
pattor
Max Output Level: -87 dBFS
- Total Posts : 194
- Joined: 2005/01/12 09:30:05
- Location: sweden
- Status: offline
RE: Pattor says: let your ears decide whether dither at 24 bits or not
2006/04/25 15:03:34
(permalink)
Nika... I have a questions for you. Since Sonar now can work in a 64 bit float mode, instead of the "ordinary" 32 bit float - will this provide a better "room" for the TPDF (if this TPDF also have this manouvering room) to correctly correlate the quantization errors to the dither noise, or will it still create a scenario where some distortion is "handled properly", while some will just be masked under the dither noise?
|
cGar
Max Output Level: -78 dBFS
- Total Posts : 625
- Joined: 2006/03/16 14:33:25
- Location: Santa Barbara, CA
- Status: offline
RE: Pattor says: let your ears decide whether dither at 24 bits or not
2006/04/25 15:13:02
(permalink)
So Nika you are saying that both red and yellow plots in that graph were probably 16-bit. Not 24-bit and 16-bit? I was thinking that the 24-bit signal would not have a noise-floor that close to the 16-bit dithered signal!?
|
Nika
Max Output Level: -90 dBFS
- Total Posts : 23
- Joined: 2006/04/24 16:32:02
- Status: offline
RE: Pattor says: let your ears decide whether dither at 24 bits or not
2006/04/25 15:17:03
(permalink)
ORIGINAL: pattor Nika... I have a questions for you. Since Sonar now can work in a 64 bit float mode, instead of the "ordinary" 32 bit float - will this provide a better "room" for the TPDF (if this TPDF also have this manouvering room) to correctly correlate the quantization errors to the dither noise, or will it still create a scenario where some distortion is "handled properly", while some will just be masked under the dither noise? Hmm. I don't really like the terminology but I think I know what you're asking. In any floating point system you are bound to have distortion. It is impossible for a dither algorithm to completely decorrelate the signal from the error in a floating point system. All it can do is diminish that correlation. Therefore, distortion is bound to occur in such systems. The more bits you add to the right of the last bit you intend to keep, and the more bits you add to the dither, the more you can decrease that correlation. The result is that you decrease the distortion. With enough bits you can probably reduce that distortion to a level that is effectively infinite because it is too far below the threshold of hearing in any plausible mixing situation to become audible. My personal belief is that in a 64 bit situation, implemented properly, this is the case. Does that answer the question? Nika
|
Nika
Max Output Level: -90 dBFS
- Total Posts : 23
- Joined: 2006/04/24 16:32:02
- Status: offline
RE: Pattor says: let your ears decide whether dither at 24 bits or not
2006/04/25 15:19:14
(permalink)
ORIGINAL: cGar So Nika you are saying that both red and yellow plots in that graph were probably 16-bit. Not 24-bit and 16-bit? I was thinking that the 24-bit signal would not have a noise-floor that close to the 16-bit dithered signal!? Unquestionably. It is very possible that the signal generator is actually just generating a 16 bit undithered sine wave. Nika
|
Nika
Max Output Level: -90 dBFS
- Total Posts : 23
- Joined: 2006/04/24 16:32:02
- Status: offline
RE: Pattor says: let your ears decide whether dither at 24 bits or not
2006/04/25 15:22:40
(permalink)
Hopefully you're learning something here, and that's dither ONCE to avoid noise build up from multiple dithers and wait to dither as the last process. Hmm. I'm not sure where this is going, but I cannot in any way condone this advice. Nika
|
pattor
Max Output Level: -87 dBFS
- Total Posts : 194
- Joined: 2005/01/12 09:30:05
- Location: sweden
- Status: offline
RE: Pattor says: let your ears decide whether dither at 24 bits or not
2006/04/25 16:22:07
(permalink)
ORIGINAL: Nika Hmm. I don't really like the terminology but I think I know what you're asking. In any floating point system you are bound to have distortion. It is impossible for a dither algorithm to completely decorrelate the signal from the error in a floating point system. All it can do is diminish that correlation. Therefore, distortion is bound to occur in such systems. The more bits you add to the right of the last bit you intend to keep, and the more bits you add to the dither, the more you can decrease that correlation. The result is that you decrease the distortion. With enough bits you can probably reduce that distortion to a level that is effectively infinite because it is too far below the threshold of hearing in any plausible mixing situation to become audible. My personal belief is that in a 64 bit situation, implemented properly, this is the case. Does that answer the question? Nika Yes it does! Thank you very much! Sorry for the terminology, my native language ain't english... I have one more question - if a floating point "mix" would/could be altered into a integer word with 64 bits of resolution and then dithered to either 24 or 16 bits (in a 64 bit integer environment), would that method be a source for a more effective dithering, and - is it even possible, technically, to create such a scenario?
|