Audacity Bug Summary
••• Introduction •••
••• Keywords •••
    Audacity 3.0.3 development began 19th April 2021

Audacity Bugzilla



Bug 770 - Enh: Create region labels with "Regular Interval Labels" tool.
Enh: Create region labels with "Regular Interval Labels" tool.
Status: RESOLVED FIXED
Product: Audacity
Classification: Unclassified
Component: Built-in FX
unspecified
PC All
: P4 Enhancement
Assigned To: Default Assignee for New Bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-10-12 14:54 UTC by Steve Daulton
Modified: 2018-11-10 10:18 UTC (History)
5 users (show)

See Also:
Steps To Reproduce:
Use the Tools > Regular Interval Labels feature. Find that there is no option for region labels.
Release Note:
First Git SHA:
Group: LabelTrack
Workaround:
Closed:
petersampsonaudacity: Test‑OK‑Win+
petersampsonaudacity: Test‑OK‑Mac+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Steve Daulton 2014-10-12 14:54:26 UTC
This feature could be used in any situation where the user wants to label audio events that have a known duration and known interval. Below is an example:

You have a 12 hour "on location" recording of clock chimes every 15 minutes. You want to trim down the recording by deleting 14 minutes from between each group of chimes. The first group of chimes ends at time = 35 seconds.

To accomplish the task, create regular interval labels every 15 minutes (900 seconds) with the label region 14 minutes long (840 seconds) with the first label placed at 35 seconds. Then select the Label track and "Edit > Labeled audio > Delete" to remove 14 minutes between each set of chimes. The 12 hour recording is trimmed down to 48 minutes and 35 seconds.
Comment 1 Steve Daulton 2018-10-22 18:55:56 UTC
Fixed at:
https://github.com/audacity/audacity/commit/72fbf1b
Comment 2 Peter Sampson 2018-11-06 09:44:40 UTC
Testing on W10 audacity-2.3.1-alpha-207-4c76e598d5859dc172e063d37287cc510fa7850f

I eventually found out how to create region labels - but it was not very discoverable in the GUI - I had to resort to a thorough and careful read of the Manual (and we know how mnay users do that - precious few).

Also I was expecting to be able to create labels based on number of labels and have them automatically be region labels - I cannot see a way to do that.

----------------------------------------------------

I also think that "Number & Interval (the most complex choice) may not be the best choice default for "Create labels based on:"

2.3.0 and all earlier had the simple setting "Number of labels" as its default
Comment 3 Steve Daulton 2018-11-06 11:21:32 UTC
(In reply to Peter Sampson from comment #2)
> I also think that "Number & Interval (the most complex choice)

I think it's the most obvious. If you read what is displayed in the GUI, it says:

Create labels based on: "Number & Interval
Number of labels: "10"
Label interval (seconds): "10"

and that gives you 10 labels at 10 second intervals.
If you have ideas of how that could be clearer, we  can discus it on the QA list.
Comment 4 Steve Daulton 2018-11-06 11:25:18 UTC
(In reply to Peter Sampson from comment #2)
> I eventually found out how to create region labels - but it was not
> very discoverable in the GUI

The plug-in creates point labels by default.
Have a wild guess what might happen if you set:

"Length of label region"
to more than zero.

Try it - was your wild guess correct? Did you "discover"?
Comment 5 Peter Sampson 2018-11-06 12:26:22 UTC
(In reply to Steve Daulton from comment #4)
>Try it - was your wild guess correct? Did you "discover"?

I found that bit out - I did discover that I could create region labels shorter than the gap between labels - or region labels that overlapped.

But what I haven't discovered is a way to set region label at provide 100% coverage, end to end, of the selected audio without manually calculating the required label length.  And I don't thing the Tool can do this right now.
Comment 6 Steve Daulton 2018-11-06 14:08:44 UTC
(In reply to Peter Sampson from comment #5)
> But what I haven't discovered is a way to set region label at provide
> 100% coverage, end to end, of the selected audio without manually
> calculating the required label length.

It doesn't have that feature when using "Number of labels" or "Adjust to fit".

A couple of relevant considerations:

1) When used with Export Multiple, point labels will split with 100% coverage.

2) When using "Number & Interval" or "Label Interval" without the "adjust to fit" option, then a 100% region = the "interval".

I think the  option to specify an exact region length in seconds is more useful than specifying region length as a percentage of the interval. I didn't want the extra complexity of both.
If there is demand for "percentage of the interval", then I'll make another version and upload it to the wiki.
Comment 7 Peter Sampson 2018-11-10 10:16:16 UTC
(In reply to Steve Daulton from comment #6)
Since this works as the "doer decided" intends - I shall close this off.

I realize that 
>1) When used with Export Multiple, point labels will split with 100% coverage.

But I still think it would be good to be able to set a specified number of range labels with exactly 100% coverage of the selected audio.  I have tied to do this mandraullically but can never get the calculation precise enough - so I either get overlaps or I get tiny gaps between the labels.


And I still think that the simple "Number" would be a much better default for "Create labels based on" - thus making the default more like the old way of working in earlier Audacity versions
Comment 8 Peter Sampson 2018-11-10 10:18:32 UTC
Tested on Mac with Steve's 09Noc18 build and that works as "intended" there too