Page 1 of 7

Labels wish-list

Posted: Sat Apr 13, 2013 4:54 pm
by Paul L
I'd suggest a few helpful things for labels that I don't see in Feature Requests wiki...

1. Ctrl-drag can move a label vertically to a different label track without changing its horizontal position. (Analogous to ctrl-drag in the time-shift tool.)
2. A command that deletes all labels lying entirely within the selected region of label track(s). Perhaps not the Backspace and Delete keys, as the intention may be to delete audio in the synch-locked tracks, but a new command that is one easy keystroke.

Some other things I'd like are already in the Feature Requests like easier TAB navigation.

Re: Labels wish-list

Posted: Sat Apr 13, 2013 5:42 pm
by Edgar
Paul L wrote: 2. A command that deletes all labels lying entirely within the selected region of label track(s). Perhaps not the Backspace and Delete keys, as the intention may be to delete audio in the synch-locked tracks, but a new command that is one easy keystroke.
+1 I wrote code to do this a couple years ago for my personal version of Audacity and find it incredibly useful.

Re: Labels wish-list

Posted: Sat Apr 13, 2013 6:22 pm
by Paul L
Please persuade them to let you submit it!

Re: Labels wish-list

Posted: Sun Apr 14, 2013 4:13 am
by steve
Edgar wrote:+1 I wrote code to do this a couple years ago for my personal version of Audacity and find it incredibly useful.
I'd be very interested to try that Edgar. Could you post a patch?

Re: Labels wish-list

Posted: Sun Apr 14, 2013 5:08 am
by Edgar
Paul L wrote:Please persuade them to let you submit it!
Sorry Paul, The Audacity Developers are sitting on many bug-fix and enhancement patches which I have submitted over the years and are categorically unwilling to consider anything I submit.

Re: Labels wish-list

Posted: Sun Apr 14, 2013 5:16 am
by Edgar
steve wrote: I'd be very interested to try that Edgar. Could you post a patch?
No promises, my code base is so far removed from SVN HEAD (and has been drastically updated to compile with the newest Visual Studio and wxWidgets) that it might be easier to just point you in the right direction and let you do the C++ coding yourself. I know you are starting to get a good handle on C++ and this might make for a good learning experience. Anyway, it's getting late and I have to hit the gym for an hour before bed, I'll take a look at it in the morning and send you some email.

Re: Labels wish-list

Posted: Sun Apr 14, 2013 2:20 pm
by steve
Edgar wrote:it might be easier to just point you in the right direction
Please do.

Re: Labels wish-list

Posted: Sun Apr 14, 2013 5:31 pm
by Edgar
steve wrote:
Edgar wrote:it might be easier to just point you in the right direction
Please do.
Check your email inbox…

Re: Labels wish-list

Posted: Mon Apr 15, 2013 2:56 am
by steve
Paul L wrote:1. Ctrl-drag can move a label vertically to a different label track without changing its horizontal position. (Analogous to ctrl-drag in the time-shift tool.)
There's quite an easy workaround for that:
  1. Click in the label that you want to replicate and press Enter (so that you're not in label edit)
  2. Use the cursor up/down keys to move to the other label track
  3. Press Ctrl+B
Paul L wrote:2. A command that deletes all labels lying entirely within the selected region of label track(s).
Provided that Sync-Lock is turned off, you can delete one or more selected labels with the Delete key.
However, I presume that what you mean is the ability to "remove" selected labels, without affecting the positions of later labels on the same label track.
Is that what you want?

Would Shift+Delete be a suitable default key binding for this function?

I presume that we would also want a menu item, so how about

Code: Select all

Edit > 
     Remove Audio or Labels > 
          Cut
          Delete
          Split Cut
          Split Delete
          Silence Audio
          Trim Audio
          Remove Selected Labels

Re: Labels wish-list

Posted: Tue Apr 16, 2013 7:14 pm
by Gale Andrews
Paul L wrote:Some other things I'd like are already in the Feature Requests like easier TAB navigation.
So do you want to vote for
When the label track has focus, TAB or SHIFT + TAB should always navigate to the nearest label (from the current cursor point in the direction specified)
This would mean I think that if the cursor (or left edge of the selection) was at a label, but that label was not open for editing, then that label would open for editing rather than the next one in the TAB direction.


Gale