About a year ago I posted a related request, which unfortunately didn’t get any replies.
Since a Nyquist command is involved, I try again in this category - hoping to bring this to the attention of some seasoned Nyquist experts like @steve
How to use the macro:
- Select a range small enough suitable for the “repair” effect
- apply the macro
==> for the selected range “repair” is applied and a range-label is created on a label track.
The question is:
How do I need to change this macro, so that for each execution the label (marking the repaired selection) is created in the same label track:
Repair:Use_Preset="<Factory Defaults>"
NyquistPrompt:Command=";type analyze\n(list (list 0 (get-duration 1) \"\"))" Parameters="" Version="4"
I have these two lines in a *.txt file, import it into Audacity and assign a keyboard shortcut to it because I need to use it very frequently.
A year and several releases later I resumed experiments with selections of v3.2.5 to 3.7.3, even tried v2.4.2 - all of them show the same behavior: Each invocation of the macro creates a range-label for the repaired selection on a new label track. So after 20 invocations I have 20 label tracks …
I am 100% sure that this macro did work correctly (i.e. putting all labels in a single track) in some v2.x versions, because this was the current version when I started to de-crack dozens of vinyl recordings many years ago. Unfortunatley I don’t remember what it was, that stopped it working for the first time.
But maybe nowadays there is a totally different solution possible to achieve the same goal?
I am open to a new solution as well.