Macro Comments
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
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
Macro Comments
How about macro comments? Say treating lines beginning with '#' as a comment.
Re: Macro Comments
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.
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)
Re: Macro Comments
Other topic split to: viewtopic.php?f=19&t=101964
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)
Re: Macro Comments
Here's one. I've only tested it on Linux, but I think it should work on other platforms.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)