Saving Breakpoint Function Editor in a Preset?


    Mar 13 2006 | 12:17 am
    I am creating a Pluggo Plugin in which I have a break point function object. Which object should I use to have its contents saved as part of a Preset.
    [pp ] does not seem right but neither does [plugmultipram].
    I saw in the PluggoDevGuide 3.5 a section on multislider but it does not seem the same to me.
    Any help would be greatly appreciated.
    Mitch

    • Mar 13 2006 | 11:30 am
      You should be able to do this by binding the
      breakpoint function object to a pattr, and then use a
      hidden number box with a pp, to link the pattr presets
      to the Pluggo parameter storage system.
      I've used this method to save & restore the states of
      a matrixctrl in dial mode in a Pluggo, but it's not
      working 100% yet, ie. the preloaded presets restore
      ok, but you can't save and load your own presets when
      the plug is loaded in a host.
      However, there must be another way to do this, because
      there have been Pluggo's that use the breakpoint
      function generator, that predate the whole pattr thing
      by some time. Anyone at Cycling care to comment?
      cheers
      Roger
    • Mar 13 2006 | 3:12 pm
      One thing you could try is to use plugmultiparam to store a list of
      the breakpoints. The trick though is to use the first element of the
      list to store the number of breakpoints in the list. You can then
      use zl slice etc. to trim things down and work with the breakpoints
      as you wish.
      Hope that helps,
      Tim
    • Mar 16 2006 | 9:12 pm
      Hey, thanks for the ideas. I'll give them a try.
      Mitch