using perl with Audacity

Hi everyone,

I am new to scripting in audacity, and I don’t really understand how it works. I have background in perl, so I’d like to use that to write a script for audacity, as I need it to do something repetitive. This page (https://manual.audacityteam.org/man/scripting.html) has been helpful, but I don’t understand the basics of sending commands to audacity (using perl, I don’t have any knowledge of python). Any basic information would be greatly appreciated!

thank you!

There’s a perl script in the source code that you may find instructive. Please note that this perl script is very old, and there have been a lot of changes to Audacity’s scripting commands since that was written, nevertheless, the use of named pipes remains the same.
https://github.com/audacity/audacity/blob/master/scripts/piped-work/pipe_test.pl

Thanks! This looks extremely useful.