Page 1 of 1

[Bug] Macro hotkeys dont work during playback

Posted: Mon Feb 18, 2019 4:35 am
by Gibbz
Ive setup a simple macro to center the workview on the current cursor position. I would like to use the macro while the audio is playing so I can put the playback cursor in the center of the screen while playing.... But while other hotkeys work during playback, ones attached to macros do not.

To test, create a new macro label it "center on cursor":
add zoom out
add zoom in

assign it to a hotkey, and play some audio.
Using these actions manually work, but the macro does not during playback.

Re: [Bug] Macro hotkeys dont work during playback

Posted: Mon Feb 18, 2019 8:59 am
by steve
You're correct about the behaviour, but it's not a bug, it's a limitation of the design.

"Macros" are not (and not intended to be) a full featured "scripting" interface. For that you would need the experimental "mod-script-pipe", but that's not quite ready for prime-time.

"Macros" are really just an extension of the old "Chains" feature, which was based on the idea of "chaining" effects, and as you will be aware, Audacity isn't a real-time processing application - playback has to be stopped before applying effects.
signalchain1.jpg
A guitarist's "chained effects"
signalchain1.jpg (282.26 KiB) Viewed 388 times

Re: [Bug] Macro hotkeys dont work during playback

Posted: Wed Feb 20, 2019 1:19 am
by Gibbz
Ah! That makes sense!
Ill wait for the mod support :) Hopefully soon.

Thanks!