Stop recording with a macro
Forum rules
This forum is for Audacity on Windows.
Please state which version of Windows you are using,
and the exact three-section version number of Audacity from "Help 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.
Please state which version of Windows you are using,
and the exact three-section version number of Audacity from "Help 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.
Stop recording with a macro
Seems that macros cannot be activated when recording is active. I would like to have a button assigned to a macro. Macro would the stop recording and save the result. How to do that?
Audacity 2.3.0 and Windows 10.
Audacity 2.3.0 and Windows 10.
Re: Stop recording with a macro
When would it stop and save the result?
To stop recording on a key press, use Space to stop the recording.
To stop recording after a specified length of time could be done with AutoHotkey or similar. This can't be done with a macro because there isn't a timer for macros.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)
Re: Stop recording with a macro
Of course stop and save can be done with two key presses, one for stop and second for save.
What I am after is to do these two with one key press only. Only problem is that macro cannot be activated during recording.
What I am after is to do these two with one key press only. Only problem is that macro cannot be activated during recording.
Re: Stop recording with a macro
That is correct.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)
Re: Stop recording with a macro
Sounds like that is a feature and not a bug. Could you explain why macros are disabled?
-
waxcylinder
- Forum Staff
- Posts: 14687
- Joined: Tue Jul 31, 2007 11:03 am
- Operating System: Windows 10
Re: Stop recording with a macro
Most things are disabled during recording - recording is seen as a critical non-interruptable activity in Audacity.
WC
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * FAQ * * * * * Tutorials * * * * * Audacity Manual * * * * *
* * * * * FAQ * * * * * Tutorials * * * * * Audacity Manual * * * * *
Re: Stop recording with a macro
This is understandable and acceptable. Would be nice to have a possibility to automate some actions connected to stop recording, though.
Re: Stop recording with a macro
There are three forms of scripting (automation) in Audacity:
- "Macros" are the simplest, but also the most limited.
A Macro is a simple list of commands that run from the top of the list to the bottom of the list. - "Nyquist Macros" are a more advanced / more powerful form of scripting (https://manual.audacityteam.org/man/nyquist_macros.html).
An important limitation of Nyquist Macros is that it is not currently possible for a Nyquist Macro to apply Nyquist effects. If you need to mix Audacity commands with Nyquist commands, then you either need to use a normal "Macro", or "mod-script-pipe". - The third, and most powerful form of scripting, is to use an external scripting language such as Python to control Audacity via "mod-script-pipe".
Mod-script-pipe is not yet shipped with Audacity, and has to be built from the source code along with building Audacity from the source code. This complication rules out mod-script-pipe as an option for most users, but hopefully mod-script-pipe will become available as a standard part of Audacity in the near future.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)
Re: Stop recording with a macro
Building in Windows to enable mod-script-pipe seems to be relatively straightforward.
However, would be nice to see some documentation before doing that. Documentation page for that is currently not working.
https://manual.audacityteam.org/man/Scripting.html
Would it be possible to activate a python script during recording with one key press? That script would stop recording and save the result.
However, would be nice to see some documentation before doing that. Documentation page for that is currently not working.
https://manual.audacityteam.org/man/Scripting.html
Would it be possible to activate a python script during recording with one key press? That script would stop recording and save the result.
Re: Stop recording with a macro
The page addresses are case sensitive: https://manual.audacityteam.org/man/scripting.html
Probably easiest to do that with something like AutoHotKey, as that supports global shortcuts (meaning that the Python script would not need to be running or even have focus when you press the key.)
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)