-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 2012-02-21 20:41, D G wrote: > Hi List > I have been looking but have not found the way to ask a slider for the > ranges it has been set to. > > Is there a way to get a slider to print all its propperties? This will be > useful to create a tool that makes randomness to any slider for a > percentage depending on the ranges it is already set to. I obviously know > the ranges, but have a huge number of sliders and [knob] objects so it > would be painful to try to get them all. > Also, if such a method exists, the randomic thing I wanna do could be > implemented to any object without having to look at ist propperties. > > Would appreciate help or leads to workitout. >
how about: normalize all slider ranges between 0..1 and transform the output to the desired range only afterwards? i always thought, that the MIDI-based default scaling of sliders and the like was a step back, and that being able to specify the range has little gain (though of course i use it...) fgm,asdr IOhannes -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk9EnSYACgkQkX2Xpv6ydvS7GwCgpO45m+ngMiU9EHd3lLb5W7Pb FM8AoOQuzXgGVNP+jz+88rUKCfkiPfSz =NnuF -----END PGP SIGNATURE-----
smime.p7s
Description: S/MIME Cryptographic Signature
_______________________________________________ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list