ULTRABRA
Max Output Level: -81 dBFS
- Total Posts : 484
- Joined: 2009/07/07 05:27:34
- Location: Helsinki, Finland
- Status: offline
Dithering 32 bit floating point to 24 bit
If I am working on a project at 32 bit floating point and I export it down to a 24 bit wav file, do I need to add dither? I was reading that in Studio One they do this and its a default setting that exports to anything below 32 bit floating point have dither automatically added. But it can be turned off also. I always thought that dither was not required until going down to 16 bit ...?
HP Z420, Intel Xeon E5-1620@ 3600MHz, 8GB RAM, Windows 7 Pro 64-bit, Soundcard : Focusrite Saffire 24, & Sonar : Producer X3 My Soundcloud
|
DeeringAmps
Max Output Level: -49 dBFS
- Total Posts : 2614
- Joined: 2005/10/03 10:29:25
- Location: Seattle area
- Status: offline
Re: Dithering 32 bit floating point to 24 bit
2018/03/21 12:31:44
(permalink)
☄ Helpfulby pwalpwal 2018/03/21 13:28:29
Dither anytime you “down sample”.
T
Tom Deering Tascam FW-1884 User Resources Page Firewire "Legacy" Tutorial, Service Manual, Schematic, and Service Bulletins Win10x64 StudioCat Pro Studio Coffee Lake 8086k 32gb RAM ![](http://deeringamps.com/sonar/CbB_24.04.1_BUILD_28.jpg) RME UFX (Audio) Tascam FW-1884 (Control) in Win 10x64 Pro
|
TheMaartian
Max Output Level: -47.5 dBFS
- Total Posts : 2774
- Joined: 2015/05/21 18:30:52
- Location: Flagstaff, AZ
- Status: offline
Re: Dithering 32 bit floating point to 24 bit
2018/03/21 15:57:48
(permalink)
☄ Helpfulby mettelus 2018/03/21 16:33:01
32-bit float (23-bit fraction, 8-bit exponent, 1-bit sign) to 24-bit integer seems like an up-sample to me.
Intel i7 3.4GHz, 16 GB RAM, 2 TB HD Win10 Home 64-bit Tascam US-16x08 Studio One 4 Pro Notion 6 Melodyne 4 Studio Acoustica 7 Guitar Pro 7 PreSonus FaderPort Nektar P6 M-Audio BX8 D2 Beyerdynamic DT 880 Pro NI K9U XLN AK, AD2 AAS VS-2, GS-2, VA-2, EP-4, CP-2, OD Toontrack SD3, EZK
|
mettelus
Max Output Level: -22 dBFS
- Total Posts : 5321
- Joined: 2005/08/05 03:19:25
- Location: Maryland, USA
- Status: offline
Re: Dithering 32 bit floating point to 24 bit
2018/03/21 16:36:47
(permalink)
I doubt you will hear a difference one way or the other with that situation, since the 32-bit is sort of a safety-net to prevent clipping on 24-bit audio to my understanding. Where you will notice it immediately is if that 32-bit audio is "clipped," since the 24-bit won't like it.
ASUS ROG Maximus X Hero (Wi-Fi AC), i7-8700k, 16GB RAM, GTX-1070Ti, Win 10 Pro, Saffire PRO 24 DSP, A-300 PRO, plus numerous gadgets and gizmos that make or manipulate sound in some way.
|
drewfx1
Max Output Level: -9.5 dBFS
- Total Posts : 6585
- Joined: 2008/08/04 16:19:11
- Status: offline
Re: Dithering 32 bit floating point to 24 bit
2018/03/21 17:41:14
(permalink)
For audio, there is no reason to use dither when the output is greater than ~16 bits. It simply will never ever make any difference. The rule about always dithering when reducing resolution is a general rule about preserving as much data as possible, but it's irrelevant when the data is already noise or is never going to get used because it's going to be completely inaudible and buried in analog noise anyway. TheMaartian 32-bit float (23-bit fraction, 8-bit exponent, 1-bit sign) to 24-bit integer seems like an up-sample to me.
32 bit float = 23 bits of resolution + 1 sign bit + 1 implied bit (for non-subnormals, but subnormals are irrelevant for audio*) + 8 bit exponent. 24 bit = 24 bits of resolution including 1 sign bit, but you only get 24 bits of resolution for individual samples that are within ~6 dBFS of clipping. In floating point you always (except for subnormals*) get the full resolution because the exponent scales things. IOW, you always (except for subnormals*) get 25 bits of resolution with 32 bit floating point vs. 24 bits only for the loudest samples with 24 bit fixed point. * I only mention subnormals so that someone doesn't insist on needlessly correcting me on a technical subtlety that doesn't matter at all. If you don't already know what they are it means you don't need to.
![](http://i.imgur.com/bFIn3pR.jpg) In order, then, to discover the limit of deepest tones, it is necessary not only to produce very violent agitations in the air but to give these the form of simple pendular vibrations. - Hermann von Helmholtz, predicting the role of the electric bassist in 1877.
|
dmbaer
Max Output Level: -49.5 dBFS
- Total Posts : 2585
- Joined: 2008/08/04 20:10:22
- Location: Concord CA
- Status: offline
Re: Dithering 32 bit floating point to 24 bit
2018/03/21 19:39:32
(permalink)
TheMaartian 32-bit float (23-bit fraction, 8-bit exponent, 1-bit sign) to 24-bit integer seems like an up-sample to me.
No, it's a straight-across equivalence. That 23-bit fraction has one extra implicit bit. With FP, the first bit is always 1, so the chip designers wisely chose to leave it out for another bit on the right end.
|
TheMaartian
Max Output Level: -47.5 dBFS
- Total Posts : 2774
- Joined: 2015/05/21 18:30:52
- Location: Flagstaff, AZ
- Status: offline
Re: Dithering 32 bit floating point to 24 bit
2018/03/21 21:25:34
(permalink)
dmbaer
TheMaartian 32-bit float (23-bit fraction, 8-bit exponent, 1-bit sign) to 24-bit integer seems like an up-sample to me.
No, it's a straight-across equivalence. That 23-bit fraction has one extra implicit bit. With FP, the first bit is always 1, so the chip designers wisely chose to leave it out for another bit on the right end.
You can tell it's been over 40 years since engineering school. And then the business I was in in the 80s (oil) required precision higher than 24-bit and all of the microprocessors I could power with solar were 8-bit. Lousy environment for floating point math, so I wrote a 64-bit fixed point math library for the NSC-800 (CMOS; Z-80 instruction set), 32-bit integer and 32-bit fraction. I had to deal with some meter correction factors whose first significant digit was 6 to the right of the decimal point. I'll say this for fixed point math...it's fast.
Intel i7 3.4GHz, 16 GB RAM, 2 TB HD Win10 Home 64-bit Tascam US-16x08 Studio One 4 Pro Notion 6 Melodyne 4 Studio Acoustica 7 Guitar Pro 7 PreSonus FaderPort Nektar P6 M-Audio BX8 D2 Beyerdynamic DT 880 Pro NI K9U XLN AK, AD2 AAS VS-2, GS-2, VA-2, EP-4, CP-2, OD Toontrack SD3, EZK
|