Creating your own Plug-in
From Audacity Wiki
One option is to use Nyquist, though only limited documentation is available.
If you know how to program in C or C++, write a LADSPA plug-in (LadspaPlugIns), or if you absolutely must have a GUI, write a VST plug-in.