![]() | All Advertisers |
| |||||||
| Notices |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| PTHD/PTLE floating point thing? | amost | So much gear, so little time! | 11 | 30th May 2006 01:51 PM |
| 88.2/32 bit floating point in Samplitude | billwarner | Mastering forum | 2 | 3rd May 2006 06:15 PM |
| Fixed vs Floating | Nika Aldrich | High end | 33 | 19th April 2004 02:16 AM |
| Guitar heads. Point to point? | ChristopherDawn | So much gear, so little time! | 32 | 3rd March 2004 12:49 AM |
![]() |
| | Thread Tools | Search this Thread | Rate Thread | Display Modes |
| | #1 |
| Gear addict Join Date: Sep 2006 Location: Netherlands.
Posts: 306
| 32 bits floating point to 24 bits fixed point Do i need to dither a 32 bits floating point to 24 bits fixed point? Or can i save the 32 bits floating point to 24 bits fixed point without rounding off with dither? Is there a need for it? I don't think so, because that 24 bits LSB will be drowned in the analogue noise........right? Some say that the noise is at atomic level at 20/24 bits, then there's no need for dither. Who can clear that out? |
| | |
| | #2 |
| Gear nut Join Date: Jun 2004 Location: Hillsboro, OR
Posts: 111
| dithering when converting from 32 float to 24 bit won't hurt anything, but it can help just a little. I usually use powr3 dither whenever dropping bits.
__________________ Greg Blaisdell Engineer - Musician - Pro Audio Sales www.proaudiotoys.com www.rackrecording.com |
| | |
| | #3 |
| Gear Head Join Date: Feb 2007
Posts: 46
| |
| | |
| | #4 | |
| Gear addict Join Date: Feb 2006
Posts: 321
| http://www.cadenzarecording.com/imag...tingdither.pdf According to this PDF there's no use dithering floating point sources at all. I have only skimmed thru it so i'm not 100% sure why but this is one of the explanations. Basically the noise will not be 100% random. It will to some extent depend on the signal being dithered. Quote:
| |
| | |
| | #5 | |
| Gear nut Join Date: Jun 2004 Location: Hillsboro, OR
Posts: 111
| why... "dithering when converting from 32 float to 24 bit won't hurt anything, but it can help just a little. I usually use powr3 dither whenever dropping bits." Quote:
I think it's good to try different dithers, and decide which you like best on a particular mix. What sounds best on one mix doesn't always sound best on another. There are subtle differences. If you're not sure if dither sounds ok coming from 32-bit float, then try it. Do what you think sounds best. If you can't hear a difference, then don't worry about it.
__________________ Greg Blaisdell Engineer - Musician - Pro Audio Sales www.proaudiotoys.com www.rackrecording.com | |
| | |
| | #6 | |
| Gear addict Join Date: Aug 2005 Location: Norway
Posts: 322
| Quote:
| |
| | |
| | #7 | ||
| Gear addict Join Date: Jan 2007 Location: Melbourne - Australia's music capital.
Posts: 383
| Quote:
So, generally best to dither to minimize your losses. Quote:
__________________ Adam Dempsey new website: Is adding presence the same as subtracting absence? Last edited by Boomshanka; 11th February 2007 at 02:02 AM. Reason: typo | ||
| | |
| | #8 |
| Motown legend Join Date: Jun 2002 Location: Songwriter Gulch, Nashville TN
Posts: 5,022
| When you don't dither you are always adding unnecessary distortion. There have been many rationalizations for software and hardware to not dither however it remains theoretically necessary so it's pretty silly to not do it when the capability is available. |
| | |
| | #9 |
| Lives for gear Join Date: Dec 2005 Location: Hungary
Posts: 762
| You can try both, although I guess (depends on the material), dithered will sound better. My vote is to dither. Tamas Dragon |
| | |
| | #10 |
| Lives for gear Join Date: Aug 2004 Location: Santa Fe, NM
Posts: 879
| It's worth noting that going from 32 float to 24 fixed is a lossy conversion unless the material is running at 0 dBFS. Some number of low-order bits are going to disappear in the conversion. Whether there is any meaningful data in those low order bits depends on how the material was processed, but in general this conversion is quite analogous to going from 24 fixed to 16 fixed, and so it would seem that dither would be a good thing. On the other hand, if the final product is going to be 16 bit, there's nothing to be gained in dithering the first conversion, since any difference caused by the dither is going to be lost in the conversion to 16 bit. |
| | |
| | #11 | |
| Gear addict Join Date: Feb 2006
Posts: 321
| Quote:
Not sure what you mean by that.However the PDF gives some convincing arguments that it is no use dithering when going from a float source to an integer target. As i said i only skimmed thru it. I thought it'd be interesting to read an opposite opinion. I guess this is one of the cases where you simply have to read a lot of opposite opinions and simply decide which one you believe in. Could be wrong about that though. | |
| | |
| | #12 |
| Lives for gear Join Date: Dec 2005 Location: Hungary
Posts: 762
| It's an endless debate whether floating or fixed point is better. It's not a win win, but rather a situation of compromise. One is better at one thing, the other is better in others. To understand the whole picture you should look after some dsp engineering. All in all, both can give you excellent results. Tamas Dragon ![]() |
| | |
| | #13 | |
| Gear addict Join Date: Feb 2006
Posts: 321
| Quote:
![]() | |
| | |
| | #14 |
| Gear addict Join Date: Aug 2005 Location: Brisbane, Australia
Posts: 457
| In this particular case going from 32bit float to 24bit integar or when going 48bit fixed point to 24bit, I've found that I get the most transparent result by using flat 24bit TPDF dither (no noise shaping). You should really only use 'noise shaped' dither on your final wordlength reduction to 16bits. It's the cummulative affect of doing multiple 'noise shaped' dither processes that can raise the noise floor to an unacceptable audible level. Some tests I conducted with some mix engineer friends of mine involved using a Pro Tools LE system (32bit float). The output of the master in Pro Tools LE is reduced to 24bit integar. When no dither was used we noticed a slight smearing or fuzziness to the mix particularly if there was more processing to be done later i.e. mastering. Yet the same mixes with 24bit TPDF dither didn't exhibit the same fuzziness about them & provided a more transparent sounding master. Yes this is only a very small improvement & only the trained ear would probably notice it, but it's something I now recommend that all mix engineers do for the best results. Ultimately it's up to you though, do a test & see if you hear the difference? To help you hear the difference add some compression or limiting to both samples after they've been converted to 24bits as this will help bring out anything ugly to the surface. Matt |
| | |
| | #15 | |
| Gear addict Join Date: Feb 2006
Posts: 321
| Quote:
I'm partly here to share the things i know and to learn the things i don't know. However 2 things. 1. If you have a stereo master at 32 bit float, would'nt the dither noise or quantiztion distorsion be well below the accuarcy of the DA conversion ? The best figure i've seen is like 127 Db of dynamics range (The Lavry Blue) while the theoretical DR of a 24 bit file is 144. So at least in theory you should'nt be able to hear the difference simply 'cause the converter isn't that accurate. 2. You say that repeated dithering has accumulative effects. True that but so has quantzition distorsion. And the reason for dithering is that it is harder to hear than distorsion. So i don't quite see your point there. Did i miss something here ? | |
| | |
| | #16 |
| Lives for gear Join Date: Jun 2006 Location: Pennsylvania
Posts: 660
| I'm assuming that we're talking about a straight translation from 32 bit to 24 bit with no processing being done. This being the case, wouldn't whether or not to use dither depend on the actual level of the signal? If you haven't gone beyond the dynamic range of 24 bit fixed, the 24 bit mantissa of a 32 float number would equate to 24 fixed, therefore it would seem that you are adding unnecessary noise to the signal by dithering. OTOH if it exceeds this range, as Nika's paper points out, you are adding correlated noise during the translation by using dither. Not really a good thing, but a necessary "evil".
__________________ Tom Volpicelli The Mastering House Inc. www.masteringhouse.com "Every Time a Bell Rings an Angel Gets Her Wings." "Default to bypass." |
| | |
| | #17 |
| Motown legend Join Date: Jun 2002 Location: Songwriter Gulch, Nashville TN
Posts: 5,022
| Dithering doesn't hide the distortion. It turns it into something that sounds like hiss. Dither increases the noise level 3 dB. with every subsequent process. Failing to dither creates distortion that increases by 6 dB with every subsequent process. The bottom-line is that its a good idea to use dither if you have it but not the end of the world if you don't have the ability to dither to 24 bits. |
| | |
| | #18 | |
| Lives for gear Join Date: Aug 2004 Location: Santa Fe, NM
Posts: 879
| Quote:
Simple example--start with an analog source that peaks at -6 dBFS and digitize it at 24 fixed. You have 23 significant bits (the high order bit is zero.) Convert to float; all of the precision is preserved (tack a zero into the exponent field and then normalize the number.) Pull the fader back by 12dB. At this point the mantissa still has 23 bits of valid data, but the exponent has decreased by 2. Now convert back to fixed. The mantissa gets shifted two bits to the right and then truncated; you're down to 21 bits of precision (and have three leading bits of zero rather than just one.) My read of the cited paper is not that dithering is useless nor unnecessary on floating point format, but rather that it is impossible to fully decorrelate the quantization noise from the source signal, and thus may cause more harm than good if not done well. | |
| | |
| | #19 | |
| Lives for gear Join Date: Jun 2006 Location: Pennsylvania
Posts: 660
| Quote:
As long as the mantisa of a floating point represents the same range (approx 6 db per bit intervals) the coded words would be translated to 24 bit more accurately without dither given correlated noise, true? Another thread on this topic that reinforces many of the comments made on this thread: click here
__________________ Tom Volpicelli The Mastering House Inc. www.masteringhouse.com "Every Time a Bell Rings an Angel Gets Her Wings." "Default to bypass." | |
| | |
| | #20 | |
| Lives for gear Join Date: Aug 2004 Location: Santa Fe, NM
Posts: 879
| Quote:
The real question is not whether processing is happening as part of the conversion to 24 bit (ultimately that is never the case) but what the source of the floating point data is in the first place. In the real world there is always *something* done to the data (something as simple as a gain change, or as complex as you would like) between the initial conversion to floating point and the conversion back to fixed, and that causes issues because the opposite is not true--there are a very very large number of 32 bit float values that cannot be exactly represented as 24 bit fixed (on the order of 4.2 billion, or 99.2% of the possible values, if my math serves.) Thus, you end up with quantization and roundoff errors if there is any computation done from the point at which the original fixed-point data is converted to floating point. | |
| | |
| | #21 | ||
| Gear Head Join Date: Dec 2006
Posts: 56
| Quote:
Quote:
I mean, does for exemple a dance track using only the highest bits and never the ones under around 10 (except maybe for the fade in and fade out) will create any distortion? | ||
| | |
| | #22 | |
| Gear Head Join Date: Dec 2006
Posts: 56
| Quote:
i mean for this 24 bits word : abcd efgh ijkl mnop yyyy yyyy Won't we always have for high level music the same y=1 ? and no truncation to take care of anyway? i know lot of people will answer me "yes there will be truncation if some processing has been done" but if the only process is to master an already high level signal (dance music,etc...), i would never touch the yyyy yyyy anyway right? and "y" will always keep the same value anyway as i will never put down the level so low to change it | |
| | |
| | #23 | ||
| Gear addict Join Date: Aug 2005 Location: Brisbane, Australia
Posts: 457
| Quote:
Quote:
This is why I recommend using TPDF dither 'no noise shaping' at 24bit level. Then apply one pass of Noise Shaped dither for your 24 to 16bit wordlength reduction. Hope this makes sense? Matt | ||
| | |
| | #24 | |
| Lives for gear Join Date: Jun 2006 Location: Pennsylvania
Posts: 660
| Quote:
See: http://www.pgm.com/pipermail/proaudi...ry/002500.html
__________________ Tom Volpicelli The Mastering House Inc. www.masteringhouse.com "Every Time a Bell Rings an Angel Gets Her Wings." "Default to bypass." Last edited by masteringhouse; 12th February 2007 at 01:33 AM. Reason: url change | |
| | |
| | #25 | ||
| Gear addict Join Date: Jan 2007 Location: Melbourne - Australia's music capital.
Posts: 383
| Quote:
Quote:
And for any confused, keep in mind we're talking dynamic range in terms of easily cumulative low level loss of detail which can affect sense of depth and "analog-ness" - it's "footroom" (to coin a BK phrase), rather than 0dBFS headroom.
__________________ Adam Dempsey new website: Is adding presence the same as subtracting absence? | ||
| | |
| | #26 |
| Gear interested Join Date: Nov 2006
Posts: 5
| so now I'm a little confused. If I capture my mastered audio into my workstation via an L2, which dithers it from 24 -16, do I need to switch on the dithering in my DAW whe I burn a CD? What about if there's no fades or edits? |
| | |
| | #27 |
| Gear interested Join Date: Nov 2006
Posts: 5
| another question; Is it ok to use a 32 bit plugin on a 24bit audio file? Am I doing any damage? |
| | |
| | #28 | |
| Gear addict Join Date: Aug 2005 Location: Brisbane, Australia
Posts: 457
| Quote:
Matt | |
| | |