Realise a plugin

Building and customizing Audacity from the source code.
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
lefau44
Posts: 14
Joined: Mon Nov 03, 2014 4:18 pm
Operating System: Please select

Realise a plugin

Post by lefau44 » Mon Nov 03, 2014 4:26 pm

I would like to make an Audacity plugin but I did not find manual or web site for the first steps.

Does exist any documentation to help me or some examples ?

Thanks

I'm working with Visual C++ (2008) on Windows
I build Audacity last version on SVN

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

Re: Realise a plugin

Post by steve » Mon Nov 03, 2014 5:17 pm

Audacity supports a number of different plug-in formats, including VST (mostly on Windows), LADSPA, AU (Mac OS X only) and Nyquist.
Of these, probably the easiest to write are "Nyquist" plug-ins.

Because Nyquist plug-ins are specifically for Audacity, we have quite a lot of information. See this post: http://forum.audacityteam.org/viewtopic ... 39&t=77214
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

lefau44
Posts: 14
Joined: Mon Nov 03, 2014 4:18 pm
Operating System: Please select

Re: Realise a plugin

Post by lefau44 » Mon Nov 03, 2014 5:20 pm

I try to use Nyquist plugin but I think it will be not OK for import plugin ?

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

Re: Realise a plugin

Post by steve » Mon Nov 03, 2014 5:26 pm

What do you mean by "import plugin"?
What are you wanting to do?
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

lefau44
Posts: 14
Joined: Mon Nov 03, 2014 4:18 pm
Operating System: Please select

Re: Realise a plugin

Post by lefau44 » Mon Nov 03, 2014 5:32 pm

I have some data in file with a specific format and I would like to import in Audacity to analyse , modify ...
So I need plugin to import and then plugin to use data

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

Re: Realise a plugin

Post by steve » Mon Nov 03, 2014 5:35 pm

lefau44 wrote:I have some data in file with a specific format
What is the format?
Is the format supported by FFmpeg?
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

lefau44
Posts: 14
Joined: Mon Nov 03, 2014 4:18 pm
Operating System: Please select

Re: Realise a plugin

Post by lefau44 » Mon Nov 03, 2014 5:44 pm

This is not a standard format so I need to create a plugin to import what I need

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

Re: Realise a plugin

Post by steve » Mon Nov 03, 2014 5:54 pm

Are you an accomplished C/C++ programmer?

You're not giving me much information to go on, but assuming that it audio format, probably the easiest way would be to add support for your non-standard format to FFmpeg, then build Audacity against your custom FFmpeg headers.

Alternatively you could try writing a "module" type plug-in. Unfortunately there is not much documentation about this, but there are a couple of example modules included in the Audacity source code. There is some information in the Audacity wiki (it may be a bit out of date as the API is still undergoing development):
http://wiki.audacityteam.org/wiki/Experimental_Modules
http://wiki.audacityteam.org/wiki/GUI_Plugins

Also see here for information relevant to developers: http://wiki.audacityteam.org/wiki/Categ ... Developers
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

lefau44
Posts: 14
Joined: Mon Nov 03, 2014 4:18 pm
Operating System: Please select

Re: Realise a plugin

Post by lefau44 » Tue Nov 04, 2014 9:14 am

Thanks for your help.
Sorry about the description of my needs but it's a new professional project (so C++ programming is OK for me) and I have not a lot of informations so I try ta have informations about all sorts of plug in.
I will try to see all possibilities with Nyquist to begin

lefau44
Posts: 14
Joined: Mon Nov 03, 2014 4:18 pm
Operating System: Please select

Re: Realise a plugin

Post by lefau44 » Tue Nov 04, 2014 4:01 pm

I compiled the "mod-null" module -> I get the DLL file but Audacity doesn't load it ... Where should be the file "mod-null.dll" : in Audacity.exe directory or in a subfolder ?

The others exemples need Visual 2012 so I can't use them.

Post Reply