I just recently discovered Audacity, and have a need
to break long audio (4-5 hrs) into approximately equal
intervals, so the MP3 as listened to can be moved
forward & backward. I figure that it should be broken
on silences, so EqualLabl.ny won't quite do it.
This is for my mother, who is going blind with macular
degeneration, to listen to things on an MP3 player.
I've done this in two different ways, & would like
help in doing it in a slightly better way.
The first way I did it was to use SilenceMarker.ny to
find all silences, & then wrote a small program to
peruse the label.txt file & spit out just the times
which were just under the incremented interval.
The second way was a very slight modification of
SilenceMarker.ny, such that IT only spit out time
marks just under the incremented interval.
But I hear a lot of disk access during that, & figure
that I shouldn't need to have it look for EVERY
silence, if I just want those near the incremented
So, in SilenceMarker.ny, what I think I need is a way
to make Nyquist, when acting on the entire selected
audio, "move" to the incremented interval time, and
then start looking for the first silence subsequently
encountered, make a mark when it finds one, then move
to the next increment of the interval.
But I can't figure how to specify "move to such & such
a time & then read samples".
And I'm not 100% sure I understand how Nyquist is
acting on the selection. At first I though "s"
*contained* the whole selection. I now *think* that
"s" is just a variable which *can* contain samples
from the selection, as fetched by snd-fetch, but I'm
not really sure that's right either.
So any help on the above two concerns would be
ps. I've never programmed in Lisp before, so I'm
struggling with it.