Audio automation using audacity

Hello All,

I am doing automation testing. Steps to be performed are:

  1.       I need to invoke Audacity programmatically
    
  2.       Start recording sound from the sound card.
    
  3.       Stop the capture and save the file in client drive.
    

Which Audacity APIs should I use for this automation process? Any inputs on hot to automate Audio testing using audacity should help.

Best Regards
-Sayantan

AutoIt3 (a free Windows-based scripting app) can do this, I suspect other OSes have similar scripting apps. There is a pipe-based module (mod-script-pipe) which is somewhat experimental and the developer does not seem to be doing any work on it.