Search found 9 matches

by laertes
Sat Jan 27, 2018 1:54 am
Forum: GNU/Linux
Topic: segmentation fault when run (on Mac running Ubuntu 16.04)
Replies: 2
Views: 1169

Re: segmentation fault when run (on Mac running Ubuntu 16.04

I can't tell from the screenshots what the problem might be - it could be anything. Also, I've no experience running Linux on a Mac, and have no idea what gremlins may lie therein (but I'd guess there are lots). The first thing that I'd be checking out is the sound system. Audacity is like the cana...
by laertes
Fri Jan 19, 2018 1:03 am
Forum: GNU/Linux
Topic: segmentation fault when run (on Mac running Ubuntu 16.04)
Replies: 2
Views: 1169

segmentation fault when run (on Mac running Ubuntu 16.04)

Hello Gurus. I installed a fresh version of Ubuntu 16.04.3 on my late-2015 retina Macbook Pro and was able to compile audacity 2.2.0 as follows: Step 1: First, installed the required wxWidgets 3.0.2 Step 2: Second, installed audacity 2.2.0 by the following steps: cd audacity directory (created when ...
by laertes
Fri Sep 15, 2017 1:26 am
Forum: macOS
Topic: Extracting Noise Reduction Effect Functionality
Replies: 12
Views: 2988

Re: Extracting Noise Reduction Effect Functionality

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 Statis...
by laertes
Thu Sep 14, 2017 5:14 am
Forum: macOS
Topic: Extracting Noise Reduction Effect Functionality
Replies: 12
Views: 2988

Re: Extracting Noise Reduction Effect Functionality

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...
by laertes
Thu Sep 14, 2017 5:02 am
Forum: macOS
Topic: Extracting Noise Reduction Effect Functionality
Replies: 12
Views: 2988

Re: Extracting Noise Reduction Effect Functionality

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 Statis...
by laertes
Thu Sep 07, 2017 10:51 pm
Forum: macOS
Topic: Extracting Noise Reduction Effect Functionality
Replies: 12
Views: 2988

Re: Extracting Noise Reduction Effect Functionality

I wonder if it is potentially easier to pull out that part of the code and build a C++ wrapper for it and just compile that into an executable that I could call from Python It's open source, so you are certainly welcome to try that approach. The code is here: https://github.com/audacity/audacity/bl...
by laertes
Wed Aug 30, 2017 12:49 am
Forum: macOS
Topic: Extracting Noise Reduction Effect Functionality
Replies: 12
Views: 2988

Re: Extracting Noise Reduction Effect Functionality

Has anyone worked out how to modify Audacity like this (making it run as a command like routine, at least as far as the Noise Reduction effect is concerned)? There is a module called "mod-script-pipe" that provides an API for controlling Audacity from any scripting language (such as Pytho...
by laertes
Wed Aug 30, 2017 12:35 am
Forum: macOS
Topic: Extracting Noise Reduction Effect Functionality
Replies: 12
Views: 2988

Re: Extracting Noise Reduction Effect Functionality

First off, thanks a lot for replying! I'd like to apply the Noise Reduction effect to a large number of files. What sort of files and where did they come from? Knowing that isn't as optional as you think. They're all 5-20 sec long wav files recorded on cellphones of a person talking. PCM samples at ...
by laertes
Tue Aug 29, 2017 1:08 am
Forum: macOS
Topic: Extracting Noise Reduction Effect Functionality
Replies: 12
Views: 2988

Extracting Noise Reduction Effect Functionality

Hello All, In my project I'd like to apply the Noise Reduction effect to a large number of files. Ideally I'd like to do this with Audacity from the command line, which would allow me to call it from within something like a Python wrapper that iterates over each file, etc. Some lingering questions t...