change dither to none? in quality settings?

Help for Audacity on Windows.
Forum rules
ImageThis forum is for Audacity on Windows.
Please state which version of Windows you are using,
and the exact three-section version number of Audacity from "Help menu > About Audacity".


Audacity 1.2.x and 1.3.x are obsolete and no longer supported. If you still have those versions, please upgrade at https://www.audacityteam.org/download/.
The old forums for those versions are now closed, but you can still read the archives of the 1.2.x and 1.3.x forums.
Gale Andrews
Quality Assurance
Posts: 41761
Joined: Fri Jul 27, 2007 12:02 am
Operating System: Windows 10

Re: change dither to none? in quality settings?

Post by Gale Andrews » Thu Aug 29, 2013 10:52 pm

16-, 24- and 32-bit are bit depths.

Bit rates for uncompressed files are worked out by multiplying bit depth * number of channels * sample rate. That makes a stereo 16-bit file to be 1411 kbps bit rate.

This table lists the bit depths Audacity imports WAV files at:

Code: Select all

Default  
Sample Format           File bit depth       Imports as         
16                      16                   16
16                      24                   32 
16                      32                   32

24                      16                   24                   
24                      24                   32 
24                      32                   32

32                      16                   32
32                      24                   32
32                      32                   32

Gale
Last edited by Gale Andrews on Fri Apr 24, 2015 4:21 pm, edited 2 times in total.
Reason: Renamed "Quality Preference" to "Default Sample Format"
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual

bomber1978
Posts: 146
Joined: Fri Sep 17, 2010 8:00 am
Operating System: Please select

Re: change dither to none? in quality settings?

Post by bomber1978 » Fri Aug 30, 2013 1:32 am

Is the column you call "quality preference" on that list the same as what Audacity settings call the "default sample format"?
You mention specifically for non-compressed eg. WAV, can you please tell me what happens with FLAC, how does FLAC import/export?
PS - I remember 2-3 years ago I was told there was a bug with dither being turned on, and that I should have it set to off..., I guess anything I've speed corrected with Audacity in that time will have digital artefacts???

steve
Site Admin
Posts: 81627
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: change dither to none? in quality settings?

Post by steve » Sun Sep 01, 2013 8:06 pm

bomber1978 wrote:Is the column you call "quality preference" on that list the same as what Audacity settings call the "default sample format"?
Gale is referring to these settings: http://manual.audacityteam.org/o/man/qu ... ences.html
bomber1978 wrote:You mention specifically for non-compressed eg. WAV, can you please tell me what happens with FLAC, how does FLAC import/export?
In this context FLAC can be thought of as "non-compressed".
bomber1978 wrote:PS - I remember 2-3 years ago I was told there was a bug with dither being turned on, and that I should have it set to off...,
As I wrote earlier: "it is contentious whether Audacity should work in 32 bit float format when rendering 16 bit audio to a 16 bit file". Depending on your point of view this could be seen as a "bug" or a "requested feature enhancement", but either way the current behaviour is not ideal and is confusing to users. We log "bugs" and "enhancements" on the same bug tracking system, so in that sense it is a "bug" and is not yet resolved.
As to whether or not dither should be disabled please see my previous replies in this topic thread.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

Gale Andrews
Quality Assurance
Posts: 41761
Joined: Fri Jul 27, 2007 12:02 am
Operating System: Windows 10

Re: change dither to none? in quality settings?

Post by Gale Andrews » Mon Sep 02, 2013 11:03 pm

bomber1978 wrote:You mention specifically for non-compressed eg. WAV, can you please tell me what happens with FLAC, how does FLAC import/export?
FLAC like other lossless formats has its export bit depth set by the export choice. The Default Sample Format in Quality Preferences plays no part .

Import of FLAC (using libflac) could be considered more "logical" than WAV in that you don't import at a higher bit depth than the Preference bit depth or the file bit depth:

Code: Select all

Default
Sample Format               File bit depth       Imports as         
    16                      16                   16
    16                      24                   24

    24                      16                   24                   
    24                      24                   24

    32                      16                   32
    32                      24                   32


