Welcome to %s forums

BrainModular Users Forum

Login Register

Multitouch Gesture Recognition System

Announcements
Post Reply
User avatar
senso
Site Admin
Posts: 4424
Location: France
Contact:

Unread post by senso » 07 Sep 2010, 13:32

A new approach to create your musical instrument with the implementation of a Multitouch Gesture Recognition system in Usine.
Image

The basic idea is to memorize mouse, fingers, wiimote, etc, movements and trig actions when they are recognized.

See the demonstration video and the Wiki page for more informations.

Thanks to Nay-Seven for his help.


bsork
Site Admin
Posts: 1334
Location: Asker, Norway
Contact:

Unread post by bsork » 07 Sep 2010, 22:01

I don't have a touch-screen, but I tested it with my good old mouse and it worked like a charm! :cool:

I had a quick look at the script (of course...) but this one will take quite some time to understand. If I ever will, that is.

I noticed, however, that arrX and arrY where defined as tParameter, but with neither input nor output, and also as invisible. Is this a way of using the new feature where array values are stored with the patch even when the variables seem to be "internal" to the script?
Bjørn S

User avatar
senso
Site Admin
Posts: 4424
Location: France
Contact:

Unread post by senso » 07 Sep 2010, 22:42

yes you're understood everything!

If you "expand" the module the arrX and Y are visible.

I use the instruction set

Code: Select all

SetIsInput(arrX,false);
SetIsOutput(arrX,false);
SetVisible(arrX,false);
The main idea is to create array's which are stored automatically in the patch (new feature since the beta 8)
So gestures are memorized without any additional code.Tricky but cool...

Also it becomes easier to debug because we can watch inside array's with an array editor module.

I confirm, this script is not so easy...

bsork
Site Admin
Posts: 1334
Location: Asker, Norway
Contact:

Unread post by bsork » 08 Sep 2010, 00:31

Cool!

Silly me, I didn't think of expanding the module. Of course, the parameters don't miss inputs or outputs, they're just a bit shy and like to play hide'n'seek :P.

This will come in very handy. Thank you, boss!
Bjørn S

23fx23
Member
Posts: 2545
Contact:

Unread post by 23fx23 » 08 Sep 2010, 00:55

of yeah that's cool i always put some array out back in to save them, no that mean no need of that now?
would that work with pm also?
that's very exciting to use gesture detection.
on multitouch, wow that seems powerfull to call functions!

User avatar
senso
Site Admin
Posts: 4424
Location: France
Contact:

Unread post by senso » 08 Sep 2010, 01:09

of yeah that's cool i always put some array out back in to save them, no that mean no need of that now?
all array's in scripts are stored automatically by default. son you don't need to store them in an external array module.
would that work with pm also?
what do you mean by pm ? If it's preset manager, normally yes it should..

23fx23
Member
Posts: 2545
Contact:

Unread post by 23fx23 » 08 Sep 2010, 02:03

great, gonna test that!

Post Reply

Who is online

Users browsing this forum: No registered users and 13 guests