waxcylinder wrote:steve wrote:Edgar wrote:Silence Finder: Place a Point Label a specified distance in front of the "end" of the silence.
Strange isn't it
Let me read that again;
"A specified distance in front of the end of the silence" -
In other words, "a specified distance before the
sound"?
I've always presumed it was done that way to provide a lead-in ( 2 secs ? ) prior to the "song" starting .
So we want a way to "adjust" the position of the labels relative to the detected region.
This is where it starts to become a bit tricky. We can't really just have "before end of silence" because this effect may be detecting sounds or silences.
Inspiration for terminology came from the world of "audio recording" and "audio processing" (quite appropriately

)
A few terms came to mind such as "pre-roll", but I think that is quite hard to grasp in terms of labels.
Particularly in audio processing we have the term "lookahead".
"Lookahead" is a period of
anticipation before an audio event happens. For example in a Noise Gate, If there is a "lookahead" of 10 milliseconds, then that means that the gate will open or close 10 milliseconds before the audio crosses the threshold level. The same thing could be applied to labels. If placing a point label at the end of a silence, then "lookahead" would determine how much before the end of the silence the label would be placed.
Here the selected region shows the "lookahead" when marking a sound with a region label.

- lookahead
- lookahead.png (13.65 KiB) Viewed 2138 times
Thinking of a complementary word for the period "after" an event, brought to mind the word "overshoot".
here is a point label at the "start" of a silence with an "overshoot" of 0.3 seconds:

- overshoot
- overshoot.png (9.83 KiB) Viewed 2138 times

- Lookahead and Overshoot controls
- lookahead-overshoot.png (29.25 KiB) Viewed 2138 times