Page 1 of 1
Posted: 15 Apr 2010, 08:13
by Floego
Hi,
I'm trying to build a patch that create simple
note on midi messages in usine from a tuio device (like a tuio multitouch screen). That way, I can virtually connect any tuio device with any vsti/vst using only usine as a bridge. If the patch is developed enough I believe it could be able to send a complex midi message to any midi device from a touch screen. As of today I have a semifunctional basic patch, so any colaboration or help would be appreciated.

Posted: 15 Apr 2010, 19:15
by nay-seven
nice project..
what kind of information do you receive right now..?
have you try use the create inlet of a create midi module..?
Posted: 15 Apr 2010, 20:30
by Floego
Hi,
The main problem (at the moment) seems to do with the way tuio handles the id for each blob and how it kills and creates new ones. Inside Usine I can't find the fseq parameter when using the osc receive module. Maybe I could explain that better, just ask me please.
Posted: 15 Apr 2010, 20:56
by nay-seven
have you look here :
this link
seems to be an array way..? ( profiles and attributes )
Posted: 15 Apr 2010, 21:22
by Floego
Yes, I have read that before.
The profile I have used is /tuio/2Dcur , which owns 3 types of messages per package:
-set, defines the position of each blob at a given time
-alive, tells me what is the id of each one of that blobs
-fseq, helps me to know when I have to reset the set and alive, ie. when a blob is killed or created.
A package may contain a lot of set messages but only one alive and one fseq.
But in usine I have not been able to track the fseq command, that is my main problem. Usine receives the whole package (as seen in the osc terminal) but the "Osc receive" module fails to pick them. Or maybe I am missing something, I don't really know.
Summarizing, I just can't keep a track of multitouch, only one touch at a time. Multitouch gives me wrong parameters (ie. position)
Sorry for being soooo boring with this explanations!!, thank you for reading.
Posted: 15 Apr 2010, 21:45
by nay-seven
and i suppose you have test to put an array behind the osc receive module...?
Posted: 15 Apr 2010, 23:07
by Floego
something like that? or am I missunderstanding?:/

Posted: 15 Apr 2010, 23:42
by nay-seven
ok
sorry if it was obvious..
so maybe you have to use an extract sub array module before you array ?, but I'm not a specialist ..
Posted: 15 Apr 2010, 23:57
by Floego
nay-seven, that could be a nice idea. It is a viable solution only if the fseq part is at the start of the string, because tuio messages are not always the same lenght.
I'll try and tell. thank you.