Is it possible? My LISP is a little rusty but I could probably rewrite the plugin as needed, if it was possible for it to write to stdout and there was an example of a plugin intended for command-line usage.
Or maybe there is an easier way to get such audio stats on command line outside of Audacity, something like SOX? Thanks for any suggestions!
Audacity does very little from the command line (other than launching the application).
There is an experimental scripting interface, but not really ready for prime-time, and it requires building Audacity from the source code.