The problem with effect "Normalize".

This read-only archive contains discussions from the Adding Feature forum.
New feature request may be posted to the Adding Feature forum.
Technical support is available via the Help forum.
юра00
Posts: 886
Joined: Mon Jan 21, 2013 11:26 am
Operating System: Windows 10

Re: The problem with effect "Normalize".

Post by юра00 » Fri Jul 17, 2015 10:39 am

Sound the same. But after some training it is possible to differ even 0,01 db. May be, develop additional plugin, nearly "Approved normalize" with 2 or more decimal places? I should download!

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

Re: The problem with effect "Normalize".

Post by steve » Fri Jul 17, 2015 10:49 am

юра00 wrote:But after some training it is possible to differ even 0,01 db
No. I have many years of professional experience in sound engineering, and I can clearly hear a 1dB difference, but no way can I hear a 0.1 dB difference, let alone 0.01 dB difference. The developer of the updated effects was intending to make it whole numbers only, but I persuaded him to add one decimal place. I doubt that I could persuade him to make it 2 decimal places unless someone can come up with a good "use case" that demonstrates the benefit of more decimal places.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

юра00
Posts: 886
Joined: Mon Jan 21, 2013 11:26 am
Operating System: Windows 10

Re: The problem with effect "Normalize".

Post by юра00 » Fri Jul 17, 2015 12:09 pm

Thank you! Please, consider my note in this topic for next, now developed, I hope, version of Audacity, 2.1.2 or somelike...

Robert J. H.
Posts: 3633
Joined: Thu May 31, 2012 8:33 am
Operating System: Windows 10

Re: The problem with effect "Normalize".

Post by Robert J. H. » Fri Jul 17, 2015 1:04 pm

steve wrote:
юра00 wrote:But after some training it is possible to differ even 0,01 db
No. I have many years of professional experience in sound engineering, and I can clearly hear a 1dB difference, but no way can I hear a 0.1 dB difference, let alone 0.01 dB difference. The developer of the updated effects was intending to make it whole numbers only, but I persuaded him to add one decimal place. I doubt that I could persuade him to make it 2 decimal places unless someone can come up with a good "use case" that demonstrates the benefit of more decimal places.
I guess it depends highly on the context.

Simple example:
- Import a clip
- duplicate it
- amplify one by 0.1 dB


The audio is now clearly audible, even with a amplification of 0.01 dB.
I get a mixed level of -62 dB peak with my test clip.

There are other effects that do suffer from the newly introduced validation with predefined decimal places.
For instance, Paul stretch allows only a time resolution down to 0.1 seconds.
Imagine a reverb with such a setting - it's a cathedral.
I often use it with stretch factor 1.0 and Time resolution 0.025 - it gives a nice touch to some pads while keeping some transitions. Not possible anymore.

Robert

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

Re: The problem with effect "Normalize".

Post by Gale Andrews » Fri Jul 17, 2015 1:10 pm

Moved to "Adding Features".

Presumably there is a "scientific" use case for two decimal places of accuracy? Is that why Amplify uses two places, as a more "advanced" tool?

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

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

Re: The problem with effect "Normalize".

Post by Gale Andrews » Fri Jul 17, 2015 1:18 pm

Robert J. H. wrote:There are other effects that do suffer from the newly introduced validation with predefined decimal places.
For instance, Paul stretch allows only a time resolution down to 0.1 seconds.
Imagine a reverb with such a setting - it's a cathedral.
I often use it with stretch factor 1.0 and Time resolution 0.025 - it gives a nice touch to some pads while keeping some transitions. Not possible anymore.
That Paulstretch example seems a poor decision. One decimal place is not sufficient for length in seconds. Three decimal places is allowed for the durations in Truncate Silence.

Are there any other examples where accuracy has been reduced?


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

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

Re: The problem with effect "Normalize".

Post by steve » Fri Jul 17, 2015 1:38 pm

If you wish to normalize to a very low level, you can normalize down to -99.9 dB (which is extremely quiet and well below the minimum amplitude for 16-bit audio).
Gale Andrews wrote:Presumably there is a "scientific" use case for two decimal places of accuracy?
For "scientific" cases, there is a "scientific" tool - "Nyquist". With Nyquist you can have 32-bit float precision (about 15 decimal places).
For example, to amplify by -0.12345 dB

