[PD] dynamic sliders

Frank Barknecht fbar at footils.org
Tue Apr 13 16:59:38 CEST 2004


Hallo,
CK hat gesagt: // CK wrote:

> I read:
> > i would like to change some sliders value dynamicaly when i load a sound in.
> > what message or object i should use to do so?
> 
> hmmm [send to-slider] ??
> just set the receive of the slider to to-slider in the properties.

Or do it the traditional way and connect something to the inlet of the
slider? ;)

Seriously now: If you load your samples with soundfiler, then
soundfiler outputs the number of samples in the soundfile to its
outlet. You can use this value to do various things, for example set a
sliders range. Right-click a slider and select help for the full list
of slider operations in the [pd edit] subpatch setting the range is
done with a [range from to( message. 

Ciao
-- 
 Frank Barknecht                               _ ______footils.org__




More information about the Pd-list mailing list