Request for API key using Scripting Module

Help for Audacity on Windows.
Forum rules
ImageThis forum is for Audacity on Windows.
Please state which version of Windows you are using,
and the exact three-section version number of Audacity from "Help 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.
Post Reply
ashwin.s320
Posts: 2
Joined: Thu Aug 10, 2017 8:36 pm
Operating System: Windows 10

Request for API key using Scripting Module

Post by ashwin.s320 » Thu Aug 10, 2017 9:08 pm

HI all,
Is there any way that I can get an API from Audacity to use within a Python code? I read about the scripting module which allows users to annotate and manipulate audio clips. What is the best way to implement this into the code?

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

Re: Request for API key using Scripting Module

Post by steve » Thu Aug 10, 2017 9:17 pm

Do you have any experience building C++ projects?

The scripting interface is an optional module that is not built by default. The module needs to be compiled on the same day as Audacity for it to work.
The module is called mod-script-pipe. I've not tried building it for quite a while, but as far as I'm aware it should still work.
The code is included with the Audacity source code: https://github.com/audacity/audacity

There is some documentation for building on Windows here: http://wiki.audacityteam.org/wiki/Developing_On_Windows
If you intend to build Audacity from the source code and have not done so previously, there are some tips that I can give you that are not yet in the official documentation, so please ask.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

Post Reply