How to record each step into 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.
-
TalkingDog
- Posts: 5
- Joined: Sat Jun 05, 2021 7:03 pm
- Operating System: Windows 10
How to record each step into a macro
I have about1800 clips that I have to create labels for. I am doing the same steps over and over again.
The Parameters are already set for soundfinder @ 40.0, 100.00, 0, 0, 0,
I import the 1st Mp3 file in a sequenced folder,
select audio track name
Press control C,
press enter
select the track,
open analyze menu,
select soundfinder
press enter,
select label track name
Press control V,
press enter,
Open File menu,
select export labels,
press enter,
close both tracks,
Start process over
I import the 2nd Mp3 file in a sequenced folder,
.etc
Start process over
I import the 3rd Mp3 file in a sequenced folder,
.etc
1800 clips
Please help me, these clips are for a project I am creating for humanity.
I can not ask for help, from anyone with this project , because I do not own creativity, creativity expresses through me.
And I am looking for a creative solution, to this repetitive task of1800 files.
PLEASE HELP
The Parameters are already set for soundfinder @ 40.0, 100.00, 0, 0, 0,
I import the 1st Mp3 file in a sequenced folder,
select audio track name
Press control C,
press enter
select the track,
open analyze menu,
select soundfinder
press enter,
select label track name
Press control V,
press enter,
Open File menu,
select export labels,
press enter,
close both tracks,
Start process over
I import the 2nd Mp3 file in a sequenced folder,
.etc
Start process over
I import the 3rd Mp3 file in a sequenced folder,
.etc
1800 clips
Please help me, these clips are for a project I am creating for humanity.
I can not ask for help, from anyone with this project , because I do not own creativity, creativity expresses through me.
And I am looking for a creative solution, to this repetitive task of1800 files.
PLEASE HELP
-
kozikowski
- Forum Staff
- Posts: 69357
- Joined: Thu Aug 02, 2007 5:57 pm
- Operating System: macOS 10.13 High Sierra
Re: How to record each step into a macro
I can't follow that. Can you describe in English words what you're doing? What are you starting with and what is the product?
There is a caution not to do production with MP3 files. MP3 gets its small, convenient files by cleverly hidden damage and leaving some sounds out. If you make an MP3 from an MP3, the damage gets worse and harder to hide. By the third pass, the sound damage can be pretty serious and can kill a show.
Do you know how to use any of the programming languages? Nyquist?
The obvious choice is create a Macro. They're pretty simple, but Macros can't make decisions, and someone will correct me, they can't call each other, so you can't slosh actions and processes back and forth between two of them.
Koz
There is a caution not to do production with MP3 files. MP3 gets its small, convenient files by cleverly hidden damage and leaving some sounds out. If you make an MP3 from an MP3, the damage gets worse and harder to hide. By the third pass, the sound damage can be pretty serious and can kill a show.
Do you know how to use any of the programming languages? Nyquist?
The obvious choice is create a Macro. They're pretty simple, but Macros can't make decisions, and someone will correct me, they can't call each other, so you can't slosh actions and processes back and forth between two of them.
Koz
-
kozikowski
- Forum Staff
- Posts: 69357
- Joined: Thu Aug 02, 2007 5:57 pm
- Operating System: macOS 10.13 High Sierra
Re: How to record each step into a macro
Neither can I.
What does "select audio track name" mean? How are you doing that?TalkingDog wrote: ↑Sat Jun 05, 2021 8:09 pmThe Parameters are already set for soundfinder @ 40.0, 100.00, 0, 0, 0,
I import the 1st Mp3 file in a sequenced folder,
select audio track name
What does that do? It seems that you are copying something and then pressing "Enter". What are you copying and why press Enter?
A macro can call another macro, though there are not many cases where one would need to do that. You may be confusing this with "Nyquist Macros" that can't call Nyquist effects.kozikowski wrote: ↑Sat Jun 05, 2021 11:29 pmand someone will correct me, they can't call each other,
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)
-
kozikowski
- Forum Staff
- Posts: 69357
- Joined: Thu Aug 02, 2007 5:57 pm
- Operating System: macOS 10.13 High Sierra
Re: How to record each step into a macro
I believe you. I never got close enough to Nyquist programming to worry about it. My experience with plain Macros is measured in days."Nyquist Macros" that can't call Nyquist effects.
Koz
-
TalkingDog
- Posts: 5
- Joined: Sat Jun 05, 2021 7:03 pm
- Operating System: Windows 10
Re: How to record each step into a macro
I described the exact process that anyone would have to use, to accomplish what I am doing. I wrote it had way for clarity.kozikowski wrote: ↑Sat Jun 05, 2021 11:29 pmI can't follow that. Can you describe in English words what you're doing? What are you starting with and what is the product?
There is a caution not to do production with MP3 files. MP3 gets its small, convenient files by cleverly hidden damage and leaving some sounds out. If you make an MP3 from an MP3, the damage gets worse and harder to hide. By the third pass, the sound damage can be pretty serious and can kill a show.
Do you know how to use any of the programming languages? Nyquist?
The obvious choice is create a Macro. They're pretty simple, but Macros can't make decisions, and someone will correct me, they can't call each other, so you can't slosh actions and processes back and forth between two of them.
Koz
I am making labels from 1800 audio files with the duration as start and stop and saving them as a text file. It seems obvious to me, that if audacity had a macro recorder built into it, that could record the steps, this could be automated. As long as there was the ability to have the next imported file auto selected, using the recent file history and selecting the next file. They use a macro recorder in notepad++ which works great.
I have a micro step recorder that is portable, but I can not select the next import file, because no file is high lighted, if one was, I could use the down arrow in the micro recording to select the next file, and this process would be automated. What I would like to be able to do, is accomplish this in bulk, there are 1800 files. Does anyone know of an desktop app that can do this?
I already no that this can not be done using macros, but if there was the enter key, control key + C, control key + V, in the macros list,
-
TalkingDog
- Posts: 5
- Joined: Sat Jun 05, 2021 7:03 pm
- Operating System: Windows 10
Re: How to record each step into a macro
After I import the file, it is in a track, there is a select button at the bottom left side of the track, I click it, it selects the track, only then can I open soundfiner with the preselected Parameters @ 40.0, 100.00, 0, 0, 0,.steve wrote: ↑Sun Jun 06, 2021 11:50 amNeither can I.
What does "select audio track name" mean? How are you doing that?TalkingDog wrote: ↑Sat Jun 05, 2021 8:09 pmThe Parameters are already set for soundfinder @ 40.0, 100.00, 0, 0, 0,
I import the 1st Mp3 file in a sequenced folder,
select audio track name
I have to select the track name and copy it, because there is no way to have it named automatically, if track name is selected, it names the file track name and will only record over that file name, it will not create a file named track name 1.
Last edited by steve on Sun Jun 06, 2021 10:07 pm, edited 1 time in total.
Reason: fix quote tags
Reason: fix quote tags
Re: How to record each step into a macro
You can apply a macro to multiple files as a batch process, so long as all of the files that you want to process are in the same directory.
More info here: https://manual.audacityteam.org/man/macros.html
Batch processing with Audacity is more commonly applied to an audio file, and exports the processed audio file into a "macro output" folder, using the name of the audio track (which takes its name from the name of the imported audio file). Unfortunately there is not an equivalent macro command for exporting label text files.
As you want to export a label track file rather than an audio file, you will need a plug-in to handle the export. Here's a plug-in that I've written for the task: This is a "Nyquist Plug-in". Installation instructions are here: https://manual.audacityteam.org/man/ins ... st_install
(Don't forget to enable the plug-in after installing it).
When the plug-in has been installed and enabled, it will appear in the "Tools" menu.
I have tested this plug-in with Audacity 3.0.2. It may work with slightly older versions, but not with very old versions. I think it should work OK with Audacity 2.4.2.
You then need to make a macro containing two commands:
1. Sound Finder (or "Label Sounds")
2. Export Labels
When you add the commands to the macro, you will also need to "Edit Parameters".
For the Sound Finder, use the settings that you have decided to use.
For "Export Labels", the only setting is to select a file to write to. The default file name is "filename.txt", but that will be changed automatically when the macro runs to match the name of the audio track. All the label text files will be written to the folder that you specify.
I would highly recommend that you test the macro with just a few files first to ensure that it does what you want.
It is usually recommended to batch process no more than about 500 files at a time.
More info here: https://manual.audacityteam.org/man/macros.html
The tricky part of this is that each label text file has to have a unique name.TalkingDog wrote: ↑Sun Jun 06, 2021 9:29 pmI am making labels from 1800 audio files with the duration as start and stop and saving them as a text file.
Batch processing with Audacity is more commonly applied to an audio file, and exports the processed audio file into a "macro output" folder, using the name of the audio track (which takes its name from the name of the imported audio file). Unfortunately there is not an equivalent macro command for exporting label text files.
As you want to export a label track file rather than an audio file, you will need a plug-in to handle the export. Here's a plug-in that I've written for the task: This is a "Nyquist Plug-in". Installation instructions are here: https://manual.audacityteam.org/man/ins ... st_install
(Don't forget to enable the plug-in after installing it).
When the plug-in has been installed and enabled, it will appear in the "Tools" menu.
I have tested this plug-in with Audacity 3.0.2. It may work with slightly older versions, but not with very old versions. I think it should work OK with Audacity 2.4.2.
You then need to make a macro containing two commands:
1. Sound Finder (or "Label Sounds")
2. Export Labels
When you add the commands to the macro, you will also need to "Edit Parameters".
For the Sound Finder, use the settings that you have decided to use.
For "Export Labels", the only setting is to select a file to write to. The default file name is "filename.txt", but that will be changed automatically when the macro runs to match the name of the audio track. All the label text files will be written to the folder that you specify.
I would highly recommend that you test the macro with just a few files first to ensure that it does what you want.
It is usually recommended to batch process no more than about 500 files at a time.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)
-
TalkingDog
- Posts: 5
- Joined: Sat Jun 05, 2021 7:03 pm
- Operating System: Windows 10
Re: How to record each step into a macro
There is nothing in the Export Labels files. But the naming worked perfectly. I so appreciate your help with this.steve wrote: ↑Sun Jun 06, 2021 11:58 pmYou can apply a macro to multiple files as a batch process, so long as all of the files that you want to process are in the same directory.
More info here: https://manual.audacityteam.org/man/macros.html
The tricky part of this is that each label text file has to have a unique name.TalkingDog wrote: ↑Sun Jun 06, 2021 9:29 pmI am making labels from 1800 audio files with the duration as start and stop and saving them as a text file.
Batch processing with Audacity is more commonly applied to an audio file, and exports the processed audio file into a "macro output" folder, using the name of the audio track (which takes its name from the name of the imported audio file). Unfortunately there is not an equivalent macro command for exporting label text files.
As you want to export a label track file rather than an audio file, you will need a plug-in to handle the export. Here's a plug-in that I've written for the task:
ExportLabels.ny
This is a "Nyquist Plug-in". Installation instructions are here: https://manual.audacityteam.org/man/ins ... st_install
(Don't forget to enable the plug-in after installing it).
When the plug-in has been installed and enabled, it will appear in the "Tools" menu.
I have tested this plug-in with Audacity 3.0.2. It may work with slightly older versions, but not with very old versions. I think it should work OK with Audacity 2.4.2.
You then need to make a macro containing two commands:
1. Sound Finder (or "Label Sounds")
2. Export Labels
Last edited by steve on Mon Jun 07, 2021 1:55 am, edited 1 time in total.
Reason: fix quote tags
Reason: fix quote tags
Re: How to record each step into a macro
Which version of Audacity are you using?
Perhaps your Sound Finder settings are not producing any labels.
Perhaps your Sound Finder settings are not producing any labels.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)