Libnyquist is a library interface to Roger Dannenberg's LISP based audio processing language. It's home page is here. You can write scripts to process your audio, and feed them directly from the audacity interface. This is used to implement a number of effects plugins shipped with audacity, as well as the extensive list of plugins on the main audacity website. An introduction to creating nyquist plugins can be found on the main audacity website.