[4.63] making the Wii remote vibrate from Max via OSCulator

jayrope's icon

I am trying to make my Wii remote vibrate upon a certain setting in a Max patch. OSCulator supplies a certain command /vibrate for this, but i can't seem to find how to send this to the Wii.
Max receives the Wii data via OSC, how would i use OSC to tranfer a max command back to teh Wii eventually?

(i can't use aka.wiiremote, as my patch already relies to heavily on OSCulator)

Thank you very much for any hint

jrp

AlexHarker's icon

I don't know which version on OSCulator you have, but I downloaded the latest version recently, and there is a sample OSCulator patch + Max Patch to do this:

OSCulator-2.7.1c/Sample Patches/Wiimote/Cycling '74 Max/Vibro Max.oscd
OSCulator-2.7.1c/Sample Patches/Wiimote/Cycling '74 Max/Vibro Max.pat

If you open both of these, connect the wiimote and toggle the box in max you should get what you want, then you can adapt from there.

Regards,

Alex

jayrope's icon

aaaach, stupid me, thanx for pointing me to this, obviously i have that max patch, too.

ouch.

jrp

jayrope's icon

By the way, Alex: Could you find a way to highlight certain of the 4 LEDs on the lower end of teh Wii from Max?

Just curious.

jrp

AlexHarker's icon

Quote: jayrope wrote on Sun, 04 January 2009 09:34
----------------------------------------------------
> By the way, Alex: Could you find a way to highlight certain of the 4 LEDs on the lower end of teh Wii from Max?

'Fraid not. I've only looked into OSCulator very briefly, but running it now it would seem that the LEDs are reserved for displaying the controller ID (so when there are more controllers than 1 you can tell which is which).

Personally I feel aka.wiiremote offers everything I need, plus it's open source, which may be handy for me.

Is there any particular reason you are dependent on OSCulator? it may be that you could do the same with aka.wiiremote, which obviously allows LED control.

Alex

jayrope's icon

Hmm, no i just bought OSCulator, because it supports perfect pairing and therefore doesn't need to be worried about, when the Wii connected. aka.wiimote never worked reliably here, the connection always dropped.

jrp

jayrope's icon

I just found an entry on the OSCulator site
http://www.osculator.net/bp/topic/11
which shows that generally the application allows to set LEDs via OSC. I will evaluate and eventually come up with a patch later.

jrp