Extracting Noise Reduction Effect Functionality

Help for Audacity 2.x.x on Mac OS X.

ImageThis forum is for Audacity 2.x.x on Mac OS X 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.

Re: Extracting Noise Reduction Effect Functionality

Permanent link to this post Posted by laertes » Thu Sep 14, 2017 5:14 am

Paul L wrote:
laertes wrote:
steve wrote:
laertes wrote:I've looked into using Sox, but it's not as capable as Audacity for this unfortunately.

In what way "not as capable"? SoX is certainly easier to script as it is designed as a command line application.


Yeah, exactly...Sox seems to provide exactly the sort of command line functionality that I need. The sad thing though is that when I compare the final result of using Audacity vs Sox for several of my audio files it seems that the Audacity algorithm does a noticeably better job.


Thank you!!


I examined the source code for Noise Reduction in sox, and it mentions that its algorithm for noise reduction was borrowed from Audacity! But an older version of it surely before noise reduction was much improved in version 2.1.0.


That's really interesting and good to be aware of. Thank you very much for the information!

ps sorry for the delayed reply...wasn't aware of your post till now.
laertes
 
Posts: 9
Joined: Tue Aug 29, 2017 12:40 am
Operating System: OS X 10.11 El Capitan or later (macOS)

Re: Extracting Noise Reduction Effect Functionality

Permanent link to this post Posted by laertes » Fri Sep 15, 2017 1:26 am

steve wrote:Look at:
void EffectNoiseReduction::Worker::ProcessSamples

Depending on whether the bool "mDoProfile" is true or false, this either calls:
void EffectNoiseReduction::Worker::GatherStatistics(Statistics &statistics)

or calls:
void EffectNoiseReduction::Worker::ReduceNoise
(const Statistics &statistics, WaveTrack *outputTrack)




Would you happen to know if the current algorithm is accurately reflected by http://wiki.audacityteam.org/wiki/How_A ... tion_Works ? Going through the code and trying to understand it...

Thank you!
laertes
 
Posts: 9
Joined: Tue Aug 29, 2017 12:40 am
Operating System: OS X 10.11 El Capitan or later (macOS)

Re: Extracting Noise Reduction Effect Functionality

Permanent link to this post Posted by Paul L » Sat Sep 16, 2017 6:58 pm

I am the one who rewrote the code and the Wiki page, and I say the Wiki is up to date.
Paul L
 
Posts: 886
Joined: Mon Mar 11, 2013 7:37 pm
Operating System: Please select

Previous

Return to Mac OS X



Who is online

Users browsing this forum: No registered users and 10 guests