If you're reading with a Phasor, I'd take the output of that (not multiplied by the number of samples) to a snapshot object, repeated by either [bang~] or a [metro(something small)]. Then feed the output of that to a hslider set to the same visual width as your array and mapped to 0 to 1. This will show you your approx current position.

> Date: Mon, 17 May 2010 17:31:40 +0200
> From: potaxpotax@gmail.com
> To: pd-list@iem.at
> Subject: [PD] visualize time/position in soundfile
>
> hi
> what's the best way to visualize the elapsed time and current position
> while playing a sound file from an array?
>
> _______________________________________________
> Pd-list@iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list


Get a free e-mail account with Hotmail. Sign-up now.