Exponential parameters?


    Apr 11 2006 | 12:38 pm
    Hi,
    Is it possible to make a pp act exponential in the host application?
    For an example look at the cutoff parameter of the standard Logic low pass filter. When you set the slider to half of the range, the displayed value is approximately 650 Hz although the total range is from 20 to 20000 Hz.
    As far as I know it is not possible to make a pluggo plugin act this way. Of course it is possible to scale the value after it is sent from the host application to the plugin, but in that case the displayed value wouldn't match the actual value. Is there a way to work around this?
    Cheers,
    Mattijs
    www.SamplemadnesS.nl

    • Apr 12 2006 | 5:28 am
      audiounits and VST plug-ins also just scale
      from their linear base range ... there is no such
      thing as exponential parameters.
      i would not scale it either btw, it is enough to
      scale from the paramter to the aim, if you do it
      in both directions you add one operation which
      is unneccesary
    • Apr 12 2006 | 12:44 pm
      Thanx for the reply,
      The parameter base range is always 0 to 127 and then scaled (in this case exponentially) to an appropriate value, but my point is that for the cutoff parameter in the logic lowpass filter plugin, the -displayed- value acts exponentionally.
      Can I make a pluggo parameter that -visually- behaves like the logic lowpass filter cutoff parameter?
      Mattijs
    • Apr 12 2006 | 2:04 pm
      sure, just use a numberbox to display the scaled
      numbers which is _not a parameter but just a numberbox.
      but ... are you sure you want to scale a
      pp of range 0 127 ?
      better leave the pp of range 0. 1 , then scale,
      and then multiply with 127 .
      a [pp 0 127] is nothing else but a [pp 0. 1] which
      outputs scaled values of 0 127.
    • Apr 12 2006 | 2:09 pm
      > > Can I make a pluggo parameter that -visually- behaves like the logic lowpass filter cutoff parameter?
      eh, i just noticesd that you evventually meant
      the standard pluggo eggslider interface, right. :)
      there is no scales display options for those.
    • Apr 12 2006 | 6:55 pm
      So if I get it right, the VST standard supports this visual scale (looking at the Logic lowpass filter) but Pluggo doesn't?
    • Apr 13 2006 | 6:31 pm
      Quote: mattijs@samplemadness.nl wrote on Wed, 12 April 2006 12:55
      ----------------------------------------------------
      > So if I get it right, the VST standard supports this visual scale (looking at the Logic lowpass filter) but Pluggo doesn't?
      ----------------------------------------------------
      nah. displaying a number has nothing to do
      with VST or pluggo.
      you can scale numbers and display them in a
      max patch as well as in a plug-in.
      VST (and therefore pluggo) parameters are
      always stored in 32 bit - but you can do with
      those numbers whatever you wish.
      let me try to make an example, to make sure
      we are not talking about 2 different things:
      max v2;
    • Apr 14 2006 | 10:16 am
      Thanks for your example patch. It makes clear that we are indeed talking about different things. I made some efforts to make an example too :) The 2 screenshots I combined in the jpg should make clear what I mean.
      The upper screenshot is a parameter of a logic native plugin (the ClipDist Clip Filter parameter), the lower is my own pluggo. See how they are both automated with a straight line, still the values logic displays are scaled exponentially in the logic plugin and linear in the pluggo plugin.
      Mattijs
      ps. attaching doesn't work for me, is that because I use safari as my browser?
    • Apr 14 2006 | 11:06 am
      Pff, the editor adds a return to the url (doesn't fit somewhere?).. I can't post the url without the space being added in the resulting post, please remove the space after pasting in your browser and before pressing return.
    • Apr 14 2006 | 6:42 pm
      > http://www.oli.tudelft.nl/avdl1064/exponential-scaling-examp le.jpg
      >
      > The upper screenshot is a parameter of a logic native plugin (the ClipDist Clip Filter parameter), the lower is my own pluggo.
      aah yes i see now. :)
      i suppose that is a logic-only thing.
      you can scale it for VST, but not exponentially afaik.
    • Apr 14 2006 | 6:45 pm
      though, when i think about it, there was
      some way to edit the display modes for
      the eggsliders .. i can t remember where
      i saw that, maybe in the plugconfig manual?
      i am interested myself so there is a
      chance i find it out for you ... tomorrow.
    • Apr 15 2006 | 11:05 am
      It would be great if you would find out!