[PD] integer values

Derek Holzer derek at umatic.nl
Sun Feb 28 15:19:22 CET 2010

You could use a array/table with as many elements as you need sliders, 
and use [int] to quantize them integers.

Most GUI elements give "integers" already, for example a default slider 
gives 0-127. The type is float but the output values are all without a 
decimal, unless you change the size or range of the slider of course, so 
for your purposes you could consider them integers.


volker böhm wrote:
> ok, pd doesn't have an integer type. what do people use, when they need 
> to generate a sequence of integer values?
> i'm looking for a GUI solution with multiple sliders (e.g. like 
> multislider in max) which are quantized to integer values.
> any suggestions?

::: derek holzer ::: http://macumbista.net :::
---Oblique Strategy # 40:
"Decorate, decorate"

More information about the Pd-list mailing list