Page 1 of 1

MultiFader OSC out???

Posted: 29 Dec 2011 20:36
by 1000errors
Hello, I am expecting this is a total n00b question but here goes.
When I create a MultiSlider I have no problem using it with midi to send midi out from each slider that makes up the MultiSlider, but I have no idea how to make each slider send a different osc out.
Could someone please please explain to me how I can set each slider within a multislider to send its own osc out? thank in advance to whover may be able to help! :)

Re: MultiFader OSC out???

Posted: 29 Dec 2011 23:37
by peterdines
It sends out an array. You can flatten it out into individual parameters by creating an expression under the multislider called, say, x0 and setting it to the expression x[0], then create x1 with the expression x[1] and so on for each slider. Each one will then get its own OSC address. Maybe there's a way to script this with a for loop, I dunno. Haven't gotten that far yet.

If you're using Reaktor to receive, you can just send the whole array instead, and create an OSC receive module with multiple outputs, one for each element in the array.

Re: MultiFader OSC out???

Posted: 30 Dec 2011 08:45
by nick_liine
You could also check this example which gives you individual messages for each slider/pad/switch:
http://liine.net/en/community/user-library/view/152/

Re: MultiFader OSC out???

Posted: 31 Dec 2011 13:21
by peterdines
That's pretty cool but it doesn't create individual OSC address patterns for each slider, which is what I think the OP is asking for - it still sends out only one address with an index and value - just not the entire array at once.

This sends, for example, /MultiSlider/x 9 0.9847 rather than /MultiSlider/x9 0.9847

Is there a way to construct individual OSC address patterns per slider in a script?

Re: MultiFader OSC out???

Posted: 08 Jan 2012 22:00
by nick_liine
Hi Peter,

It's possible, through scripting and variables, to output /x1, /x2, etc. See the attached example. It is not possible to receive those same OSC messages. To truly do what you ask you'll need string concatenation functions to form custom OSC addresses. We're working on that.

Hope this helps, let me know.

Best regards,
Nick

Re: MultiFader OSC out???

Posted: 03 Aug 2020 10:47
by pepeflores2003
Has this feature of the multislider object been developed with the latest lemur v5.3.5 so it can now send and receive individual osc messages per slider??
Thanks