Difference between revisions of "Fun with Wiimotes"

From CCRMA Wiki
Jump to: navigation, search
(Software Downloads)
 
(2 intermediate revisions by the same user not shown)
Line 11: Line 11:
  
 
[[http://sourceforge.net/projects/wiinstrument/ Wiinstrument]] apparently for Windows XP or Vista, Mac OS X, Linux (haven't tried it)
 
[[http://sourceforge.net/projects/wiinstrument/ 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 [[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.
 +
 +
 +
[[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]].

Latest revision as of 12: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].