Hi guys

Hey Jonathan your patch was very nice, but the get method did not work for me. I had already tried it before writing to the list. Is there a real way to work this out?

IOhannes

how about: normalize all slider ranges between 0..1 and transform the
output to the desired range only afterwards?
Yes thats what i was trying to avoid. But seems that there is no other way.

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...)

That could be if seeking to simplify the settings of native gui objects in PD. 

I agree with you on the MIDI based default... normalized could be simpler. Also easier to explain to a person that is just starting to learn PD. Sometimes when they ask "why is the range set to 127" you end up with a long talk about MIDI to a person that is getting started and wants to get his first sound out of PD.

back to the "get"... is there a way to doit?

D


2012/2/22 IOhannes m zmoelnig <zmoelnig@iem.at>
-----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-----


_______________________________________________
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list