[PD] visualize time/position in soundfile

tim vets timvets at gmail.com
Mon May 17 18:02:46 CEST 2010


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:
http://www.timvets.net/software/pd_beatslicer.php?page=software
in the video, the yellow slider on the top left follows the sections of the
array being played
gr,
Tim

2010/5/17 PF <potaxpotax at gmail.com>

> hi
> what's the best way to visualize the elapsed time and current position
> while playing a sound file from an array?
>
> _______________________________________________
> Pd-list at iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20100517/c73ab018/attachment.htm>


More information about the Pd-list mailing list