Difference between revisions of "Fun with Wiimotes"
(→Example using Darwiin Remote) |
|||
Line 21: | Line 21: | ||
− | 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. | + | [[http://code.google.com/p/darwiinosc/ Darwiin Remote OSC]] 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]]. | 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]]. |
Latest revision as of 11:38, 20 August 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 OSC] 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].