<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#ffffff" text="#000000">
    Le 22/02/2012 17:51, D G a &eacute;crit&nbsp;:
    <blockquote
cite="mid:CAOkgEr_9_8T1S_qxERc7rctp7c826FyTZ7OmurNkmXv5WAZ7Ug@mail.gmail.com"
      type="cite">Hi guys
      <div><br>
        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?</div>
      <div><br>
      </div>
      <div>IOhannes<br>
        <br>
        how about: normalize all slider ranges between 0..1 and
        transform the<br>
        output to the desired range only afterwards?<br>
        Yes thats what i was trying to avoid. But seems that there is no
        other way.<br>
        <br>
        i always thought, that the MIDI-based default scaling of sliders
        and the<br>
        like was a step back, and that being able to specify the range
        has<br>
        little gain (though of course i use it...)<br>
        <br>
        That could be if seeking to simplify the settings of native gui
        objects in PD.&nbsp;</div>
      <div><br>
      </div>
      <div>
        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.</div>
      <div><br>
      </div>
      <div>back to the "get"... is there a way to doit?</div>
      <div><br>
      </div>
      <div>D<br>
        <br>
        <br>
        <div class="gmail_quote">2012/2/22 IOhannes m zmoelnig <span
            dir="ltr">&lt;<a moz-do-not-send="true"
              href="mailto:zmoelnig@iem.at">zmoelnig@iem.at</a>&gt;</span><br>
          <blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
            0.8ex; border-left: 1px solid rgb(204, 204, 204);
            padding-left: 1ex;">-----BEGIN PGP SIGNED MESSAGE-----<br>
            Hash: SHA1<br>
            <div>
              <div class="h5"><br>
                On 2012-02-21 20:41, D G wrote:<br>
                &gt; Hi List<br>
                &gt; I have been looking but have not found the way to
                ask a slider for the<br>
                &gt; ranges it has been set to.<br>
                &gt;<br>
                &gt; Is there a way to get a slider to print all its
                propperties? This will be<br>
                &gt; useful to create a tool that makes randomness to
                any slider for a<br>
                &gt; percentage depending on the ranges it is already
                set to. I obviously know<br>
                &gt; the ranges, but have a huge number of sliders and
                [knob] objects so it<br>
                &gt; would be painful to try to get them all.<br>
                &gt; Also, if such a method exists, the randomic thing I
                wanna do could be<br>
                &gt; implemented to any object without having to look at
                ist propperties.<br>
                &gt;<br>
                &gt; Would appreciate help or leads to workitout.<br>
                &gt;<br>
                <br>
              </div>
            </div>
            how about: normalize all slider ranges between 0..1 and
            transform the<br>
            output to the desired range only afterwards?<br>
            <br>
            i always thought, that the MIDI-based default scaling of
            sliders and the<br>
            like was a step back, and that being able to specify the
            range has<br>
            little gain (though of course i use it...)<br>
            <br>
            fgm,asdr<br>
            IOhannes<br>
            -----BEGIN PGP SIGNATURE-----<br>
            Version: GnuPG v1.4.11 (GNU/Linux)<br>
            Comment: Using GnuPG with Mozilla - <a
              moz-do-not-send="true" href="http://enigmail.mozdev.org/"
              target="_blank">http://enigmail.mozdev.org/</a><br>
            <br>
iEYEARECAAYFAk9EnSYACgkQkX2Xpv6ydvS7GwCgpO45m+ngMiU9EHd3lLb5W7Pb<br>
            FM8AoOQuzXgGVNP+jz+88rUKCfkiPfSz<br>
            =NnuF<br>
            -----END PGP SIGNATURE-----<br>
            <br>
            <br>
            _______________________________________________<br>
            <a moz-do-not-send="true" href="mailto:Pd-list@iem.at">Pd-list@iem.at</a>
            mailing list<br>
            UNSUBSCRIBE and account-management -&gt; <a
              moz-do-not-send="true"
              href="http://lists.puredata.info/listinfo/pd-list"
              target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
            <br>
          </blockquote>
        </div>
        <br>
      </div>
      <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
<a class="moz-txt-link-abbreviated" href="mailto:Pd-list@iem.at">Pd-list@iem.at</a> mailing list
UNSUBSCRIBE and account-management -&gt; <a class="moz-txt-link-freetext" href="http://lists.puredata.info/listinfo/pd-list">http://lists.puredata.info/listinfo/pd-list</a>
</pre>
    </blockquote>
    Hello,<br>
    <br>
    Here a small patch showing what IOhannes means.<br>
    ++<br>
    <br>
    Jack<br>
    <br>
    <br>
  </body>
</html>