list to multislider issue

    Apr 02 2014 | 7:05 am
    Hi there,
    I'm trying to output the list created from tracking in the camera to a multislider. Keep getting an error - multislider: Slider 0 Out of Range.
    also sliders don't seem to behave as the list should dictate, Another issue is that the list has numbers up o 254 when the window is only 320x240.
    so, a few issues from my novice attempt to translate tracking data into a list and multislider. I want to control the gain controls on a noise filter.
    any help appreciated

    • Apr 02 2014 | 5:01 pm
      The 'set' message behaves differently from what you seem to expect. When in doubt, take a look at the Friendly Reference Manual.
      The long answer is to send the output from jit.spill straight into the multislider's left inlet. You can then safely lose the [prepend], [button], and message box. A [t b l] object would have been cleaner than the first two items, anyway.
    • Apr 02 2014 | 7:51 pm
      use set if you want to setup the value of one slider with a two elements list (index, value). use a long list (no "set" message prepended) if you want to setup the values of all the sliders in once, multislider considers the list has a list of value, the first element for the first slider, the second element for the second slider and so on. and also, multislider is counting from 1, not 0.
    • Apr 02 2014 | 10:07 pm
      thanks guys, really appreciate it, didn't quite understand from help/reference