Does normalizing require upconverting to preserve quality?

Help for Audacity on macOS.
Forum rules
ImageThis forum is for Audacity on macOS 10.4 and later.
Please state which version of macOS you are using,
and the exact three-section version number of Audacity from "Audacity 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.
KlarkKentThe3rd
Posts: 98
Joined: Fri Apr 19, 2013 6:12 pm
Operating System: Please select

Does normalizing require upconverting to preserve quality?

Post by KlarkKentThe3rd » Fri Apr 19, 2013 6:22 pm

Had so many questions, so I decided to register and ask you people :)

I have been editing music for several years now, and recently discovered that, in order to maximize quality, up-converting (bits, samples) is required before amplifying. However, should I upconvert before I normalize? Would that make a difference?

I am pretty sure OS and Audacity version does not matter here.

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

Re: Does normalizing require upconverting to preserve qualit

Post by kozikowski » Sat Apr 20, 2013 12:44 am

Audacity converts everything to internal format. It's whatever sample rate you picked in preferences (44100, 48000) and 32-Floating bit depth. A very common Export complaint is the slight noise that Audacity generates when it converts from 32-Float back to your desired output format. So I probably wouldn't bother to convert anything before importing. It will just be extra work for no noticeable gain.

Koz

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

Re: Does normalizing require upconverting to preserve qualit

Post by steve » Sat Apr 20, 2013 1:34 am

KlarkKentThe3rd wrote:in order to maximize quality, up-converting (bits, samples) is required before amplifying.
By default Audacity will convert WAV files to 32 bit float format on import, which allows amplification to be performed with extremely high precision.
Processing in Audacity is always in 32 bit float format so it is best to stick with the default 32 bit float format so there is only once conversion back to integer format (probably 16 bit) when you export.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

KlarkKentThe3rd
Posts: 98
Joined: Fri Apr 19, 2013 6:12 pm
Operating System: Please select

Re: Does normalizing require upconverting to preserve qualit

Post by KlarkKentThe3rd » Sat Apr 20, 2013 3:39 am

What I am talking about is applying effects to 44100 or 37800 hz files. Should I upconvert those before adding effects?

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

Re: Does normalizing require upconverting to preserve qualit

Post by Gale Andrews » Sat Apr 20, 2013 6:31 am

Who said you should upsample before amplifying?

Resampling sample rates (leaving pitch and tempo unchanged) up and then back down (assuming you want to export at the original rate) is lossy in absolute terms.

Why would you want to do that?

By the way some players may not play files at 378000 Hz (it's a very non-standard rate). That may be a better reason to resample that file.


Gale
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual

KlarkKentThe3rd
Posts: 98
Joined: Fri Apr 19, 2013 6:12 pm
Operating System: Please select

Re: Does normalizing require upconverting to preserve qualit

Post by KlarkKentThe3rd » Sat Apr 20, 2013 6:58 am

Gale Andrews wrote:Who said you should upsample before amplifying?

Resampling sample rates (leaving pitch and tempo unchanged) up and then back down (assuming you want to export at the original rate) is lossy in absolute terms.

Why would you want to do that?

By the way some players may not play files at 378000 Hz (it's a very non-standard rate). That may be a better reason to resample that file.


Gale
I know the first part. But, will up-converting sample rate be a good idea before applying an effect? Like, 44100 to 96000, apply edit, back to 44100. I came across an article about a year ago that was all about how effects programs will inevitable make mistakes, and if the rate is 96000, those mistakes will be very small, and virtually disappear if you down-convert.

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

Re: Does normalizing require upconverting to preserve qualit

Post by steve » Sat Apr 20, 2013 3:14 pm

KlarkKentThe3rd wrote: will up-converting sample rate be a good idea before applying an effect? Like, 44100 to 96000, apply edit, back to 44100. I came across an article about a year ago that was all about how effects programs will inevitable make mistakes, and if the rate is 96000, those mistakes will be very small, and virtually disappear if you down-convert.
No, that article is wrong. For amplifying there is no benefit in upsampling before processing. There may be benefits for some processes such as pitch stretch effects where aliasing distortion could be an issue, but no benefit for amplifying.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

KlarkKentThe3rd
Posts: 98
Joined: Fri Apr 19, 2013 6:12 pm
Operating System: Please select

Re: Does normalizing require upconverting to preserve qualit

Post by KlarkKentThe3rd » Sat Apr 20, 2013 7:49 pm

steve wrote:
KlarkKentThe3rd wrote: will up-converting sample rate be a good idea before applying an effect? Like, 44100 to 96000, apply edit, back to 44100. I came across an article about a year ago that was all about how effects programs will inevitable make mistakes, and if the rate is 96000, those mistakes will be very small, and virtually disappear if you down-convert.
No, that article is wrong. For amplifying there is no benefit in upsampling before processing. There may be benefits for some processes such as pitch stretch effects where aliasing distortion could be an issue, but no benefit for amplifying.
Thank you so much; now I know a little more.

However, there is one thing I don't quite understand: if any 16 bit .wav file is automatically converted to 32 bit on import, and then back to 16 on export, will the end file be identical to the original, if no edits were made? I am just terribly paranoid about preserving original sound of all my files.

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

Re: Does normalizing require upconverting to preserve qualit

Post by Gale Andrews » Sun Apr 21, 2013 12:46 am

KlarkKentThe3rd wrote:if any 16 bit .wav file is automatically converted to 32 bit on import, and then back to 16 on export, will the end file be identical to the original, if no edits were made? I am just terribly paranoid about preserving original sound of all my files.
If you want the exported file to be the same as the imported file in that hypothetical case, you will have to set Dither to "None" under "High-Quality Conversion" in the Quality Preferences.

There is some information about Dither (and why you might still want to keep it on when downsampling the bit depth) here:
http://wiki.audacityteam.org/wiki/Dither .




Gale
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual

KlarkKentThe3rd
Posts: 98
Joined: Fri Apr 19, 2013 6:12 pm
Operating System: Please select

Re: Does normalizing require upconverting to preserve qualit

Post by KlarkKentThe3rd » Sun Apr 21, 2013 1:52 am

Gale Andrews wrote: If you want the exported file to be the same as the imported file in that hypothetical case, you will have to set Dither to "None" under "High-Quality Conversion" in the Quality Preferences.

There is some information about Dither (and why you might still want to keep it on when downsampling the bit depth) here:
http://wiki.audacityteam.org/wiki/Dither .
Gale
That article is quite confusing to someone who doesn't know much about audio (me).

"Exporting a 16-bit track to 16-bit with dither set to "none" will be lossless."

But wasn't it said earlier in the thread that .wav files are always converted to 32 bit? If that is true, you cannot export 16 to 16, since automatic up-conversion has been performed on import.

I am very confused here.

Post Reply