Run Audacity without GUI

Audio software developers forum.

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

Run Audacity without GUI

Permanent link to this post Posted by FTF » Fri Jul 03, 2015 12:07 pm

Hi

I have been reversing Audacity for a while and getting to grisp with it.

is it possible to run Audacity with the gui or just hide the GUI.
I am looking into implementing the engine of Audacity into another frontend and program.

I would also like to be able to control the execution (start up and init) of Audacity from a seperate source code.
It might have more to do with xwWidget than Audacity.

Thanks
FTF
FTF
 
Posts: 10
Joined: Thu Jun 25, 2015 8:58 am
Operating System: Please select

Re: Run Audacity without GUI

Permanent link to this post Posted by Gale Andrews » Fri Jul 03, 2015 1:39 pm

FTF wrote:I have been reversing Audacity for a while

What does that mean? :?

FTF wrote:is it possible to run Audacity with the gui or just hide the GUI.
I am looking into implementing the engine of Audacity into another frontend and program.

Note that you can't just simply use Audacity in a closed source application.

That other application must be open source, or you must take specific measures to separately open-source-licence our reused code.

FTF wrote:I would also like to be able to control the execution (start up and init) of Audacity from a seperate source code.

You could try http://manual.audacityteam.org/o/man/scripting.html. You'll have to compile Audacity.

Note there are no official Audacity developers active on this Forum so you will have to do your own implementation work, or ask an Audacity developer if they can help you. Any developer assistance would be provided at normal commercial rates for a developer's time.


Gale
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual
Gale Andrews
Quality Assurance
 
Posts: 26093
Joined: Fri Jul 27, 2007 12:02 am
Operating System: Windows 10

Re: Run Audacity without GUI

Permanent link to this post Posted by FTF » Fri Jul 03, 2015 3:47 pm

Gale Andrews wrote:
FTF wrote:I have been reversing Audacity for a while

What does that mean? :?

Reverse engineer, meaning just reading and debugging the code to figure out how it all works

Gale Andrews wrote:
FTF wrote:is it possible to run Audacity with the gui or just hide the GUI.
I am looking into implementing the engine of Audacity into another frontend and program.

Note that you can't just simply use Audacity in a closed source application.

That other application must be open source, or you must take specific measures to separately open-source-licence our reused code.

As I understand this licence stuff, I am use it how I want even in commercial application, just that you have to make the audacity code available if requested.
Anyway for now its still researching things.

Gale Andrews wrote:
FTF wrote:I would also like to be able to control the execution (start up and init) of Audacity from a seperate source code.

You could try http://manual.audacityteam.org/o/man/scripting.html. You'll have to compile Audacity.

Interesting, I have compiled audacity allready, but scripting could be an option, do you know if I can start and run audacity from there without have to run the wxWidget gui frontend?

Gale Andrews wrote:Note there are no official Audacity developers active on this Forum so you will have to do your own implementation work, or ask an Audacity developer if they can help you. Any developer assistance would be provided at normal commercial rates for a developer's time.

do you know where to contact the developers then? or those who can ask my questions. I am not asking for something to code for me.
Last edited by Gale Andrews on Fri Jul 03, 2015 4:15 pm, edited 1 time in total.
Reason: Fixed quote tags
FTF
 
Posts: 10
Joined: Thu Jun 25, 2015 8:58 am
Operating System: Please select

Re: Run Audacity without GUI

Permanent link to this post Posted by Gale Andrews » Fri Jul 03, 2015 4:38 pm

Please preview to make sure you have used the quote tags correctly before posting.

FTF wrote:
Gale Andrews wrote:
FTF wrote:is it possible to run Audacity with the gui or just hide the GUI.
I am looking into implementing the engine of Audacity into another frontend and program.

Note that you can't just simply use Audacity in a closed source application.

That other application must be open source, or you must take specific measures to separately open-source-licence our reused code.

As I understand this licence stuff, I am use it how I want even in commercial application, just that you have to make the audacity code available if requested.

No. You must provide two things. 1) The verbatim GPL licence and 2) either provide your modified Audacity code or make a written offer to provide it. It is not sufficient to wait until some one asks you for the code.

FTF wrote:
Gale Andrews wrote:
FTF wrote:I would also like to be able to control the execution (start up and init) of Audacity from a seperate source code.

You could try http://manual.audacityteam.org/o/man/scripting.html. You'll have to compile Audacity.

Interesting, I have compiled audacity allready, but scripting could be an option, do you know if I can start and run audacity from there without have to run the wxWidget gui frontend?

All the provided scripting commands require the Audacity GUI to be already running. You may be better more directly integrating Audacity into your app if you don't want Audacity GUI to appear.

However you'll still need to pop up a EULA with GPL licence the first time you use the Audacity engine in your app (even if no Audacity GUI appears) , or provide the Audacity functionality as some kind of installable plugin where you provide the GPL when the user installs the plugin.

FTF wrote:
Gale Andrews wrote:Note there are no official Audacity developers active on this Forum so you will have to do your own implementation work, or ask an Audacity developer if they can help you. Any developer assistance would be provided at normal commercial rates for a developer's time.

do you know where to contact the developers then? or those who can ask my questions. I am not asking for something to code for me.

You could subscribe to the developers list on this page: https://lists.sourceforge.net/lists/listinfo/audacity-devel.

You should not abuse the list by asking for a lot of free help. There is no absolute guarantee all or any of your questions will be answered.


Gale
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual
Gale Andrews
Quality Assurance
 
Posts: 26093
Joined: Fri Jul 27, 2007 12:02 am
Operating System: Windows 10

Re: Run Audacity without GUI

Permanent link to this post Posted by FTF » Mon Jul 06, 2015 2:07 pm

Hi Gale

Thanks for the advice and help. I am trying to learn about audio and codecs and how it all works, there is no commercial application. I just want to figure out how to do what I wanted.
Which was to control Audacity my self, as that could be quiete cool.

About all the licenses stuff. I am a programmer, dont really know all about the licenses thing so thanks for telling me, however thats would be way way in the future so not even important right now.

Ill jump on the developer mail group as well.

Cheers
FTF
FTF
 
Posts: 10
Joined: Thu Jun 25, 2015 8:58 am
Operating System: Please select

Re: Run Audacity without GUI

Permanent link to this post Posted by steve » Mon Jul 06, 2015 2:23 pm

FTF wrote:I just want to figure out how to do what I wanted.
Which was to control Audacity my self, as that could be quiete cool.

So as to avoid reinventing the wheel, are you aware of:
1) SoX http://sox.sourceforge.net/
2) The experimental scripting module for Audacity http://manual.audacityteam.org/o/man/scripting.html

If you are interested in the latter, you should download the source code from GitHub rather than from SVN (the current source code is on GitHub, but we were using SVN when the 2.1.0 manual was released).
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)
steve
Site Admin
 
Posts: 44665
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu


Return to General Audio Programming



Who is online

Users browsing this forum: No registered users and 1 guest