How do I create a custom keyboard shortcut?

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
BillFrezza
Posts: 68
Joined: Sun Jan 11, 2015 6:28 pm
Operating System: Windows 7

How do I create a custom keyboard shortcut?

Post by BillFrezza » Sun Jan 11, 2015 6:41 pm

My editing life would be made much simpler if I could create a keyboard shortcut (CTRL-Q, or any other single letter I could easily hit with my left hand leaving my pinkie on the CTRL key) that produced the effect of amplifying the selected audio segment by -10db. (I use this for breathing suppression). A step by step set of instructions would be very much appreciated. THANKS! Bill

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

Re: How do I create a custom keyboard shortcut?

Post by steve » Sun Jan 11, 2015 7:48 pm

If you apply the Amplify effect with 10 dB boost, then you can use "Ctrl + R" to repeat the last effect.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

waxcylinder
Forum Staff
Posts: 14684
Joined: Tue Jul 31, 2007 11:03 am
Operating System: Windows 10

Re: How do I create a custom keyboard shortcut?

Post by waxcylinder » Sun Jan 11, 2015 8:43 pm

Have a look at this page in the Manual: http://manual.audacityteam.org/o/man/ke ... ences.html

But what you can't do is to create a shortcut for any effect with your preferred settings. There is a Feature Request for that, would you like us to add your vote?

WC
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * FAQ * * * * * Tutorials * * * * * Audacity Manual * * * * *

BillFrezza
Posts: 68
Joined: Sun Jan 11, 2015 6:28 pm
Operating System: Windows 7

Re: How do I create a custom keyboard shortcut?

Post by BillFrezza » Sun Jan 11, 2015 9:31 pm

Yes, I've been using CTRL-R but that only works if -10db amplify was the last command. Thanks for the pointer to the right spot in the manual, let me see if I can use that to figure it out. The risk is manually messing with that file without the assistance of a proper editor as I'm sure there a 100 ways I can hurt myself. Saving a backup copy of the defaults is a good idea.

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

Re: How do I create a custom keyboard shortcut?

Post by steve » Sun Jan 11, 2015 9:49 pm

BillFrezza wrote:The risk is manually messing with that file without the assistance of a proper editor as I'm sure there a 100 ways I can hurt myself.
Fortunately the "Default" button will take you back to standard settings.
BillFrezza wrote:Yes, I've been using CTRL-R but that only works if -10db amplify was the last command.
As waxcylinder wrote, you can't currently create a shortcut to an effect with specific settings.

Attached is a very simple Nyquist plugin that amplifies by -10 dB.
cut-10-db.ny
(395 Bytes) Downloaded 35 times
Installation instructions: http://wiki.audacityteam.org/wiki/Downl ... ns#install
Once that is installed, you can create a custom shortcut to it and it will always provide -10 dB cut.

If you open the file in a plain text editor (NotePad) you will see the line:

Code: Select all

(mult s (db-to-linear -10))
The "-10" says that it will be 10 dB cut.
If you want it to amplify by, for example, +3 dB, then change that line to:

Code: Select all

(mult s (db-to-linear 3))
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

BillFrezza
Posts: 68
Joined: Sun Jan 11, 2015 6:28 pm
Operating System: Windows 7

Re: How do I create a custom keyboard shortcut?

Post by BillFrezza » Sun Jan 11, 2015 10:06 pm

THANK YOU! Worked like a charm; man you guys are good. I can't tell you how much time this will save me. I should have come here a long time ago.

May the force be with you. / Bill

PS. So, I record and edit a weekly talk show - completely self taught on audacity - and found that since it is all talk and no music, using the compressor function smooths out the audio levels nicely without me having to manually amplify passages where the guest gets too quiet. The problem is, it also brings up the breathing to intolerable levels, which means I have to knock every breath down by hand. Doing this with a keyboard shortcut will be a godsend. (Now, all you need to do is invent a "knock the breaths down" function.) :)

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

Re: How do I create a custom keyboard shortcut?

Post by steve » Mon Jan 12, 2015 12:06 am

BillFrezza wrote:using the compressor function smooths out the audio levels nicely without me having to manually amplify passages where the guest gets too quiet. The problem is, it also brings up the breathing to intolerable levels,
That effect can be reduced by increasing the "Noise Floor" level. If the breaths are below the "noise floor" then they will be amplified less. http://manual.audacityteam.org/o/man/compressor.html
BillFrezza wrote:Now, all you need to do is invent a "knock the breaths down" function.
Have you tried a "Noise Gate"?
http://wiki.audacityteam.org/wiki/Nyqui ... Noise_Gate
Installation instructions: http://wiki.audacityteam.org/wiki/Downl ... ns#install
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

BillFrezza
Posts: 68
Joined: Sun Jan 11, 2015 6:28 pm
Operating System: Windows 7

Re: How do I create a custom keyboard shortcut?

Post by BillFrezza » Mon Jan 12, 2015 2:24 am

Will give both a try, oh font of wisdom! Who knows what power lurks in all these knobs and settings. :)

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

Re: How do I create a custom keyboard shortcut?

Post by Gale Andrews » Mon Jan 12, 2015 5:19 pm

waxcylinder wrote:Have a look at this page in the Manual: http://manual.audacityteam.org/o/man/ke ... ences.html

But what you can't do is to create a shortcut for any effect with your preferred settings. There is a Feature Request for that, would you like us to add your vote?
BillFrezza appeared to say "Yes" so I added the "vote" and someone else's vote for that too.


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

Post Reply