[Bug] Macro hotkeys dont work during playback

Feedback and Reviews for Audacity 2.x
Forum rules
This board is ONLY for general feedback and discussion about Audacity 2.X.

If you require help, or think you have found a "bug", please post on the forum board relevant to your operating system.
Windows
Mac OS X
GNU/Linux and Unix-like
Post Reply
Gibbz
Posts: 40
Joined: Tue Jul 11, 2017 8:36 am
Operating System: Linux Debian

[Bug] Macro hotkeys dont work during playback

Post by Gibbz » Mon Feb 18, 2019 4:35 am

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.

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

Re: [Bug] Macro hotkeys dont work during playback

Post by steve » Mon Feb 18, 2019 8:59 am

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 387 times
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

Gibbz
Posts: 40
Joined: Tue Jul 11, 2017 8:36 am
Operating System: Linux Debian

Re: [Bug] Macro hotkeys dont work during playback

Post by Gibbz » Wed Feb 20, 2019 1:19 am

Ah! That makes sense!
Ill wait for the mod support :) Hopefully soon.

Thanks!

Post Reply