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!
MultiFader OSC out???
-
- Newbie
- Posts: 18
- Joined: 13 Dec 2011 15:27
- Location: The Netherlands
- Contact:
-
- Newbie
- Posts: 41
- Joined: 08 Dec 2011 16:23
Re: MultiFader OSC out???
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.
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.
-
- Liine Staff
- Posts: 285
- Joined: 01 Oct 2010 11:06
Re: MultiFader OSC out???
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/
http://liine.net/en/community/user-library/view/152/
-
- Newbie
- Posts: 41
- Joined: 08 Dec 2011 16:23
Re: MultiFader OSC out???
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?
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?
-
- Liine Staff
- Posts: 285
- Joined: 01 Oct 2010 11:06
Re: MultiFader OSC out???
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
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
- (971 Bytes) Downloaded 254 times
-
- Newbie
- Posts: 4
- Joined: 18 Jan 2016 13:44
Re: MultiFader OSC out???
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
Thanks