vimix icon indicating copy to clipboard operation
vimix copied to clipboard

Separate commands for xy OSC inputs

Open aquaresima opened this issue 3 years ago • 2 comments

Hello,

I am new to Vimix, VJ, OSC and everything. But the simplicity with which I could set it up is impressive and for this I am thankful, and I would like to keep playing.

One feature I would like is to separate the position OSC controller - and all those that have ff inputs to independent values: /vimix/current/position ff 0.1 0.2 ->

/vimix/current/positionx f 0.1
/vimix/current/positiony f 0.2 

Indeed, it seemed to me, that many free OSC controller for Android do not support the double value format. /vimix/xycommand ff 0.1 0.2

Would that be possible? Is it any workaround for my free OSC App otherwise?

Thanks a lot, Ale

aquaresima avatar Oct 12 '22 18:10 aquaresima

The correct way to do this with OSC is to use the 'NIL' value type. When sending a pair of floats in OSC, the list of arguments is ff and followed by two values; if one f is replaced by N, no value is expected at this place. Your example would then be:

/vimix/current/position fN 0.1
/vimix/current/position Nf 0.1

Documentation was updated accordingly.

This is now available in source code 5a6daf79b6f24d3df936c48439336d4c23e00a6a and will soon be packaged.

brunoherbelin avatar Oct 13 '22 16:10 brunoherbelin

Of note: you may also find ways to adapt to the OSC messages sent by an Android app using the OSC translation in vimix.

brunoherbelin avatar Oct 13 '22 16:10 brunoherbelin

Thank you for confirming if this issue was resolved.

brunoherbelin avatar Feb 17 '23 13:02 brunoherbelin