Dithering internally???

Author
Sonic the Hedgehog
Max Output Level: -76 dBFS
  • Total Posts : 733
  • Joined: 2006/09/10 13:42:06
  • Location: Montréal, Canada
  • Status: offline
2008/11/18 14:30:13 (permalink)

Dithering internally???

Hi everyone,

I've searched everywhere for answers, but still came up uncertain.
I understand that dithering is required when going from a higher bit depth to a lower one, such when exporting or when mastering a project for cd or dvd that is at a lower bit depth than the original. However, what eludes me is why the dithering option is available when I'm either bouncing or rendering? If my project is at say, 24 bits, and I want to render a a midi track with Dimension Pro into a Wav file, why is the dithering box there? When I clicked on the HELP box, it explains the different types of dithering for bouncing, freezing, and rendering. Similarily, if I wanted to bounce a group of tracks into one track, why would dithering be necessary since it stays within the same project at the same bit depth?

I appreciate all your replies!!!

''I work to live, but live to make music'' -Mahler
#1

27 Replies Related Threads

    CJaysMusic
    Max Output Level: 0 dBFS
    • Total Posts : 30423
    • Joined: 2006/10/28 01:51:41
    • Location: Miami - Fort Lauderdale - Davie
    • Status: offline
    RE: Dithering internally??? 2008/11/18 14:33:37 (permalink)
    If my project is at say, 24 bits, and I want to render a a midi track with Dimension Pro into a Wav file, why is the dithering box there?

    Because if your rendering is set to 32bit in sonar, like it should be, then youll be bouncing and freezing to that bit rate. But if your rendering is set to 16bit, and your project is at 24bit, then you need to dither when bouncing or freezing.
    i hope this clears it up for you
    Cj

    www.audio-mastering-mixing.com - A Professional Worldwide Audio Mixing & Mastering Studio, Providing Online And Attended Sessions. We also do TV commercials, Radio spots & spoken word books
    Audio Blog
    #2
    Sonic the Hedgehog
    Max Output Level: -76 dBFS
    • Total Posts : 733
    • Joined: 2006/09/10 13:42:06
    • Location: Montréal, Canada
    • Status: offline
    RE: Dithering internally??? 2008/11/18 14:39:46 (permalink)
    CJ,

    Thanks, I hear you! It definately makes sense. I wish the HELP box was more helpful! Geez...

    ''I work to live, but live to make music'' -Mahler
    #3
    Sonic the Hedgehog
    Max Output Level: -76 dBFS
    • Total Posts : 733
    • Joined: 2006/09/10 13:42:06
    • Location: Montréal, Canada
    • Status: offline
    RE: Dithering internally??? 2008/11/18 14:46:51 (permalink)
    ...then again, if I were to have everything at 32 bits, then I wouldn't need to dither internally right? Or, if I had the rendering tab at 24 bits on a 24 bit project?

    ''I work to live, but live to make music'' -Mahler
    #4
    CJaysMusic
    Max Output Level: 0 dBFS
    • Total Posts : 30423
    • Joined: 2006/10/28 01:51:41
    • Location: Miami - Fort Lauderdale - Davie
    • Status: offline
    RE: Dithering internally??? 2008/11/18 14:52:08 (permalink)
    ...then again, if I were to have everything at 32 bits, then I wouldn't need to dither internally right? Or, if I had the rendering tab at 24 bits on a 24 bit project?

    No, cause your sound card only supports 24bits. All sound cards can only go up to 24bits. 32bit is an internal floating point that will give you more processing room for effects and what not. you do not want to change your rendering to 24bits. I would keep it at 32bits for that purpose alone
    Cj

    www.audio-mastering-mixing.com - A Professional Worldwide Audio Mixing & Mastering Studio, Providing Online And Attended Sessions. We also do TV commercials, Radio spots & spoken word books
    Audio Blog
    #5
    Sonic the Hedgehog
    Max Output Level: -76 dBFS
    • Total Posts : 733
    • Joined: 2006/09/10 13:42:06
    • Location: Montréal, Canada
    • Status: offline
    RE: Dithering internally??? 2008/11/18 14:58:22 (permalink)
    Ok, thanks CJ!

    ''I work to live, but live to make music'' -Mahler
    #6
    GMGM
    Max Output Level: -81 dBFS
    • Total Posts : 494
    • Joined: 2007/10/26 21:01:15
    • Location: Omaha, NE
    • Status: offline
    RE: Dithering internally??? 2008/11/18 16:20:32 (permalink)
    ORIGINAL: CJ - you do not want to change your rendering to 24bits. I would keep it at 32bits for that purpose alone


    Do other DAW's (Pro Tools, Cubase, etc...) support the 32-bit bit depth? I'm showing my ignorance, as this is another question I've been afraid to ask.

    Currently, I do everything at 24 bits (render / record / import). If I switch to 32, can I still share these 32/48 WAV files with other DAW's?

    I want to get the best resolution that is practical, but I want to be able to move projects around as needed (even if it is a very rare circumstance).
    #7
    CJaysMusic
    Max Output Level: 0 dBFS
    • Total Posts : 30423
    • Joined: 2006/10/28 01:51:41
    • Location: Miami - Fort Lauderdale - Davie
    • Status: offline
    RE: Dithering internally??? 2008/11/18 16:25:58 (permalink)
    can I still share these 32/48 WAV files with other DAW's?

    Its 2 different things here. Its an internal conversion to 32bit. No sound card as of right now can record or playback over 24bits. the 32bits for rendering that cake offers and you should take also is for giving you extra headroom per say for effects and processing of effects, like bouncing and freezing. If you set your render to 24bits, you missing the boat on sonars 32bit rendering for effects and processing.
    To answer your question, your files will need to be exported to 24bits anyway. No soundcard can play 32bits or 64bits
    Cj

    www.audio-mastering-mixing.com - A Professional Worldwide Audio Mixing & Mastering Studio, Providing Online And Attended Sessions. We also do TV commercials, Radio spots & spoken word books
    Audio Blog
    #8
    bitflipper
    01100010 01101001 01110100 01100110 01101100 01101
    • Total Posts : 26036
    • Joined: 2006/09/17 11:23:23
    • Location: Everett, WA USA
    • Status: offline
    RE: Dithering internally??? 2008/11/18 17:55:23 (permalink)
    However, what eludes me is why the dithering option is available when I'm either bouncing or rendering?


    Assuming your render bit depth is 32 (that's the default and that's what's recommended), any internal bounces will result in a 32-bit file, even if the original file was 24 bits. Obviously, no dither is necessary when going from 32 to 32 or 24 to 32. So it doesn't matter.

    It's debatable as to whether or not dithering is necessary when exporting to 24 bits from 32-bit files. Personally, I don't believe it is necessary. After all, you're only losing 1 bit.

    To put that into perspective, picture a stack of sheets of regular printer paper 2 miles high. It may or may not be short by one sheet. Do you care? Would it make any sense to randomly add a single sheet to the stack to correct the potential error?



    All else is in doubt, so this is the truth I cling to. 

    My Stuff
    #9
    CJaysMusic
    Max Output Level: 0 dBFS
    • Total Posts : 30423
    • Joined: 2006/10/28 01:51:41
    • Location: Miami - Fort Lauderdale - Davie
    • Status: offline
    RE: Dithering internally??? 2008/11/18 17:59:11 (permalink)
    To put that into perspective, picture a stack of sheets of regular printer paper 2 miles high. It may or may not be short by one sheet. Do you care? Would it make any sense to randomly add a single sheet to the stack to correct the potential error?

    Good analogy. you know if they didn't offer the dithering for this specific thing, you know people would have made a huge fuss over it and maybe condemned sonar as not being professional. There damned if they do and double damned if they
    dont.
    Cj

    www.audio-mastering-mixing.com - A Professional Worldwide Audio Mixing & Mastering Studio, Providing Online And Attended Sessions. We also do TV commercials, Radio spots & spoken word books
    Audio Blog
    #10
    Slayer
    Max Output Level: -86 dBFS
    • Total Posts : 220
    • Joined: 2008/01/09 23:06:25
    • Status: offline
    RE: Dithering internally??? 2008/11/18 20:00:17 (permalink)
    I have a related question/observation... what setting do you dudes set the Dithering option on the ADVANCED tab of the Audio Options box to? I have it set to NONE when I record anything. My understanding is that since I only record audio tracks (at 24 bit) there's no need for any dithering until I go to export the audio to burn to CD.

    Am I on the right track?

    Sonar 8.5.3 Producer Edition 64-bit* HP Pavillion dv2617us laptop * Windows 7 Professional 64-bit * 4G RAM * 150G Internal HD * Edirol FA-66 audio interface * Sony CD Architect * lots of guitars
    #11
    Danny Danzi
    Moderator
    • Total Posts : 5810
    • Joined: 2006/10/05 13:42:39
    • Location: DanziLand, NJ
    • Status: offline
    RE: Dithering internally??? 2008/11/18 20:32:24 (permalink)

    ORIGINAL: bitflipper

    Assuming your render bit depth is 32 (that's the default and that's what's recommended), any internal bounces will result in a 32-bit file, even if the original file was 24 bits. Obviously, no dither is necessary when going from 32 to 32 or 24 to 32. So it doesn't matter.


    Bit, I too, like another poster mentioned in this thread, run all my stuff at 24 also and don't use the 32 bit option. I couldn't tell much of a difference when I used it and felt it may have been processing for the sake of processing? If my card can't support this bit rate, what are the advantages of using it and what differences should I see or hear?

    My Site
    Fractal Audio Endorsed Artist & Beta Tester
    #12
    Sonic the Hedgehog
    Max Output Level: -76 dBFS
    • Total Posts : 733
    • Joined: 2006/09/10 13:42:06
    • Location: Montréal, Canada
    • Status: offline
    RE: Dithering internally??? 2008/11/18 22:11:45 (permalink)

    No sound card as of right now can record or playback over 24bits.


    -CJ, I agree with you, however, having a project at 32bits will still play at 24bits or lower. The important thing here is too keep the bits as high as is practically possible for later mastering and then dithered to whatever. My original question had a lot to do with softsynths as well. Say you don't record externally(I agree on the 24bit souncard) and use softsynths, would it not be a good idea to render the MIDI track(s) to 32bits?

    Bit, I too, like another poster mentioned in this thread, run all my stuff at 24 also and don't use the 32 bit option. I couldn't tell much of a difference when I used it and felt it may have been processing for the sake of processing? If my card can't support this bit rate, what are the advantages of using it and what differences should I see or hear?


    -Danny, then it means that you don't dither internally, right? I would definately like to know. I think CJ hit on this as well when he said that the 32bits is for the processing of effects, etc...

    ''I work to live, but live to make music'' -Mahler
    #13
    Danny Danzi
    Moderator
    • Total Posts : 5810
    • Joined: 2006/10/05 13:42:39
    • Location: DanziLand, NJ
    • Status: offline
    RE: Dithering internally??? 2008/11/18 22:37:59 (permalink)
    Sonic, that would be correct Sir. :) I dither in WaveLab 6 where I do all of my mastering. When I export out of Sonar, I export at 24/48 with no dithering options enabled. When I have in the past, pwr 3 seemed to work the best for me. But I've been taught to always master in the same bit/sample the project was recorded in to preserve the best audio. When I am completely done, this is when I change sample rates and then dither to 16bit. Though I love Sonar, I've never liked mastering inside it so I never dither while exporting out of Sonar.

    My Site
    Fractal Audio Endorsed Artist & Beta Tester
    #14
    MatsonMusicBox
    Max Output Level: -73 dBFS
    • Total Posts : 879
    • Joined: 2008/07/09 10:56:31
    • Location: Hanover, PA
    • Status: offline
    RE: Dithering internally??? 2008/11/18 22:48:29 (permalink)
    Yeah - I record typically at 24/88.2 - 32 bit internal - and then export at 24/88.2 with no dithering to go to Wavelab for mastering and final dither to 16/44.1.

    My understanding is that since the 32 bit files are 32 bit FLOAT - dithering when going back down to 24 is not needed?
    #15
    Sonic the Hedgehog
    Max Output Level: -76 dBFS
    • Total Posts : 733
    • Joined: 2006/09/10 13:42:06
    • Location: Montréal, Canada
    • Status: offline
    RE: Dithering internally??? 2008/11/18 23:48:19 (permalink)

    Danny, it looks like we have the same work habits

    Matson, good question. I'm not sure on that. My original issue was dithering internally within Sonar, but I read somewhere around here that Sonar would automatically apply the dithering in your case...

    ''I work to live, but live to make music'' -Mahler
    #16
    bitflipper
    01100010 01101001 01110100 01100110 01101100 01101
    • Total Posts : 26036
    • Joined: 2006/09/17 11:23:23
    • Location: Everett, WA USA
    • Status: offline
    RE: Dithering internally??? 2008/11/19 00:19:56 (permalink)
    Here's yet another analogy that just occurred to me. Maybe it sucks. Here it is anyway.

    Allowing SONAR to work in 32 bits internally serves the same purpose as a bank calculating compound interest using hundredths of a penny.

    Everything the bank takes in and gives out must be rounded to the nearest penny, just as audio that goes in or out of your computer has to be rounded to 24 bit integers. But in between, in the virtual netherworld inside the computer, the greater resolution minimizes cumulative rounding errors.

    When you get your bank statement, everything's rounded to the nearest penny, but it's still more accurate than if the bank had done every indivdual calculation with penny-accuracy. So maybe you still got cheated out of three tenths of a penny. Oh well. How would you spend it anyway?

    OK, so maybe I took that analogy too far...doobs and math are a known incompatibility.



    All else is in doubt, so this is the truth I cling to. 

    My Stuff
    #17
    Sonic the Hedgehog
    Max Output Level: -76 dBFS
    • Total Posts : 733
    • Joined: 2006/09/10 13:42:06
    • Location: Montréal, Canada
    • Status: offline
    RE: Dithering internally??? 2008/11/19 02:07:06 (permalink)

    You definately have a point. I guess it just depends how anal we want to be about it and if it's actual worth being anal - that's anal and not analyst. If Paul McCartney were an anal person, he would have never used a Hofner or an Epiphone!

    ''I work to live, but live to make music'' -Mahler
    #18
    Danny Danzi
    Moderator
    • Total Posts : 5810
    • Joined: 2006/10/05 13:42:39
    • Location: DanziLand, NJ
    • Status: offline
    RE: Dithering internally??? 2008/11/19 09:53:35 (permalink)
    But I'm still wondering and hoping for an answer from someone about this....If my card can't support this bit rate, what are the advantages of using it and what differences should I see or hear? The only thing I notice is a bit more processing use as well as hard drive use going up a few notches. There is no sound difference at all and nothing that I can physically hear or see. So why would I or wouldn't I use 32 bit? I did 2 small projects using 12 tracks of audio with a nice batch of plugs. One recorded at 24/48, the other at 32/48. The only difference I *see* is 3% increase in cpu and hard drive. There is no difference in what I *hear*. Is it something I'm supposed to hear? If someone replies "no, you probably won't be able to hear it" then why would we use it? If it's not audible enough to make a difference, obviously there has to be some benefit from using this setting? Anyone?

    My Site
    Fractal Audio Endorsed Artist & Beta Tester
    #19
    tarsier
    Max Output Level: -45 dBFS
    • Total Posts : 3029
    • Joined: 2003/11/07 11:51:35
    • Location: 6 feet under
    • Status: offline
    RE: Dithering internally??? 2008/11/19 11:39:24 (permalink)
    Here's what I do:

    Set audio driver to 24 bit. This will deliver 24 bits to Sonar when recording, and play out 24 bits from Sonar.
    Set record bit depth to 24. Since that's what the soundcard is delivering, that's what should be recorded. Having the record bit depth set to 32 offers no advantage, since the soundcard only delivers 24 bits.
    Set audio mix engine to 64 bit. If you have the CPU horsepower, then there's no reason not to use the higher resolution processing.
    Set render bit depth to 24 and...
    Set dither to triangular.

    Regarding Sonar's dither: Always set it to triangular. Sonar is programmed intelligently enough to not apply dither when it's not necessary. So when you're recording at 24 bits, and laying down 24 bit files, Sonar won't apply dither. And if you bounce to 64 bit float files (or 32 bit float files, last time I checked) Sonar also will not apply dither. When you bounce down to 24 bit files (from the 32 or 64 bit float audio engine) Sonar will apply dither, as it should since you are reducing bit depth in those cases. If you mistakenly set something to 16 bit (which I've done...) Sonar will dither appropriately.

    When you want to deliberately export a 16 bit file, the export dialog lets you choose a different dither if you so desire.

    Just set Sonar's dither to Triangular, and you're good. Sonar knows when and when not to dither.
    #20
    GMGM
    Max Output Level: -81 dBFS
    • Total Posts : 494
    • Joined: 2007/10/26 21:01:15
    • Location: Omaha, NE
    • Status: offline
    RE: Dithering internally??? 2008/11/19 12:36:48 (permalink)
    So, what about my earlier question. If I end up with a bunch of WAV files that are 32-bit, can I load them into Cubase/ProTools/Reaper/ or whatever my associates happen to be using?

    I understand that soundcards are not actually recording at 32 bits, etc... I record 24 bit. But if I bounce to clips or otherwise edit/consolidate my audio files, it ends up with a 32-bit file. I understand that there might be some advantages to using 32-bit files in Sonar, but it's obviously not that dramatic as to risk myself ending up with un-sharable files.

    Does that make sense?



    #21
    syaodzir
    Max Output Level: -90 dBFS
    • Total Posts : 40
    • Joined: 2005/12/11 16:14:49
    • Location: Edinburgh, Scotland
    • Status: offline
    RE: Dithering internally??? 2008/11/19 13:06:31 (permalink)
    Here's a good thread/read on dithering.

    RE: Pattor says: let your ears decide whether dither at 24 bits or not

    Make sure to have snacks and coco/coffee/beer handy.
    post edited by syaodzir - 2008/11/19 13:08:07

    AMD X2 4600, ASRock 939Dual-Sata2, 2GB DDR400, 2 x 80GB PATA, 2 x 250GB SATA, 1 x 500GB SATA II, E-mu 1820m @ 24-bit/48kHz, Korg 05R/W, Edirol PCR-800, Sonar 7.0.2 PE, XP PRO 32 & 64 Bit, LFS GNU/Linux
    #22
    bitflipper
    01100010 01101001 01110100 01100110 01101100 01101
    • Total Posts : 26036
    • Joined: 2006/09/17 11:23:23
    • Location: Everett, WA USA
    • Status: offline
    RE: Dithering internally??? 2008/11/19 13:31:16 (permalink)
    The difference is indeed too subtle to hear - most of the time, but not always.

    The beauty of 24-bit audio is that it provides way more resolution than we really need. Because of that it tolerates a great deal of sloppiness with recording levels. That's a benefit when you want to concentrate on the music and not worry about the technical aspects of recording.

    32 bits allows even more slop. At 24 bits you have to be mindful of overs, but once you get the audio into your computer, with 32-bit float it's virtually impossible to get an over. As long as you limit the final output, you're going to be OK.

    That's not to say that you should be sloppy, nor imply that there are zero consequences if you are. But it's nice to know the margin for error is wide.

    So when might you hear a difference? When a clip has undergone significant amounts of editing and processing. That's where the cumulative effect of rounding errors can result in a noticeable loss of detail. I'm not talking about just throwing reverb onto a track, but about serious data munging like AudioSnap, V-Vocal, severe equalization, multiple bounces and long effects chains. What does it sound like? Like uncorrelated (nonharmonic) distortion, not unlike the effects of clock jitter.


    All else is in doubt, so this is the truth I cling to. 

    My Stuff
    #23
    kwgm
    Max Output Level: -52.5 dBFS
    • Total Posts : 2271
    • Joined: 2006/10/12 00:14:20
    • Status: offline
    RE: Dithering internally??? 2008/11/19 16:07:36 (permalink)
    ORIGINAL: Danny Danzi

    But I'm still wondering and hoping for an answer from someone about this....If my card can't support this bit rate, what are the advantages of using it and what differences should I see or hear? The only thing I notice is a bit more processing use as well as hard drive use going up a few notches. There is no sound difference at all and nothing that I can physically hear or see. So why would I or wouldn't I use 32 bit? I did 2 small projects using 12 tracks of audio with a nice batch of plugs. One recorded at 24/48, the other at 32/48. The only difference I *see* is 3% increase in cpu and hard drive. There is no difference in what I *hear*. Is it something I'm supposed to hear? If someone replies "no, you probably won't be able to hear it" then why would we use it? If it's not audible enough to make a difference, obviously there has to be some benefit from using this setting? Anyone?


    This has been discussed already. It's also in the help file. If you don't understand, slow down and re-read the posts.

    Rendering at 32-bit (or 64-bit) is recommended to prevent round-off errors.

    No, you can't hear the difference. I can't hear the difference between 16-bit and 24-bit audio, but I use 24-bit audio during engineering tasks to maximize head room and minimize error, as already stated.

    To output files for listeners, bounce down to 16-bit using the best dithering algorithm available.

    To output files for use by other engineers use 44.1Khz, 24-bit.

    And when reducing audio file resolution, use dithering to reduce aliasing.
    post edited by kwgm - 2008/11/19 16:08:43

    --kwgm
    #24
    Jim Roseberry
    Max Output Level: 0 dBFS
    • Total Posts : 9871
    • Joined: 2004/03/23 11:34:51
    • Location: Ohio
    • Status: offline
    RE: Dithering internally??? 2008/11/19 16:14:17 (permalink)
    Excellent short/sweet explanation!

    Best Regards,

    Jim Roseberry
    jim@studiocat.com
    www.studiocat.com
    #25
    keyboard
    Max Output Level: -90 dBFS
    • Total Posts : 23
    • Joined: 2008/04/08 23:46:24
    • Status: offline
    RE: Dithering internally and Bit Depth 2008/12/15 20:25:02 (permalink)
    Hey guys - I'm hoping someone can help me with a newbie question regarding Audio Driver Bit Depth. In Sonar 7 I'm using an ASIO driver for my Edirol UA25EX. I've got everything set up and seemingly working. Under the General tab in the Audio Options dialog I have the UA-25EX set for my Playback and Recording timings; the Audio Driver Bit Depth is defaulted (uneditable) to 24 bits. My Default Settings for New Projects is set to a sampling rate of 44100 (which matches the switch on the back of the unit).

    However, after creating a new project I happened to look at the file info stats (File>Info) and see the following:
    Editing time: 00:18:45
    Revision: 1
    Events: 0
    Sample Rate: 44100 Hz
    Bit Depth: 16
    Pan Law: 0dB center, sin/cos taper, constant power
    File Version: 16.0.2.243

    Am I missing something here? Even though I have it set to 24 bits is it really 16 bits? How do I know I'm recording at 24 bits. Not sure I'm even asking this question the right way.

    Any help would be appreciated.
    Thanks.
    Rob
    #26
    Jim Roseberry
    Max Output Level: 0 dBFS
    • Total Posts : 9871
    • Joined: 2004/03/23 11:34:51
    • Location: Ohio
    • Status: offline
    RE: Dithering internally and Bit Depth 2008/12/15 20:31:51 (permalink)
    Got to:
    Option Menu>Global>Audio Data Tab

    Change the Record File bit-depth to 24

    Best Regards,

    Jim Roseberry
    jim@studiocat.com
    www.studiocat.com
    #27
    keyboard
    Max Output Level: -90 dBFS
    • Total Posts : 23
    • Joined: 2008/04/08 23:46:24
    • Status: offline
    RE: Dithering internally and Bit Depth 2008/12/15 21:42:46 (permalink)
    Thank you, Jim! I must have looked through all the settings so many times that it became a blur.

    Much appreciated.
    Rob
    #28
    Jump to:
    © 2025 APG vNext Commercial Version 5.1