Feature Request: Auto select between labels

Anything you think is missing, or needs enhancement, goes here.
Forum rules
If you require help using Audacity, please post on the forum board relevant to your operating system:
Windows
Mac OS X
GNU/Linux and Unix-like
Post Reply
CliffyPop
Posts: 3
Joined: Mon Jul 06, 2020 8:32 pm
Operating System: macOS 10.13 High Sierra

Feature Request: Auto select between labels

Post by CliffyPop » Wed May 05, 2021 4:42 pm

I don't see any command for what seems like a universal need: selecting audio between labels.

This is highly useful to my podcast/audio book editing because I need to break long stretches of audio into chapters which can include overdubs, transitions and music, and more across multiple tracks in a mix. Labels allow me to specify these chapters and then I need to easily select the audio for one or all tracks between labels for exporting and other editing needs.

I don't see any commands in the obvious Select menu. I notice there are Move to Previous/Next Label (option-left/right) commands. But that's all they can do: simply jump to previous or next labels and no selecting possible.

POSSIBLE SOLUTIONS

Add commands to Select menu:
[*] Select > Labels > Between Labels of Current Track
[*] Select > Labels > Between Labels of All Tracks

This way I can select audio of only one track for time-shifting or copying, etc. or on all tracks like when I've created a multi-track mix and want to export all audio as a complete song mix or a chapter in an audio book.

Another solution is allowing a select modifier key on the Move to Previous/Next Label commands. Seems really simple to place the cursor at a label, then press option-shift-right to select all of the audio between that label and the next.

Obviously, this would only work on the audio of the current track where the cursor was placed. Yet maybe a third modifier key can be used so that if I press option-control-shift-left/right, the audio of all tracks is selected between the two labels.

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

Re: Feature Request: Auto select between labels

Post by steve » Wed May 05, 2021 5:28 pm

There are several options available:

1. Use Region Labels rather than Point Labels.
Clicking on the "flag" of a region label selects the region marked by the label.
https://manual.audacityteam.org/man/lab ... .html#type


2. With Point Labels:
  1. Click on the "flag" of the first label
  2. "Select > Store Cursor Position" (https://manual.audacityteam.org/man/select_menu.html)
  3. Tab to the next label
  4. "Select > Cursor to Stored Cursor Position" (https://manual.audacityteam.org/man/select_menu.html)
By default there are no keyboard shortcuts for the two "Select" menu commands, but if you use these functions regularly it would be worth adding shortcuts. See: https://manual.audacityteam.org/man/key ... ences.html


3. Use the mouse pointer:
The way I do it (which is very quick and easy) is to tab to the first label, then hold down the Shift key and click and drag to the second label. When the pointer is lined up with the label, a vertical yellow "snap line" appears - then Left click.


4. Create a "Nyquist Macro" plug-in to select between labels:
I think I've previously posted a plug-in to do this, but not sure where. I'll post it here if I find it.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

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

Re: Feature Request: Auto select between labels

Post by steve » Wed May 05, 2021 5:51 pm

steve wrote:
Wed May 05, 2021 5:28 pm
4. Create a "Nyquist Macro" plug-in to select between labels:
I think I've previously posted a plug-in to do this, but not sure where. I'll post it here if I find it.
I couldn't find it, so I've written a new one:
SelectBetweenLabels.ny
(945 Bytes) Downloaded 8 times

This can be installed in the same way as any other Nyquist Plug-in: https://manual.audacityteam.org/man/cus ... l#plug-ins
When installed and enabled, it will appear in the "Tools" menu.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

Post Reply