I don't know what's the best way but here is _a_ way:
set the range of a horizontal slider to match the length of the array
you can use the outlet of soundfiler and send it to the [hsl] object's receive symbol through a message, for example:
[soundfiler]
|
[range 0 $1(
|
[s myslider]
(it will only update whenever you load a file)
then you can take a [line] (no tilde) and send it exactly the same messages as the [line~] you use for playing the sound (unless you are using a phasor~ for that...), and have it control the slider.
place the slider under your array to serve as a readhead
I did something similar in this patch:
in the video, the yellow slider on the top left follows the sections of the array being played
gr,
Tim