MultiFader OSC out???

Discuss Lemur and share techniques.
Post Reply
1000errors
Newbie
Posts:18
Joined:13 Dec 2011 15:27
Location:The Netherlands
Contact:
MultiFader OSC out???

Post by 1000errors » 29 Dec 2011 20:36

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! :)

peterdines
Newbie
Posts:42
Joined:08 Dec 2011 16:23

Re: MultiFader OSC out???

Post by peterdines » 29 Dec 2011 23:37

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.

nick_liine
Liine Staff
Posts:340
Joined:01 Oct 2010 11:06

Re: MultiFader OSC out???

Post by nick_liine » 30 Dec 2011 08:45

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/

peterdines
Newbie
Posts:42
Joined:08 Dec 2011 16:23

Re: MultiFader OSC out???

Post by peterdines » 31 Dec 2011 13:21

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?

nick_liine
Liine Staff
Posts:340
Joined:01 Oct 2010 11:06

Re: MultiFader OSC out???

Post by nick_liine » 08 Jan 2012 22:00

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
Attachments
x1_x2_etc.jzml.zip
(971Bytes)Downloaded 548 times

pepeflores2003
Newbie
Posts:4
Joined:18 Jan 2016 13:44

Re: MultiFader OSC out???

Post by pepeflores2003 » 03 Aug 2020 10:47

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

Post Reply