Need to consume Audacity in .Net application programmaticall

Audio software developers forum.
Forum rules
If you require help using Audacity, please post on the forum board relevant to your operating system:
Windows
Mac OS X
GNU/Linux and Unix-like
Post Reply
subramani
Posts: 2
Joined: Wed Nov 09, 2016 5:36 pm
Operating System: Windows 7

Need to consume Audacity in .Net application programmaticall

Post by subramani » Wed Nov 09, 2016 5:43 pm

Hi,
We would like to utilize audacity software for our project requirement. The requirement is, let's say we have an audio file with different formats like .mp3, .wav etc. we would like to add different level of distortion to it so that the original audio will not be audible by anyone else. Our current application is developed using .net framework. Will it be possible can I utilize audacity for this requirement?
The good thing is I am able to do it manually by installing audacity in my local. But I would like to do the same through source code. Could you please help me out It's very urgent requirement we have to complete this task as soon as possible.

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

Re: Need to consume Audacity in .Net application programmati

Post by steve » Wed Nov 09, 2016 9:07 pm

Topic moved to General Audio Programming.

Audacity doesn't use .Net.
Audacity is written mostly in C++ and built using WxWidgets (http://www.wxwidgets.org/).

Audacity is primarily designed as a GUI application, however there is source code available for an experimental optional module that allows Audacity to controlled by sending commands through named pipes. This optional module is called "mod-script-pipe" and its source code can be found in the lib-src directory of the Audacity source code: https://github.com/audacity/audacity/tr ... cript-pipe

Mod-script-pipe has not been developed or maintained over the last year or so, as there is always far more that needs to be done than time allows for our (volunteer) developers. The last time I looked it did not build, but If your guys are able to get mod-script-pipe working again, please send us a patch.
Last edited by Gale Andrews on Thu Nov 10, 2016 12:58 pm, edited 1 time in total.
Reason: Corrected it's > its
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

subramani
Posts: 2
Joined: Wed Nov 09, 2016 5:36 pm
Operating System: Windows 7

Re: Need to consume Audacity in .Net application programmati

Post by subramani » Thu Nov 10, 2016 12:23 pm

Hi Steve,

Thanks for your reply. as you said Audacity doesn't use .Net. its fine.

option1 -> since audacity is developed using c++ can i have a c++ (audacity) dll so that i can consume that dll by sending commands via wrappers.
option2 -> can i send commands to the audacity running application with below parameters
name of the file to open
distortion level to add
amount of pitch to add
do other necessary steps.
save the modified file in particular location

please let us know as soon as possible

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

Re: Need to consume Audacity in .Net application programmati

Post by Gale Andrews » Thu Nov 10, 2016 1:09 pm

Mod-script-pipe does build on Windows and Mac, just not on Linux.

Here is the help page for scripting: http://manual.audacityteam.org/man/scripting.html .

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

Post Reply