On Linux, FLAC is imported by the WAV importer (libsndfile) by default so I assume but I have not tested that the behaviour will be as for WAV.


Gale
Last edited by Gale Andrews on Fri Apr 24, 2015 4:21 pm, edited 2 times in total.
Reason: Renamed "Quality Preference" to "Default Sample Format"
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual

bomber1978
Posts: 146
Joined: Fri Sep 17, 2010 8:00 am
Operating System: Please select

Re: change dither to none? in quality settings?

Post by bomber1978 » Tue Sep 03, 2013 6:30 am

OK I have Audacity at 32 bit float default sample format.
I just loaded a 16bit FLAC file, gave it a +0.1% speed increase, and exported using shaped dither as FLAC.
I then went through exactly the same process but exported as WAVE instead of FLAC.
The exported FLAC file has quiet hiss in the silence before the track, however the exported WAVE file has much louder hiss in the silence before the track...
Why does the exported WAVE have much louder hiss than the exported FLAC?, they were identical process' apart from one being exported as WAVE and the other FLAC...

steve
Site Admin
Posts: 81627
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: change dither to none? in quality settings?

Post by steve » Tue Sep 03, 2013 12:51 pm

Probably because you exported as 24 bit FLAC.
If you exported as 16 bit FLAC the dither should have exactly the same level (note that because dither has a random element they will not be bit for bit identical.)
The amount of dither required when exporting in 24 bit is much lower than 16 bit.
To select 24 bit FLAC, set FLAC as the export format and then click the Options button.
For 24 bit WAV, select "Other uncompressed files" and then click the Options button.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

bomber1978
Posts: 146
Joined: Fri Sep 17, 2010 8:00 am
Operating System: Please select

Re: change dither to none? in quality settings?

Post by bomber1978 » Tue Sep 03, 2013 1:38 pm

Hello,
Yes I am familiar with how to export WAV and FLAC as 24bits..., so I am certain I did not export as 24bit FLAC as you suggested I might have done...
I am certain I did exactly the following:
Audacity is set at default 32bit float sample format.
Imported a 16bit/44.1 FLAC file, gave it a +0.1% speed increase, and exported using shaped dither as FLAC 16bit/44.1.
I then went through exactly the same process but exported as WAVE 16bit/44.1 instead of FLAC 16bit/44.1.
The exported FLAC file has quiet hiss in the silence before the track, however the exported WAVE file has much louder hiss in the silence before the track...
They were identical process' apart from one being exported as WAVE and the other FLAC, seems odd to me that that the WAV has more hiss...
I'm sure if you try it you'll get the same result.....

steve
Site Admin
Posts: 81627
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: change dither to none? in quality settings?

Post by steve » Tue Sep 03, 2013 2:14 pm

bomber1978 wrote:I'm sure if you try it you'll get the same result.....
No. I'm getting exactly the same amount of hiss whether I export as 16 bit WAV or 16 bit FLAC.
I've also tested on Windows and I get exactly the same result.
If you can give precise step-by-step instructions I will try to replicate your results.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

kozikowski
Forum Staff
Posts: 69374
Joined: Thu Aug 02, 2007 5:57 pm
Operating System: macOS 10.13 High Sierra

Re: change dither to none? in quality settings?

Post by kozikowski » Tue Sep 03, 2013 2:45 pm

Almost all special effects require some dither. If you have a voice singing three musical notes and you cut one of the notes, then the other two are completely unchanged and can go in and out of Audacity -- 16-32-16 -- without dither, but if you change the voices in any way, you're stuck.

There's a difference between 32 bit and 32-bit floating. Audacity uses floating internally because, for one example, if you apply an effect or filter that causes the show to overload or distort from high volume, 32-floating will allow you to simply reduce the volume with another effect and carry on. The non-float formats would permanently destroy the show.

This happens a lot. Photoshop doesn't use simple 8-bit color internally.

Koz

steve
Site Admin
Posts: 81627
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: change dither to none? in quality settings?

Post by steve » Tue Sep 03, 2013 3:07 pm

kozikowski wrote:non-float formats
AKA "integer formats".
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

Post Reply