Code: Select all

(mult *track* (db-to-linear -0.12345))
Gale Andrews wrote:Is that why Amplify uses two places, as a more "advanced" tool?
There are a few cases where amplifying to greater precision than 0.1 dB is a requirement. One example is when attempting "phase cancellation" ("cancelling" one sound by adding its inverse).

For both Normalize and Amplify, whole number dB is probably adequate for 99% of use cases. 0.1 dB steps is probably adequate for 99.99% of use cases. Two decimal places in the Amplify effect is probably adequate for (guess your own figure) 99,9999% of use cases? For the remaining 0.00...01% of use cases, there is Nyquist. I can't think of any practical use cases that requires more than 1 decimal place in the Normalize effect. I think there is a stronger case for giving the Amplify effect 3 decimal places, but even that is very much a fringe case.
Robert J. H. wrote:There are other effects that do suffer from the newly introduced validation with predefined decimal places.
Yes, there are a few such cases - particularly with Nyquist effects that previously provided a slider range for the most common values and an extended text input range. The extended text input range is now not available.
Robert J. H. wrote:For instance, Paul stretch allows only a time resolution down to 0.1 seconds.
Another example is "Bass and Treble". I'd like to increase the range to say +/- 30 dB
The other possible solution would be to change the validation to allow an extended range beyond the slider range.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

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

Re: The problem with effect "Normalize".

Post by steve » Fri Jul 17, 2015 1:41 pm

Gale Andrews wrote:That Paulstretch example seems a poor decision
There are many cases, but generally it is not due to a recent "design decision" to change the accuracy, but rather that the default accuracy is now strictly enforced (validated) whereas previous it was not.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

Robert J. H.
Posts: 3633
Joined: Thu May 31, 2012 8:33 am
Operating System: Windows 10

Re: The problem with effect "Normalize".

Post by Robert J. H. » Fri Jul 17, 2015 2:18 pm

steve wrote:
Gale Andrews wrote:That Paulstretch example seems a poor decision
There are many cases, but generally it is not due to a recent "design decision" to change the accuracy, but rather that the default accuracy is now strictly enforced (validated) whereas previous it was not.

Shouldn't be hard to fix those issues.
The main task is to list the effects in question and to agree on the needed accuracy.


Another accuracy/validation bug I've encountered:

I changed the gain on a track and wanted to reset it, so I opened the gain dialog and entered "0".
Nothing happened, the gain was still at -6 dB.
I had to move the slider to zero and the value displayed was 1-06. Same with Pan.

However, I'm not able to reproduce it anymore - it now takes the 0. Strange thing.

Robert

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

Re: The problem with effect "Normalize".

Post by Gale Andrews » Fri Jul 17, 2015 4:31 pm

steve wrote:
Gale Andrews wrote:Presumably there is a "scientific" use case for two decimal places of accuracy?
For "scientific" cases, there is a "scientific" tool - "Nyquist". With Nyquist you can have 32-bit float precision (about 15 decimal places).
For example, to amplify by -0.12345 dB

Code: Select all

(mult *track* (db-to-linear -0.12345))
How many users will research to find that out, the more so without a published library of code snippets? :ugeek:
steve wrote: I can't think of any practical use cases that requires more than 1 decimal place in the Normalize effect. I think there is a stronger case for giving the Amplify effect 3 decimal places, but even that is very much a fringe case.
If" there is a use case for normalizing stereo channels independently to two decimal places of accuracy or to remove DC offset while normalizing to two decimal places, it is more convenient to do that with Normalize than Amplify.

But in any case it would look more consistent if the permitted accuracy was the same in both effects, and I don't see bad side effects of doing that. Do you?
steve wrote:
Robert J. H. wrote:For instance, Paul stretch allows only a time resolution down to 0.1 seconds
Another example is "Bass and Treble". I'd like to increase the range to say +/- 30 dB

The other possible solution would be to change the validation to allow an extended range beyond the slider range.
Why was that extended range not allowed in the first place? I thought the general feeling was that extended range was good, so that not too many steps were required in the sliders?

In any case as a sighted user I find the validation error message box that you have to dismiss very annoying. It would be more civil (and produce no ding noise) to grey out OK and display the error as inline text. Is such a solution too confusing for VI users?


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

Locked