using perl with Audacity

Audio software developers forum.
Forum rules
If you require help using Audacity, please post on the forum board relevant to your operating system:
Windows
Mac OS X
GNU/Linux and Unix-like
Post Reply
perlAudacity
Posts: 14
Joined: Fri Jul 20, 2018 5:54 pm
Operating System: Windows 10

using perl with Audacity

Post by perlAudacity » Fri Jul 20, 2018 5:58 pm

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!

steve
Site Admin
Posts: 81609
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: using perl with Audacity

Post by steve » Sat Jul 21, 2018 1:47 am

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/bl ... pe_test.pl
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

perlAudacity
Posts: 14
Joined: Fri Jul 20, 2018 5:54 pm
Operating System: Windows 10

Re: using perl with Audacity

Post by perlAudacity » Mon Jul 23, 2018 2:35 pm

Thanks! This looks extremely useful.

Post Reply