Delete extraneous labels
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.
-
Briansdad1
- Posts: 16
- Joined: Thu Oct 24, 2013 10:02 pm
- Operating System: Please select
Delete extraneous labels
I like to use "Silence Finder" to divide my recordings and set label locations. Sometimes that takes a lot of tweaking of the parameters and still I might get 1 or 2 "extra" labels generated in the silent sections or in a pause in the ongoing track. I can't seem to find a way to just delete the extraneous label. Can someone help?
Bill
Bill
- Attachments
-
- Delete extra label.jpg (26.51 KiB) Viewed 2936 times
Re: Delete extraneous labels
Firstly, I'm currently working on "Silence Finder" to try and make it more accurate at detecting sounds/silences with less extraneous labels. Progress is good so far, but it will still take a while to complete the work.
Secondly, to delete a label, click at the end of the text in the label, then use the backspace key to delete the text. When you have deleted all of the text characters, one more backspace will delete the label.
Thirdly, I've been looking into having a right-click menu item for deleting labels as I think that this would be far easier that having to delete "all the text then one more". Is this a feature that you would like to see in Audacity?
Secondly, to delete a label, click at the end of the text in the label, then use the backspace key to delete the text. When you have deleted all of the text characters, one more backspace will delete the label.
Thirdly, I've been looking into having a right-click menu item for deleting labels as I think that this would be far easier that having to delete "all the text then one more". Is this a feature that you would like to see in Audacity?
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)
-
Briansdad1
- Posts: 16
- Joined: Thu Oct 24, 2013 10:02 pm
- Operating System: Please select
Re: Delete extraneous labels
First, thank you for your reply. Secondly, yes. context menu delete choice! Right clicking was the first thing I tried to find a "delete label." The next place i looked was in the tracks menu.
Thank you for your work on this project.
Bill
Thank you for your work on this project.
Bill
Re: Delete extraneous labels
Code: Select all
/// Remove Label if remove menu item is selected
void TrackPanel::OnRemoveLabel(wxCommandEvent &event)
{
LabelTrack *lt = (LabelTrack *)mPopupMenuTarget;
int labelIndex = lt->getSelectedIndex();
lt->DeleteLabel(labelIndex);
MakeParentPushState(_("Removed Label"),
_("Label Remove"),
true /* consolidate */);
// RefreshTrack(lt);
}-
Briansdad1
- Posts: 16
- Joined: Thu Oct 24, 2013 10:02 pm
- Operating System: Please select
Re: Delete extraneous labels
Nice script but i have no Idea how to use it
Anyway, knowing the "one more backspace" trick, all is good.
BTW, I was supposed to tell you: I'm ising windows 8 and Audacity 2.0.5
Anyway, knowing the "one more backspace" trick, all is good.
BTW, I was supposed to tell you: I'm ising windows 8 and Audacity 2.0.5
Re: Delete extraneous labels
That was just a hint for SteveBriansdad1 wrote:Nice script but i have no Idea how to use it
-
waxcylinder
- Forum Staff
- Posts: 14687
- Joined: Tue Jul 31, 2007 11:03 am
- Operating System: Windows 10
Re: Delete extraneous labels
Yes pleasesteve wrote:Thirdly, I've been looking into having a right-click menu item for deleting labels as I think that this would be far easier that having to delete "all the text then one more". Is this a feature that you would like to see in Audacity?
WC
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * FAQ * * * * * Tutorials * * * * * Audacity Manual * * * * *
* * * * * FAQ * * * * * Tutorials * * * * * Audacity Manual * * * * *
-
waxcylinder
- Forum Staff
- Posts: 14687
- Joined: Tue Jul 31, 2007 11:03 am
- Operating System: Windows 10
Re: Delete extraneous labels
The other cute trick you can use to delete a label or group of labels (but perhaps not useful in this case as the extraneous labels are clumped with a label that is required) is to select over the labels with click and drag, just in the label track and NOT in the audio track - then use the keyboard shortcut Ctrl+Alt+K
I use this a lot - and find it extremely useful.
See this page in the Audacity Manual: http://manual.audacityteam.org/o/man/la ... tml#remove
WC
I use this a lot - and find it extremely useful.
See this page in the Audacity Manual: http://manual.audacityteam.org/o/man/la ... tml#remove
WC
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * FAQ * * * * * Tutorials * * * * * Audacity Manual * * * * *
* * * * * FAQ * * * * * Tutorials * * * * * Audacity Manual * * * * *
Re: Delete extraneous labels
Thanks Edgar. I think we must have discussed this before because that is identical to part of my "RemoveLabels-05.patch"Edgar wrote:Code: Select all
/// Remove Label if remove menu item is selected void TrackPanel::OnRemoveLabel(wxCommandEvent &event) { LabelTrack *lt = (LabelTrack *)mPopupMenuTarget; int labelIndex = lt->getSelectedIndex(); lt->DeleteLabel(labelIndex); MakeParentPushState(_("Removed Label"), _("Label Remove"), true /* consolidate */); // RefreshTrack(lt); }
I doubt that there would be much enthusiasm for adding just one right click option for label tracks, but the developers don't like to review huge patches either, so perhaps I'll see if I can get it committed as "experimental" while we sort out other useful right click label track items.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)
-
waxcylinder
- Forum Staff
- Posts: 14687
- Joined: Tue Jul 31, 2007 11:03 am
- Operating System: Windows 10
Re: Delete extraneous labels
But you would not be creating a drop-down menu with just one item - there are already three there.steve wrote:I doubt that there would be much enthusiasm for adding just one right click option for label tracks, but the developers don't like to review huge patches either, so perhaps I'll see if I can get it committed as "experimental" while we sort out other useful right click label track items.
And I suspect the developers may be receptive to smaller incremental changes rather that a big bang approaching adding several menu functions all in one go.
Jus this one change would make a huge difference to usability - the current method of deletion is somewhat cack-handed with the delete-delete-delete ... - and the "cute trick" Ctrl+Alt+K whilst powerful isn't always useful. Implementing a delete label in the right-click drop-down menu would save an awful lot of clicking (especially as I do sometimes with classical pieces).
Peter.
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * FAQ * * * * * Tutorials * * * * * Audacity Manual * * * * *
* * * * * FAQ * * * * * Tutorials * * * * * Audacity Manual * * * * *