Welcome to %s forums

BrainModular Users Forum

Login Register

help building a patch

I need help on a Patch
Post Reply
Floego
Member
Posts: 319
Location: Venezuela
Contact:

Unread post by Floego » 15 Apr 2010, 08:13

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

User avatar
nay-seven
Site Admin
Posts: 5684
Location: rennes France
Contact:

Unread post by nay-seven » 15 Apr 2010, 19:15

nice project..
what kind of information do you receive right now..?
have you try use the create inlet of a create midi module..?

Floego
Member
Posts: 319
Location: Venezuela
Contact:

Unread post by Floego » 15 Apr 2010, 20:30

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.

User avatar
nay-seven
Site Admin
Posts: 5684
Location: rennes France
Contact:

Unread post by nay-seven » 15 Apr 2010, 20:56

have you look here :
this link
seems to be an array way..? ( profiles and attributes )

Floego
Member
Posts: 319
Location: Venezuela
Contact:

Unread post by Floego » 15 Apr 2010, 21:22

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.

User avatar
nay-seven
Site Admin
Posts: 5684
Location: rennes France
Contact:

Unread post by nay-seven » 15 Apr 2010, 21:45

and i suppose you have test to put an array behind the osc receive module...?

Floego
Member
Posts: 319
Location: Venezuela
Contact:

Unread post by Floego » 15 Apr 2010, 23:07

something like that? or am I missunderstanding?:/

Image

User avatar
nay-seven
Site Admin
Posts: 5684
Location: rennes France
Contact:

Unread post by nay-seven » 15 Apr 2010, 23:42

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 ..

Floego
Member
Posts: 319
Location: Venezuela
Contact:

Unread post by Floego » 15 Apr 2010, 23:57

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.

Post Reply

Who is online

Users browsing this forum: No registered users and 29 guests