Page 2 of 10

Re: Regular Interval Region Labels

Posted: Tue Jan 07, 2014 7:51 pm
by Gale Andrews
steve wrote:
Gale Andrews wrote:I can't see any use if I ask for three region labels to have to have a fourth label in the body of the selection. Can you?
No, but that is a peculiarity of the original plug-in design. As we have a control for "and one more label please" we need to decide what to do with it.
I vote for "at the end of the selection" or don't have the final label at all.
steve wrote:I'd be happy to lose the "Add final label" option. The "Adjust label interval to fit length" would then either, make the "label interval" fit to the selection (YES) or the last labeled region would end at the end of the selection (NO).
As with the final label in "Sound Finder", a final label "may" have some use if the selection is not the entire track.

I'm still (just about) OK with keeping the final label.


Gale

Re: Regular Interval Region Labels

Posted: Tue Jan 07, 2014 7:54 pm
by steve
Gale Andrews wrote:If user wants Label interval of 2000 seconds, they would have to type it if there was a slider with any reasonable range. So they are not losing anything by having a slider.
If, for example, there is a slider with a range of 200, and they type 2000 (or any value beyond the slider range), the value is not retained when they next use the effect.
With text input, they can type "hello world" and although it is an invalid value, it is retained because it is valid input for a text widget. Of course the benefit is that if they want a label interval of 1 hour they can type 3600 and the text widget will retain it (for the duration of the session).

Re: Regular Interval Region Labels

Posted: Tue Jan 07, 2014 7:58 pm
by steve
Gale Andrews wrote:
As we have a control for "and one more label please" we need to decide what to do with it.
I vote for "at the end of the selection"
Which would mean that this is wrong:

Image
Gale Andrews wrote:or don't have the final label at all.
Which means that we have a control that "doesn't work" and will probably be reported as a bug.

Re: Regular Interval Region Labels

Posted: Tue Jan 07, 2014 8:02 pm
by steve
I'm still not clear what you are suggesting Gale,
Perhaps it would help if you could show some screen shots to illustrate how you think it should work.

Re: Regular Interval Region Labels

Posted: Tue Jan 07, 2014 10:21 pm
by steve
To be clear, this addition to the plug-in does not change any existing feature in the current plug-in.

The slightly weird looking behaviour that you point out is already in the plug-in that we have been shipping for however many years. The new feature just makes the strange behaviour visible in a different way, but the "weirdness" is already in the algorithm.

Here is an example that illustrates the current weirdness:

1) Generate a tone 5 seconds duration.
2) Add Regular Interval Labels:
  • Time of first label = 0.
  • Label Interval = 2 seconds.
  • Add final label = No.
  • Adjust Interval to fit length = No
Only 2 labels are produce. The first at 0 seconds and the second at 2 seconds.
Why is there no label at 4 seconds? There is room for another label and I asked for labels every 2 seconds so where is the label at 4 seconds?
2secondintervals.png
2secondintervals.png (13.43 KiB) Viewed 1628 times

Re: Regular Interval Region Labels

Posted: Tue Jan 07, 2014 11:37 pm
by steve
Gale Andrews wrote:Also the other seconds boxes have no slider.
On reflection, the other text boxes have reasonable error checking, so I'm happy to make this a text input too. I've updated the plug-in in the first post.

Re: Regular Interval Region Labels

Posted: Wed Jan 08, 2014 12:17 am
by steve
Some more ideas:

How about reducing the number of controls by combining "Label text", "Minimum number of digits in label", and "Begin numbering from:" into one text control?

As we have text input for the "time" values, why not allow hours:min:seconds.milliseconds?

As we have text input for "Label interval" and "Number of Labels", why do we need the slider for "Number of Labels"?
ril.png
ril.png (28.52 KiB) Viewed 1625 times

Re: Regular Interval Region Labels

Posted: Wed Jan 08, 2014 3:46 pm
by Gale Andrews
steve wrote:
Gale Andrews wrote:or don't have the final label at all.
Which means that we have a control that "doesn't work" and will probably be reported as a bug.
Obviously it means that the control for the final label would be removed, but I think that control is of use in fringe cases.


Gale

Re: Regular Interval Region Labels

Posted: Wed Jan 08, 2014 4:03 pm
by Gale Andrews
steve wrote:
Gale Andrews wrote:
As we have a control for "and one more label please" we need to decide what to do with it.
I vote for "at the end of the selection"
Which would mean that this is wrong:

Image
You don't give the settings used to produce those labels, but there is nothing obviously wrong with it if user did not ask for a final label.


Gale

Re: Regular Interval Region Labels

Posted: Wed Jan 08, 2014 4:11 pm
by Gale Andrews
steve wrote:I'm still not clear what you are suggesting Gale,
Perhaps it would help if you could show some screen shots to illustrate how you think it should work.
The Manual says:
Adjust label interval to fit length

If you choose the default Label Interval placement method, the default Yes setting for this control adjusts your chosen label interval if necessary to make all the audio segments of equal length.
So I expect "Adjust label interval" to have no effect if I am placing by number of labels. :?


Gale