Finger tracking / wii / MaxMSP

Jan 31, 2008 at 2:51pm

Finger tracking / wii / MaxMSP

Hey everyone,

So I watched this youtube video the other day:

http://youtube.com/watch?v=0awjPUkBXOU

In the video he uses C# programming as a means of tracking his finger on the screen. Is it possible to do something like this utilizing Max/Jitter software with the Infrared LED light?

HELP!! :-(

#35595
Jan 31, 2008 at 5:52pm

The first step for using a wiimote with Max is Akamatsu’s
aka.wiiremoteexternal, though I’m not sure how it would work with
Johnny Chung Lee’s
method.

Have a look for OSCulator, I believe that may be of help in getting data
to/from the wiimote and Max MSP

On 31/01/2008, Roxanna Allen wrote:
>
>
> Hey everyone,
>
> So I watched this youtube video the other day:
>
> http://youtube.com/watch?v=0awjPUkBXOU
>
> In the video he uses C# programming as a means of tracking his finger on
> the screen. Is it possible to do something like this utilizing Max/Jitter
> software with the Infrared LED light?
>
> HELP!! :-(
>

#121477
Jan 31, 2008 at 6:21pm

Well…I have the wii remote external…I have set up my bluetooth with my wii remote…and I have everything working in Max/Jitter. It was just a thought I had while sitting here bored at work, if there was a possibility of using the IR LEDs and reflective tape on my fingers with another kind of programming such as Max…as opposed to C# stuff…I guess I’ll just test it out when I go home. Just wanted to see if anyone else has tried it…

What exactly does the Osculator do? If the wii remote external is already set up…what extra would the osculator add to the equation?

-confused student :-(

#121478
Jan 31, 2008 at 6:41pm

yes
I am on a G4 laptop so the aka.wiiremote object doesn’t work
but I have been using OSCulator with four IR sources
my next project is to mod two LED flashlights with IR LED’s
and use four pieces of reflective tape
for tracking a dancers movements
OSCulator works very nicely and is easy to set up and use
http://www.osculator.net/wiki/
check it out

On Jan 31, 2008, at 6:51 AM, Roxanna Allen wrote:

>
> Hey everyone,
>
> So I watched this youtube video the other day:
>
> http://youtube.com/watch?v=0awjPUkBXOU
>
> In the video he uses C# programming as a means of tracking his
> finger on the screen. Is it possible to do something like this
> utilizing Max/Jitter software with the Infrared LED light?
>
> HELP!! :-(

#121479
Jan 31, 2008 at 7:19pm

Thank you so much! I’m working on a similar project…Originally I started out using physical computing, but was bored to tears..then I realized there was this whole new world of wii with Max/Jitter technology out there..and now the osculator!

Thanks again
Happy student :-)

#121480
Jan 31, 2008 at 11:23pm

late reply from forum debutante

I have just built a simple IR LED panel and got wiimote position data quite accurately from MAX/MSP via the tk.wii external(on PC obviously). The LEDs should number at least 15, the reflective tape should be highly reflective; I found that aluminum tape or other shiny surfaces just don’t work well enough. But a simple ‘pointer/tracker’ type IR camera system works just as well (but will only track one dot i think)
Brendan

#121481
Feb 1, 2008 at 1:09am

Hi,

You can get the position and size of four IR sources.
Send ‘extraoutput 1′ to aka.wiiremote (1.0B7) and see ‘others’ subpatch.

Thank you.
Masayuki

On 2008/01/31, at 23:51, Roxanna Allen wrote:

>
> Hey everyone,
>
> So I watched this youtube video the other day:
>
> http://youtube.com/watch?v=0awjPUkBXOU
>
> In the video he uses C# programming as a means of tracking his
> finger on the screen. Is it possible to do something like this
> utilizing Max/Jitter software with the Infrared LED light?
>
> HELP!! :-(
>

#121482
Feb 5, 2008 at 4:46pm

Hi…

Thanks so much for refering me to the osculator…So I was introduced to Ableton Live. I figured out how to control Ableton Live with my wii remote via the Osculator….as well as Max/MSP

Problem is I can’t get my finger to track so that I can control sound. I have an IR LED array and reflective tape to reflect back the infrared light from the wii remote in order to control what was on the screen…

I have selected “Raw IR” & “IR on the osculator, I have also made sure in preferences in ableton live that the track & remote is on,….but I guess I’m not sure what the event type & value should be for the LEDs x, y…If this makes sense to anyone PLEASE HELP!

#121483
Feb 5, 2008 at 8:12pm

On Feb 5, 2008, at 8:46 AM, Roxanna Allen wrote:
>
>
> I have selected “Raw IR” & “IR on the osculator, I have also made
> sure in preferences in ableton live that the track & remote is
> on,….but I guess I’m not sure what the event type & value should
> be for the LEDs x, y…If this makes sense to anyone PLEASE HELP!
you only need select the ‘RAW IR’ box since you are tracking ~4
individual IR sources and not triangulating the wii remote

next you should select MIDI CC from the Events pull down when you are
setting up your OSCulator file

then set up the Value to be the CC# you want to send the data as
send each xys1 – xys4 on a different CC#

then set up the MIDI channel(s) you want to send on

then set up LIVE to accept the CC#’s you are sending from OSCulator
and map them to what you want to control in LIVE
hope this helps!
:)

#121484
Feb 5, 2008 at 10:00pm

I tried to recompiled a extension that I had been using under 10.4.xx
and got this error

In file included from /Applications/MaxMSP 4.6/MaxMSP-SDK/c74support/
msp-includes/z_dsp.h:14,
/Applications/MaxMSP 4.6/MaxMSP-SDK/c74support/msp-includes/
z_altivec.h:13: error: syntax error before ‘vector’
/Applications/MaxMSP 4.6/MaxMSP-SDK/c74support/msp-includes/
z_altivec.h:13: warning: no semicolon at end of struct or union
/Applications/MaxMSP 4.6/MaxMSP-SDK/c74support/msp-includes/
z_altivec.h:14: warning: type defaults to ‘int’ in declaration of
‘floatToVector’
/Applications/MaxMSP 4.6/MaxMSP-SDK/c74support/msp-includes/
z_altivec.h:14: warning: data definition has no type or storage class
/Applications/MaxMSP 4.6/MaxMSP-SDK/c74support/msp-includes/
z_altivec.h:16: error: syntax error before ‘__vsf_temp’
/Applications/MaxMSP 4.6/MaxMSP-SDK/c74support/msp-includes/
z_altivec.h:16: warning: type defaults to ‘int’ in declaration of
‘__vsf_temp’
/Applications/MaxMSP 4.6/MaxMSP-SDK/c74support/msp-includes/
z_altivec.h:16: warning: data definition has no type or storage class

M

On Feb 5, 2008, at 3:12 PM, Kim Cascone wrote:

>
>
> On Feb 5, 2008, at 8:46 AM, Roxanna Allen wrote:
>>
>>
>> I have selected “Raw IR” & “IR on the osculator, I have also made
>> sure in preferences in ableton live that the track & remote is
>> on,….but I guess I’m not sure what the event type & value should
>> be for the LEDs x, y…If this makes sense to anyone PLEASE HELP!
> you only need select the ‘RAW IR’ box since you are tracking ~4
> individual IR sources and not triangulating the wii remote
>
> next you should select MIDI CC from the Events pull down when you
> are setting up your OSCulator file
>
> then set up the Value to be the CC# you want to send the data as
> send each xys1 – xys4 on a different CC#
>
> then set up the MIDI channel(s) you want to send on
>
> then set up LIVE to accept the CC#’s you are sending from OSCulator
> and map them to what you want to control in LIVE
> hope this helps!
> :)
>

#121485
Feb 7, 2008 at 4:28pm

DP 2.7 G5 MacOSX 10.5.1
MaxMSP 4.6.1

SDK 4.6

On Feb 5, 2008, at 5:00 PM, michael ferraro wrote:

I tried to recompiled a external that I have been using under 10.4.xx
and got this error

In file included from /Applications/MaxMSP 4.6/MaxMSP-SDK/c74support/
msp-includes/z_dsp.h:14,
/Applications/MaxMSP 4.6/MaxMSP-SDK/c74support/msp-includes/
z_altivec.h:13: error: syntax error before ‘vector’
/Applications/MaxMSP 4.6/MaxMSP-SDK/c74support/msp-includes/
z_altivec.h:13: warning: no semicolon at end of struct or union
/Applications/MaxMSP 4.6/MaxMSP-SDK/c74support/msp-includes/
z_altivec.h:14: warning: type defaults to ‘int’ in declaration of
‘floatToVector’
/Applications/MaxMSP 4.6/MaxMSP-SDK/c74support/msp-includes/
z_altivec.h:14: warning: data definition has no type or storage class
/Applications/MaxMSP 4.6/MaxMSP-SDK/c74support/msp-includes/
z_altivec.h:16: error: syntax error before ‘__vsf_temp’
/Applications/MaxMSP 4.6/MaxMSP-SDK/c74support/msp-includes/
z_altivec.h:16: warning: type defaults to ‘int’ in declaration of
‘__vsf_temp’
/Applications/MaxMSP 4.6/MaxMSP-SDK/c74support/msp-includes/
z_altivec.h:16: warning: data definition has no type or storage class

M
>

#121486
Feb 7, 2008 at 4:42pm

Hi Michael,

You might want to move this discussion to the Dev forum, but
regardless, take a look at this thread. I think Cycling has to
update the SDK somehow for 10.5….

http://www.cycling74.com/forums/index.php?t=msg&goto=125828

Dan

At 11:28 AM -0500 2/7/08, michael ferraro wrote:
>DP 2.7 G5 MacOSX 10.5.1
>MaxMSP 4.6.1
>
>SDK 4.6
>
>
>On Feb 5, 2008, at 5:00 PM, michael ferraro wrote:
>
>I tried to recompiled a external that I have been using under 10.4.xx
>and got this error
>
>
>
>
>In file included from /Applications/MaxMSP
>4.6/MaxMSP-SDK/c74support/msp-includes/z_dsp.h:14,
> /Applications/MaxMSP
>4.6/MaxMSP-SDK/c74support/msp-includes/z_altivec.h:13: error: syntax
>error before ‘vector’
> /Applications/MaxMSP
>4.6/MaxMSP-SDK/c74support/msp-includes/z_altivec.h:13: warning: no
>semicolon at end of struct or union
> /Applications/MaxMSP
>4.6/MaxMSP-SDK/c74support/msp-includes/z_altivec.h:14: warning: type
>defaults to ‘int’ in declaration of ‘floatToVector’
> /Applications/MaxMSP
>4.6/MaxMSP-SDK/c74support/msp-includes/z_altivec.h:14: warning: data
>definition has no type or storage class
> /Applications/MaxMSP
>4.6/MaxMSP-SDK/c74support/msp-includes/z_altivec.h:16: error: syntax
>error before ‘__vsf_temp’
> /Applications/MaxMSP
>4.6/MaxMSP-SDK/c74support/msp-includes/z_altivec.h:16: warning: type
>defaults to ‘int’ in declaration of ‘__vsf_temp’
> /Applications/MaxMSP
>4.6/MaxMSP-SDK/c74support/msp-includes/z_altivec.h:16: warning: data
>definition has no type or storage class
>
>
>M
>>


Dan Nigrin
Defective Records
202 Hack / PC-1600 User / VSTi Host / OMS Convert / Jack OS X / Major
Malfunction
http://www.defectiverecords.com

http://www.jackosx.com

#121487
Feb 10, 2008 at 9:43pm

Sorry I should have realize that
thanks for the lead

M

On Feb 7, 2008, at 11:42 AM, Dan Nigrin wrote:

> Hi Michael,
>
> You might want to move this discussion to the Dev forum, but
> regardless, take a look at this thread. I think Cycling has to
> update the SDK somehow for 10.5….
>
> http://www.cycling74.com/forums/index.php?t=msg&goto=125828
>
> Dan
>
> At 11:28 AM -0500 2/7/08, michael ferraro wrote:
>> DP 2.7 G5 MacOSX 10.5.1
>> MaxMSP 4.6.1
>>
>> SDK 4.6
>>
>>
>> On Feb 5, 2008, at 5:00 PM, michael ferraro wrote:
>>
>> I tried to recompiled a external that I have been using under 10.4.xx
>> and got this error
>>
>>
>>
>>
>> In file included from /Applications/MaxMSP 4.6/MaxMSP-SDK/
>> c74support/msp-includes/z_dsp.h:14,
>> /Applications/MaxMSP 4.6/MaxMSP-SDK/c74support/msp-includes/
>> z_altivec.h:13: error: syntax error before ‘vector’
>> /Applications/MaxMSP 4.6/MaxMSP-SDK/c74support/msp-includes/
>> z_altivec.h:13: warning: no semicolon at end of struct or union
>> /Applications/MaxMSP 4.6/MaxMSP-SDK/c74support/msp-includes/
>> z_altivec.h:14: warning: type defaults to ‘int’ in declaration of
>> ‘floatToVector’
>> /Applications/MaxMSP 4.6/MaxMSP-SDK/c74support/msp-includes/
>> z_altivec.h:14: warning: data definition has no type or storage class
>> /Applications/MaxMSP 4.6/MaxMSP-SDK/c74support/msp-includes/
>> z_altivec.h:16: error: syntax error before ‘__vsf_temp’
>> /Applications/MaxMSP 4.6/MaxMSP-SDK/c74support/msp-includes/
>> z_altivec.h:16: warning: type defaults to ‘int’ in declaration of
>> ‘__vsf_temp’
>> /Applications/MaxMSP 4.6/MaxMSP-SDK/c74support/msp-includes/
>> z_altivec.h:16: warning: data definition has no type or storage class
>>
>>
>> M
>>>
>
>
> —
> Dan Nigrin
> Defective Records
> 202 Hack / PC-1600 User / VSTi Host / OMS Convert / Jack OS X /
> Major Malfunction
> http://www.defectiverecords.com
> http://www.jackosx.com
>

#121488

You must be logged in to reply to this topic.