Macro Comments

Anything you think is missing, or needs enhancement, goes here.
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
Al Stu
Posts: 131
Joined: Thu Oct 11, 2018 8:26 pm
Operating System: Windows 8 or 8.1

Macro Comments

Post by Al Stu » Tue Oct 23, 2018 6:13 pm

How about macro comments? Say treating lines beginning with '#' as a comment.

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

Re: Macro Comments

Post by steve » Tue Oct 23, 2018 7:22 pm

There are no plans to develop language features for macros. The lead developer of macros intends that they remain as a simple list of commands.
You could create a simple Nyquist plug-in that does nothing other than store a comment, and then insert that wherever you want to place a comment.

For users that want more sophisticated language feature, scripting features are being developed.
Currently, Nyquist supports macro commands via the "aud-do" command, though currently Nyquist cannot call Nyquist macros.
Scripting is also available via the optional module "mod-script-pipe", although this is not yet shipped with Audacity and has to be built from the source code. It is hoped that mod-script-pipe will be shipped in the near future (no date set yet). Mod-script-pipe allows external scripting languages such as Python to control Audacity (via "named pipes"). There are a couple of Python scripts provided that may be imported into a user's own scripts to make programming easier.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

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

Re: Macro Comments

Post by steve » Thu Oct 25, 2018 12:21 pm

Other topic split to: viewtopic.php?f=19&t=101964
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

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

Re: Macro Comments

Post by steve » Thu Oct 25, 2018 3:31 pm

steve wrote:
Tue Oct 23, 2018 7:22 pm
You could create a simple Nyquist plug-in that does nothing other than store a comment, and then insert that wherever you want to place a comment.
Here's one. I've only tested it on Linux, but I think it should work on other platforms.
comment.ny
(271 Bytes) Downloaded 40 times
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

Post Reply