Macro commands

Help for Audacity on macOS.
Forum rules
ImageThis forum is for Audacity on macOS 10.4 and later.
Please state which version of macOS you are using,
and the exact three-section version number of Audacity from "Audacity menu > About Audacity".


Audacity 1.2.x and 1.3.x are obsolete and no longer supported. If you still have those versions, please upgrade at https://www.audacityteam.org/download/.
The old forums for those versions are now closed, but you can still read the archives of the 1.2.x and 1.3.x forums.
Post Reply
[email protected]
Posts: 31
Joined: Mon Jul 08, 2013 10:03 pm
Operating System: macOS 10.15 Catalina or later

Macro commands

Post by [email protected] » Wed Sep 25, 2019 12:23 am

Is there a list of what the macro commands do? For example, macro_normalize. Just an example, would like to be able to understand each of the commands.

kozikowski
Forum Staff
Posts: 68942
Joined: Thu Aug 02, 2007 5:57 pm
Operating System: macOS 10.13 High Sierra

Re: Macro commands

Post by kozikowski » Wed Sep 25, 2019 1:26 am


[email protected]
Posts: 31
Joined: Mon Jul 08, 2013 10:03 pm
Operating System: macOS 10.15 Catalina or later

Re: Macro commands

Post by [email protected] » Wed Sep 25, 2019 1:48 am

I've been to both of those pages, they show some but not most. Example: macro_normalize.

kozikowski
Forum Staff
Posts: 68942
Joined: Thu Aug 02, 2007 5:57 pm
Operating System: macOS 10.13 High Sierra

Re: Macro commands

Post by kozikowski » Wed Sep 25, 2019 3:23 am

This help at all?

viewtopic.php?f=69&t=105349

I think there may be a generic "Create Macro Command" instruction and that's why there is no itemized list of every one. For example, about the fifth or sixth trip through documented commands, you get the idea enough to write your own. I am assured that Audacity just ignored commands it doesn't understand. I think it also defaults to ones you leave out.

So you could manually apply an effect or correction, write a one or two line macro and see if it does the same thing.

For example, this is for Limiter, the final of three steps for audiobook mastering. That sentence is a shortcut instead of writing out the whole thing every time. It's the effect options panel top to bottom.

Effect > Limiter: Soft Limit, 0, 0, -3.5dB, 10, No > OK.

I suspect it wouldn't be that hard to turn that into Macro code.

Now I'm thinking about this. Somebody did....

Limiter:gain-L="0" gain-R="0" hold="10" makeup="No" thresh="-3.5" type="SoftLimit"

That actually runs and correctly.

We should wait for actual programmers.

Koz

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

Re: Macro commands

Post by steve » Wed Sep 25, 2019 9:06 am

[email protected] wrote:
Wed Sep 25, 2019 12:23 am
Is there a list of what the macro commands do? For example, macro_normalize.
Any commands that have the description "Macro_...." are Macros themselves. The only Macros currently shipped with Audacity are:
  • Fade Ends (Macro_FadeEnds)
  • MP3 Conversion (Macro_MP3Conversion)
Any other "Macro_" command will be a Macro that you have created.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

[email protected]
Posts: 31
Joined: Mon Jul 08, 2013 10:03 pm
Operating System: macOS 10.15 Catalina or later

Re: Macro commands

Post by [email protected] » Wed Sep 25, 2019 11:26 am

Okay, after reading the post from Koz I guess my terminology was wrong. What I was calling "macros" are really "commands" used in "steps" of a "macro". Is there anything that describes what the different "commands" are? Some are easy to understand, some not so.

Let me try an example again.

There is a command called Normalize, when added it has parameters that can be edited, such as Peak Amplitude.

There is another command called Normalize (Macro_Normalize) that has no parameters.

How do I find out what the second command does?

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

Re: Macro commands

Post by steve » Wed Sep 25, 2019 11:58 am

Many of the commands you will recognise from the names of Audacity's effects. There's a list of all the standard shipped effects here: https://manual.audacityteam.org/man/ind ... yzers.html

The Macro commands are basically the same as the "Scripting" commands (used when scripting with Python). A list of these is available here: https://manual.audacityteam.org/man/scr ... rence.html

As described in my previous post, "Normalize (Macro_Normalize)" is a Macro that you have created. It will be listed in the left column of the "Macro Manager" as "Normalize".
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

[email protected]
Posts: 31
Joined: Mon Jul 08, 2013 10:03 pm
Operating System: macOS 10.15 Catalina or later

Re: Macro commands

Post by [email protected] » Wed Sep 25, 2019 9:54 pm

steve wrote:
Wed Sep 25, 2019 11:58 am
Many of the commands you will recognise from the names of Audacity's effects. There's a list of all the standard shipped effects here: https://manual.audacityteam.org/man/ind ... yzers.html

The Macro commands are basically the same as the "Scripting" commands (used when scripting with Python). A list of these is available here: https://manual.audacityteam.org/man/scr ... rence.html

As described in my previous post, "Normalize (Macro_Normalize)" is a Macro that you have created. It will be listed in the left column of the "Macro Manager" as "Normalize".
No, I did not create it, it appears in the right side where the other commands are listed.

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

Re: Macro commands

Post by steve » Wed Sep 25, 2019 11:25 pm

Please post a screenshot.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

[email protected]
Posts: 31
Joined: Mon Jul 08, 2013 10:03 pm
Operating System: macOS 10.15 Catalina or later

Re: Macro commands

Post by [email protected] » Wed Sep 25, 2019 11:27 pm

steve wrote:
Wed Sep 25, 2019 11:25 pm
Please post a screenshot.
Will do, soon as the current task finishes - 817 so far!

Post Reply