aka.wiiremote IR workaround for OS X

Dec 3, 2007 at 8:23pm

aka.wiiremote IR workaround for OS X

for others not able to get IR data working with the aka.wiiremote
object:

in order to get around the limitations of the [aka.wiiremote] object
not being able to track IR on a G4 laptop
I DL’d and set up OSCulator (OS X only)

http://www.osculator.net/wiki/Main/Download

the OSCulator app sends data on port 8000 (default)
which I pick up with:

[udpreceive 8000]->[OpenSoundControl]->[strtok /]->[sprintf]

I’m still working on building out the patch to massage the list data
but this has been slow-going since being on the road and busy with
other non-Max programming projects for most of this year has left my
Max skills somewhat rusted

so I’m still poking at the sprintf object trying to format incoming
string data

**[BTW: it would SO handy if someone would put together a
comprehensive .help file and/or a rigorous online tutorial for the
sprintf object]

but I’ve done some preliminary testing using two candles and a wii
remote
controlling a pictslider knob with IR data
and it seems to work well

hope this helps someone

Cheers!
KIM

#34874
Dec 4, 2007 at 12:22am

Quote: Kim Cascone wrote on Mon, 03 December 2007 21:23
—————————————————-
> hope this helps someone
>

ME!!!! thank’s!

L

#118230
Dec 4, 2007 at 1:14am

>
> **[BTW: it would SO handy if someone would put together a
> comprehensive .help file and/or a rigorous online tutorial for the
> sprintf object]
>

Download the CNMAT Max/MSP/Jitter Depot here:

http://www.cnmat.berkeley.edu/MAX/downloads/

And look for “expr+sprintf-horrible-truth.pat” and “sprintf-tutor.mxb”. They are both in /mmjdepot/tutors/. That’s most of what I know about sprintf. Please make suggestions for improvements.

mz

#118231
Dec 4, 2007 at 3:09am

On Dec 3, 2007, at 12:23 PM, Kim Cascone wrote:

> *[BTW: it would SO handy if someone would put together a
> comprehensive .help file and/or a rigorous online tutorial for the
> sprintf object]
>

Have you looked at the sprintf man page?

man sprintf
(Use termianl)

esc-v / ctrl-v / q for pg up/down / quit

#118232

You must be logged in to reply to this topic.