Page 1 of 1
Posted: 07 Sep 2010, 13:32
by senso
A new approach to create your musical instrument with the implementation of a
Multitouch Gesture Recognition system in Usine.
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.
Posted: 07 Sep 2010, 19:41
by 23fx23
cool!
Posted: 07 Sep 2010, 22:01
by bsork
I don't have a touch-screen, but I tested it with my good old mouse and it worked like a charm!
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?
Posted: 07 Sep 2010, 22:42
by senso
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

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...
Posted: 08 Sep 2010, 00:31
by bsork
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

.
This will come in very handy. Thank you, boss!
Posted: 08 Sep 2010, 00:55
by 23fx23
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!
Posted: 08 Sep 2010, 01:09
by senso
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..
Posted: 08 Sep 2010, 02:03
by 23fx23
great, gonna test that!