It seems not to be possible to invoke a Macro or keyboard shortcut during Record (or Play, either).
Is it?
Here is the scenario I am trying to enable:
Audacity is recording me while I play my instrument. At any random moment I can press a single USB foot pedal (that invokes a keyboard command) and cause Audacity to stop recording, rewind X seconds, play those X seconds, then resume recording from where I has stopped.
This is the Macro I have created:
Stop:*
CursProjectEnd:
CursorShortJumpLeft:
CursorShortJumpLeft:
CursorShortJumpLeft:
CursorShortJumpLeft:
CursorShortJumpLeft:
OncePlayStop:
CursProjectEnd:
Record2ndChoice:*
I can make the Macro.
I can assign a keyboard shortcut to the Macro.
I can assign the keyboard shortcut to a pedal.
However, it can’t be invoked during Record because custom keyboard shortcuts (and Macros via the Apply Macro menu) are locked out during Record (or Play).
ALSO… even if I manually stop Recording via the standard Audacity interface, then invoke the Macro, the last command “Record2ndChoice:” does not get executed. Audacity does not begin recording, even though that is a command that is available for inclusion in Macros.
How to solve this?
Don’t I already know that I could get a multi-pedal device and assign Stop, Playback and Record to separate pedals?
Yes, I already know that.
My need is to make this a one-pedal action.