Difference between revisions of "Fun with Wiimotes"
(→Software Downloads) |
(→Example using Darwiin Remote) |
||
Line 16: | Line 16: | ||
(flow diagram here) | (flow diagram here) | ||
− | + | Data from the Wiimote is broadcast using [[http://en.wikipedia.org/wiki/Bluetooth Bluetooth]]. | |
+ | |||
+ | On our computer, we use a program that receives the Bluetooth packets and interprets them. In this example, we are using Darwiin Remote. | ||
+ | |||
+ | |||
+ | Darwiin Remote broadcasts the data it receives using [[http://en.wikipedia.org/wiki/Open_Sound_Control OpenSoundControl]] (OSC) message over [[http://en.wikipedia.org/wiki/User_Datagram_Protocol UDP]]. By default it broadcasts on localhost (127.0.0.1) on port 5600; these settings can be changed in Preferences. | ||
+ | |||
+ | In Max, we can receive the UDP/OSC messages, and route them to unpack the data. (You'll need to [[http://cnmat.berkeley.edu/downloads#OpenSoundControl download]] the OpenSoundControl and OSC-route objects from CNMAT to make this work). The sample patch for this is [[http://ccrma.stanford.edu/courses/250a/workshop/wiimote_client.maxpat here]]. |
Revision as of 13:12, 25 June 2009
Nice little piece from emusician.com on Making Music with Nintendo's Wiimote: [link]
Software Downloads
[aka.wiimote] provides a Max patch for Macs
[Darwiin Remote] provides a Mac interface that sends received packets out via OSC
[WiinRemote] is for Windows (haven't tried it)
[Wiinstrument] apparently for Windows XP or Vista, Mac OS X, Linux (haven't tried it)
Example using Darwiin Remote
(flow diagram here)
Data from the Wiimote is broadcast using [Bluetooth].
On our computer, we use a program that receives the Bluetooth packets and interprets them. In this example, we are using Darwiin Remote.
Darwiin Remote broadcasts the data it receives using [OpenSoundControl] (OSC) message over [UDP]. By default it broadcasts on localhost (127.0.0.1) on port 5600; these settings can be changed in Preferences.
In Max, we can receive the UDP/OSC messages, and route them to unpack the data. (You'll need to [download] the OpenSoundControl and OSC-route objects from CNMAT to make this work). The sample patch for this is [here].