[PD] visualize time/position in soundfile

tim vets timvets at gmail.com
Mon May 17 18:05:51 CEST 2010


2010/5/17 tim vets <timvets at gmail.com>

> 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:
>
>
(I forgot to mention: i think it will only work if you use the -resize flag
for loading a file into your array, unless the output of [soundfiler] is
clipped to the number of samples that actually got loaded into the
table...?)


> [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/f186b205/attachment.htm>


More information about the Pd-list mailing list