Decrease volume by x% (with Amplify)?

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.
Post Reply
pstein
Posts: 29
Joined: Sun Dec 30, 2007 5:08 pm
Operating System: Please select

Decrease volume by x% (with Amplify)?

Post by pstein » Tue Jun 18, 2013 8:30 am

How can I decrease the general average volume of the currently loaded *.mp3 by x (e.g. 10%) in menu
Effect-->Amplify?

When I go to menu Effect-->Amplify I can enter only values in dB.

To manually convert percentage values into dB is rather uncomfortable.

I need a way to enter percentage values.

How does this work?

Peter

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

Re: Decrease volume by x% (with Amplify)?

Post by Robert J. H. » Tue Jun 18, 2013 10:34 am

You can use the Nyquist prompt. and multiply the sound with a constant.
1 is equal to the momentary value or 100%. So, if you want to reduce by 10%, you can set the constant to 90 / 100 = 0.9.

Code: Select all

(mult 0.9 s)

pstein
Posts: 29
Joined: Sun Dec 30, 2007 5:08 pm
Operating System: Please select

Re: Decrease volume by x% (with Amplify)?

Post by pstein » Tue Jun 18, 2013 11:00 am

Hmm, is there really no way for direct input of a percentage value?

I cannot believe that Audacity is so uncomfortable

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

Re: Decrease volume by x% (with Amplify)?

Post by Gale Andrews » Tue Jun 18, 2013 11:08 am

You could use Effect > Adjustable Fade and set Start and End to 90 with the "Start/End as" as "% of original" - this does the job without typing a command.

I will leave the experts to decide if there would be any difference between using Fade Up, Down or their S-Curve equivalents. I would not expect any audible difference.

Do you want to vote for Amplify to have a % control for "Amplification (dB)"?


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

pstein
Posts: 29
Joined: Sun Dec 30, 2007 5:08 pm
Operating System: Please select

Re: Decrease volume by x% (with Amplify)?

Post by pstein » Tue Jun 18, 2013 11:20 am

Gale Andrews wrote: Do you want to vote for Amplify to have a % control for "Amplification (dB)"?
Yes, that would be great

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

Re: Decrease volume by x% (with Amplify)?

Post by kozikowski » Tue Jun 18, 2013 2:42 pm

I wonder what your application is. Audio and your ears work in dB, not percent. 50% is not half volume. 50% is 6dB out of the 60dB that you can hear. Koz

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

Re: Decrease volume by x% (with Amplify)?

Post by steve » Tue Jun 18, 2013 5:45 pm

pstein wrote:How can I decrease the general average volume of the currently loaded *.mp3 by x (e.g. 10%)
"Amplitude" and "volume" are not the same thing.

A 10% decrease in amplitude seems like it should be quite a lot, but it is actually less than a 1dB change which is a barely audible difference in "loudness".
Try it in the Nyquist Prompt effect - Robert J. H. has provided the code.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

DVDdoug
Forum Crew
Posts: 9416
Joined: Fri Sep 10, 2010 11:30 pm
Operating System: Windows 10

Re: Decrease volume by x% (with Amplify)?

Post by DVDdoug » Tue Jun 18, 2013 5:48 pm

Percentage can actually be a little confusing.... If I say 10%, I have to make it clear if I mean a 10% increase or 10% of the original. People sometimes get confused whan change in speed/tempo... i.e. If I enter 100%, does that mean no change, or does it mean twice as fast?

Also, the percentage change in voltage or in the digital file is different from the change in power (Watts)... A +6dB change doubles the sample values in your digital file and it doubles the voltage (200%), but it's 4 times the power (400% ).
I need a way to enter percentage values.
How does this work?
In case you don't know how to calculate dB -
dB = 20 x log(ratio)
or ratio = 10^(dB/20)

With power (Watts) -
dB = 10 x log(ratio)
or ratio = 10^(dB/10)

In Excel (using percentage) the formulas look like this:
20*LOG(A1 * 100)
100*10^(A1/20)


Where cell 'A1' contains either dB or the percentage. It this case, it's the percentage OF the original, not the percentage change.... In other words, 100% is no change (NOT a 100% increase) and 200% is twice as much.

I just made quick chart in Excel and it looks like this:

1 % = -40.0 dB
10 % = -20.0 dB
20 % = -14.0 dB
30 % = -10.5 dB
40 % = -8.0 dB
50 % = -6.0 dB
60 % = -4.4 dB
70 % = -3.1 dB
80 % = -1.9 dB
90 % = -0.9 dB
100 % = 0.0 dB
110 % = 0.8 dB
120 % = 1.6 dB
130 % = 2.3 dB
140 % = 2.9 dB
150 % = 3.5 dB
160 % = 4.1 dB
170 % = 4.6 dB
180 % = 5.1 dB
190 % = 5.6 dB
200 % = 6.0 dB

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

Re: Decrease volume by x% (with Amplify)?

Post by steve » Tue Jun 18, 2013 6:19 pm

DVDdoug wrote:In case you don't know how to calculate dB -
dB = 20 x log(ratio)
or ratio = 10^(dB/20)
Linear to dB and dB to linear conversions are included in the Quick Calculator plug-in: http://forum.audacityteam.org/viewtopic ... 27#p197027
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

Post Reply