one-click noise removal

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.
Edgar
Forum Crew
Posts: 2043
Joined: Thu Sep 03, 2009 9:13 pm
Operating System: Windows 10

one-click noise removal

Post by Edgar » Sat Dec 15, 2012 7:42 am

Something I have found incredibly timesaving in my personal workflow of cleaning up noisy recordings is a one click Noise Removal solution. It works by taking the current selection as the noise sample, selecting all the video then applying Noise Removal.

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

Re: one-click noise removal

Post by Gale Andrews » Sat Dec 15, 2012 9:10 am

I don't understand what you mean, Ed. Are you proposing some code you've written? Or requesting such a thing, if so with what parameters would it work?


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

Edgar
Forum Crew
Posts: 2043
Joined: Thu Sep 03, 2009 9:13 pm
Operating System: Windows 10

Re: one-click noise removal

Post by Edgar » Sat Dec 15, 2012 4:49 pm

Gale Andrews wrote:I don't understand what you mean, Ed. Are you proposing some code you've written? Or requesting such a thing, if so with what parameters would it work?
I am not offering any code. My proposal is adding another button to the current dialog; when the user clicks the "One-click" button the behind-the-scenes result is as if the user had set the variables in the effect as desired (or was willing to accept the defaults), clicked the "Get Noise Profile" button, selected all the audio, started the Noise removal" effect again and clicked the "OK" button.
nr.png
nr.png (42.51 KiB) Viewed 4135 times
I am not suggesting that "One-click" is necessarily the right wording for the button; in production code I would also try to center the two buttons but I am not a ShuttleGUI expert!

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

Re: one-click noise removal

Post by steve » Sun Dec 16, 2012 4:24 am

Edgar wrote:My proposal is adding another button to the current dialog; when the user clicks the "One-click" button the behind-the-scenes result is as if the user had set the variables in the effect as desired (or was willing to accept the defaults), clicked the "Get Noise Profile" button, selected all the audio, started the Noise removal" effect again and clicked the "OK" button.
Where would the noise profile come from? Are you thinking of a generic noise profile, or are you thinking that the user selects the noise and activating the "one click" effect uses the selection for the noise profile, then automatically extends the selection to the entire track (or audio clip?) and applies "remove noise"?
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

Edgar
Forum Crew
Posts: 2043
Joined: Thu Sep 03, 2009 9:13 pm
Operating System: Windows 10

Re: one-click noise removal

Post by Edgar » Sun Dec 16, 2012 7:31 am

steve wrote: Where would the noise profile come from? Are you thinking of a generic noise profile, or are you thinking that the user selects the noise and activating the "one click" effect uses the selection for the noise profile, then automatically extends the selection to the entire track (or audio clip?) and applies "remove noise"?
"are you thinking that the user selects the noise and activating the "one click" effect"...
Exactly; it really works slickly – select a bit of noise, use a keyboard shortcut to fire off Noise Removal, click "one click" and Bob's your uncle. The "one click" first gets the noise profile from the selected audio then, off-screen, selects all the audio and runs the actual code which processes out the noise.

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

Re: one-click noise removal

Post by steve » Sun Dec 16, 2012 2:06 pm

Edgar wrote:The "one click" first gets the noise profile from the selected audio then, off-screen, selects all the audio and runs the actual code which processes out the noise.
I can see a clear benefit when working with a project that has only one audio clip in one track, but without further explanation it is ambiguous what will happen if there is more than one track or more than one audio clip in the track .

Would it work like the "select all when not selected" Preference? That is; the entire project would be selected for noise removal.
Would it operate only on the current track?
Would it operate only on the current audio clip?
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: one-click noise removal

Post by waxcylinder » Sun Dec 16, 2012 6:37 pm

Edgar wrote:"are you thinking that the user selects the noise and activating the "one click" effect"...
Exactly; it really works slickly – select a bit of noise, use a keyboard shortcut to fire off Noise Removal, click "one click" and Bob's your uncle. The "one click" first gets the noise profile from the selected audio then, off-screen, selects all the audio and runs the actual code which processes out the noise.
It's somewhat counter-intuitive cf all the other effects where the effect always works on the selection only.

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

Edgar
Forum Crew
Posts: 2043
Joined: Thu Sep 03, 2009 9:13 pm
Operating System: Windows 10

Re: one-click noise removal

Post by Edgar » Mon Dec 17, 2012 2:56 am

waxcylinder wrote: It's somewhat counter-intuitive cf all the other effects where the effect always works on the selection only
"where the effect always works on the selection only" -- That is controlled by a (somewhat ambiguous IMHO) setting in Prefs--Tracks > (Behaviors) > [ ] Select all audio in project, if none selected.

I now see where everyone is coming from with the multi-track arguments though--I never use Audacity to edit multi-track projects; I only saw the benefit not the confusion. I withdraw the suggestion as too limited for general use (but will keep it in my personal version as it really is quite useful if one is doing bulk LP conversion or the like).

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

Re: one-click noise removal

Post by waxcylinder » Mon Dec 17, 2012 10:58 am

Edgar wrote:
waxcylinder wrote: It's somewhat counter-intuitive cf all the other effects where the effect always works on the selection only
"where the effect always works on the selection only" -- That is controlled by a (somewhat ambiguous IMHO) setting in Prefs--Tracks > (Behaviors) > [ ] Select all audio in project, if none selected.
The worst thing about this is that that is the default Audacity behaviour - a really dumb default setting imho as it causes users (me included) to do stuff to the whole audio inadvertently (like deleting it accidentally - thank heavens for Undo) :)

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

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

Re: one-click noise removal

Post by Robert J. H. » Mon Dec 17, 2012 1:34 pm

I've tried to write a "true" one-click Nyquist plug-in, inspired by this proposal.
http://forum.audacityteam.org/viewtopic ... 34#p200647
It has the advantage that it requires no user input and works just on the selection.
It is not meant very seriously, it's just a concept.
A proper solution needs to be implemented in C++, based on a state-of-the-art algorithm. Maybe one day we will come across a common licensed code snippet.
Perhaps such an effect will only cover a certain field, such as the improvement of speech for transcription. It's in any case not an idea that should be dropped into the trash bin.

Locked