• SONAR
  • A serious bug from FLAC encoder of SONAR Platinum when dithering out 24bit audio output... (p.6)
2017/05/21 08:31:57
interpolated
I presume pow-r will happen just befire the final output stage as it is not exclusively part of any codec more like a propriety dithering process.
2017/05/21 11:58:02
Noel Borthwick [Cakewalk]
Libsndfile is external to SONAR. Dithering is applied when SONAR converts from float to integer. Since in this case we do not convert to integer before sending the audio to libsndfile there is no dithering applied (at least at the SONAR level). So today the only case with libsndfile where dithering would apply would be when you pick 16 bit as the export bit depth in SONAR.
2017/05/21 11:58:12
Noel Borthwick [Cakewalk]
Libsndfile is external to SONAR. Dithering is applied when SONAR converts from float to integer. Since in this case we do not convert to integer before sending the audio to libsndfile there is no dithering applied (at least at the SONAR level). So today the only case with libsndfile where dithering would apply would be when you pick 16 bit as the export bit depth in SONAR.
2017/05/21 12:47:00
parco
Noel Borthwick [Cakewalk]
Libsndfile is external to SONAR. Dithering is applied when SONAR converts from float to integer. Since in this case we do not convert to integer before sending the audio to libsndfile there is no dithering applied (at least at the SONAR level). So today the only case with libsndfile where dithering would apply would be when you pick 16 bit as the export bit depth in SONAR.


So are you telling me that there are totally no any dithering done but only truncation while exporting to 32bit or 24bit?
2017/05/21 12:56:02
pwalpwal
parco
Noel Borthwick [Cakewalk]
Libsndfile is external to SONAR. Dithering is applied when SONAR converts from float to integer. Since in this case we do not convert to integer before sending the audio to libsndfile there is no dithering applied (at least at the SONAR level). So today the only case with libsndfile where dithering would apply would be when you pick 16 bit as the export bit depth in SONAR.


So are you telling me that there are totally no any dithering done but only truncation while exporting to 32bit or 24bit?




and to clarify, this is only when exporting to flac?
2017/05/21 13:08:25
gswitz
I suppose with floats you could dither the least significant bit, but the variance of level of this dither would significantly complicate quantifying the benefit of that dither. Also, with thirty two bit bounces where every available bit is used at the loudest moments, humans could never detect the precision on any system.

I believe that what Noel is saying is that dither is never applied to floats. That would mean that internal bounces never get dither, regardless of your settings, since the files created are floats. Noel?

Corollary: changing the setting for dither between internal bounce and export is not necessary.
2017/05/21 13:50:11
bitflipper
That is correct. Dither is never needed for 32- or 64-bit floats, and usually not needed for 24-bit int, either. libsndfile does apply dither as part of the conversion from float to int. Near as I can tell, the dither algorithm appears to be Triangular. Lest we drift too far afield, let's remember that dither is not relevant to the OP's initial complaint.
2017/05/21 16:45:47
parco
So.......... does it count towards a lie to SONAR users while the export dialog shows us some dithering choices but actually not using them at all no matter what we've chosen........?
2017/05/21 17:33:21
azslow3
Sorry people, I am noob and probably not getting something right about dithering and the difference in the bit depth.
 
* the first question is theoretical pure: if someone want dithering when moving from 32 to 24 bit, how he/she can test it is really working? I mean for that, that someone need at least 32bit (real DAC bits!) interface.
 
* the second is simple test inside Sonar: export some peace as 24bit WAV and the same peace as 16bit WAV. Import both into 2 tracks (24 bit project and audio drivers) and add Channel tool with flipped phase. Start playback. Can you see or hear SOMETHING? I mean my master bus show -96dB and my speakers/phones keep absolute silence.
2017/05/21 17:40:28
azslow3
parco
So.......... does it count towards a lie to SONAR users while the export dialog shows us some dithering choices but actually not using them at all no matter what we've chosen........?

As long users claim that is VERY IMPORTANT PROFESSIONAL thing, but can not noticed that in the resulting sound... I think that is acceptable
 
So it is working when it make sense but not disabled when it make no sense.
© 2026 APG vNext Commercial Version 5.1

Use My Existing Forum Account

Use My Social Media Account