Wiimote to MIDI – English version

Wiimote to MIDI – English version

Following a large amount of emails I received, I decided to translate in english my recent post dedicated to the new Nintendo’s toy . Released in December 2006, the last console of the Japanese brand, the Wii, claims to be revolutionary by its new user interface, the Wiimote (hydrid of gamepad, remote control and movements sensor ), which completely changes the manner of playing by putting at contribution the player, who can from now interact more naturaly with the game, rather than simply press buttons.

 

How does it work?
In addition to the traditional buttons, force feedback and the integrated mini-speaker, the true innovation is the presence of a gravity and acceleration sensor (the ADXL330, used in the army or automobile safety, for airbags systems) inside the Wiimote which collects the movements and acceleration of the Wiimote on each of the 3 axis, X, Y et Z.

The good news is that rather than using a proprietary protocol to transmit the infos from the Wiimote to the Wii, and then lock its hardware to keep an exclusive use of it, Nintendo has made the excellent decision (probably by commercial will) to use the Bluetooth protocol, standard of communication on PC and Mac for several years. This means that you can connect your Wiimote to your computer, and  program it rather simply for any use you want.

- – - – - – - – - – - -

In this Post, we will learn how to connect Wiimote to a PC, and how to transform the values received into MIDI signals, to be able to control any VJing software (like Arkaos) or production/live audio (Ableton to mention only one of them).

Requirements:
- A Wiimote, of course (approximately £20/35$, online or at your local  video games shop).
- A Bluetooth Dongle (if your computer doesn’t have Bluetooth already, about £10/15$).
- Bluesoleil (shareware, it usually comes for free with Bluetooth dongles).
- GlovePie (freeware).
- MidiYoke (freeware, required for MIDI).

Connect your Wiimote to your PC:
Once your dongle installed, your Wiimote unpacked and filled with fresh batteries:
1 - Launch Bluesoleil (a grey icon appears in the taskbar, and then becomes blue once once the Bluetooth dongle initialized. Now, double-click on the blue icon to launch the program)
2 - You have to enable the “detection” mode: press simultaneously buttons 1 and 2 of your magic remote (LEDs start to flicker).
In Bluesoleil, start ”device detection” by clicking on the orange sphere in the middle.
3 - Your Wiimote has been detected, and appears as an icon in Bluesoleil, now you must activate the communication: select the wiimote icon (1 click) and then click on  ”HID service“, the mouse icon. if the connection is capricious, you might have to press simultaneously buttons 1 and 2 again,
If all occurs well, you should see a small animation which means a successful connection.

Interpret the signals:
The Wiimote is now connected, and sends its signal to your PC, but it is not being interpreted yet. This is where GlovePie will be helpful, to convert the signals received and return them to your favorites softwares and games.
Indeed, the software developed by Carl Kenner has the role of converting any type of signal (from a mouse, Joystick, a P5 glove) into another signal (MIDI, variables…) using a simple scripting language and/or a GUI.

Now, start GlovePie (version 0.29 to date). By default, the freeware opens on the empty script editor. Fortunately, there are loads of scripts provided with the install: for example, load WiimoteScripts/WiiMouse 0.1.PIE, and click on RUN, and you can now control your mouse cursor with your Wiimote. Also, you have to try Drummerkit, and then you can play “air battery” :)

Midiiiiiii !
So, now it gets exciting.. Everything is now ready, the last thing to do is to install MidiYoke (a virtual MIDI port, which emulates a MIDI device to use like a ”bridge” with your midi softwares) then download and launch this Glovepie script, which will finally enable you to get the Wiimote movements to any software supporting midi.

In the latest version beta0.2, you get the  of  X, Y and Z slope value from your Wiimote, which are converted into  #CC values 30, 31 and 32, variables from 0 to 127, which allows you to scratch a video or to fade it up and down by waving your Wiimote in the air. Also you must test it with Ableton, the results are very surprising, especially on the live effects!

As you can see, the buttons are mapped to “midi notes”, and allows you to launch events very simply. You can also send keyboard events instead, or change midi notes values depending on your needs. The script is now comented in english, and I will keep updating it this way.

It’s still a bit basic, and there are many extra things possible, so the next steps will be to use acceleration sensors, use the sensorbar, and also use the Nunchuk (the second gamepad available), and maybe connect more wiimotes for multi-user interaction…
Don’t hesistate to post links of what you achieved with wiimote2midi, and ask for updates or special requests…

————————–
23/02/07 – beta0.1
Wiimote2midi.pie
————————–

————————–
24/02/07 – beta0.2 (comments in english)
Wiimote2midi.pie
————————–

Here’s a short video demo of VJing with a Wiimote:

Other tutorials:
- Wiimote to Midi (PC).
- Wiimote to Midi (PC) french version.
- Wiimote to Midi: VJing video.
- Wiimote to Midi for Ableton Live (PC).
- Wiimote to Midi: Mac & Linux.

Comments

comments

Powered by Facebook Comments

18 Comments

  • kaffeemaschine vollautomat on Dec 19, 2018

    Wollte Dir einfach mal in diesem Gaestebuch einen Gruss hinterlassen.
    :)

  • kushon on Nov 26, 2018

    Hi and welcome to my blog . I’m Kush Oneill.
    I have always dreamed of being a novelist but never dreamed I’d make a career of it. In college, though, I aided a fellow student who needed help. She could not stop complimenting me . Word got around and someone asked me for writing help just a week later. This time they would compensate me for my work.
    During the summer, I started doing research paper writing for students at the local college. It helped me have fun that summer and even funded some of my college tuition. Today, I still offer my writing skills to students.

    Professional Writer – Kush – //www.mums-school.org/]Mums-school Company

  • online spirituosenhandel on Aug 03, 2018

    Interessante Page. Das Design und die nuetzlichen Infos gefallen mir besonders gut.

  • Mode und Fashion on Jun 08, 2018

    Ich wollte einfach einen netten Gruss da lassen. Bin gerade
    auf eure Websiete gestossen.

  • Agen Baccarat 50000 on Mar 15, 2018

    I am genuinely happy to read this web site posts which carries tons
    of useful data, thanks for providing such data.

  • poker domino qiu qiu on Mar 08, 2018

    Hi there, always i used to check website posts here
    in the early hours in the break of day, since i like to learn more and
    more.

  • health 2 humanity on Mar 07, 2018

    If you haven’t experience Phish live before, which iss a definitive summr concert experience.
    The fabs arre obviously hoping that their teawm arrive at the playoffs along with a great lineup thgere is nothing impossible.

    If there is some sort of expenditure, it would a small amount of dedication and an capacity to capture probably the molst funniest
    moments in one’s life.

  • Oksongs.net on Mar 06, 2018

    This paցe reаlly has all the info I wаnted about tһiѕ subject аnd Ԁidn’t knpw wһo tο ask.

  • driving theory test booking on Mar 05, 2018

    Thаnks for finally writing about >Wiimote to MIDӀ – English verѕion | AntiVJ <Liked it!

  • Toby on Mar 03, 2018

    Fatburner Tabletten – ja odeer nein?

    Künstliche Fatburner sind aus natürlichen und synthetischen Stoffen hergestellte Mixturen, die in Tablettenform, als Pulver oder als Flüssigkeit extra
    zur Nahrung aufgenommen werden. Sie werden zur Unterstützung beeim Reduzieren des Körpergewichtes und iim Rahmen von Bodybuilding verwendet.

    Dann und wann beinhalten sie allerdings Stoffe, deren Abgabe in Deutschland
    rechtlich eingeschränkt ist (z. B. Ephedrin) oder die unerwünschte Nebenwirkungen auslösen. Die unmittelbare beabsichtigte Wirkung von Fatburnern wird von vielen Ärzten und Ernährungsfachleuten bezweifelt.

  • bcm diät on Mar 03, 2018

    Fatburner Tabletten – ja oder nein?

    Künstliche Fatburner sind aus natürlichen und
    synthetischen Stoffen produzierte Mischungen, die in Tablettenform, als Pulver oder als
    Flüssigkeit extrea zur Narung aufgenommen werden. Sie werde zur Unterstützung beim Reduzieren des Körpergewichtes und im Rahmen von Bodybuilding verwendet.
    Ab und zu beiinhalten sie allerdings Stoffe, dereen Abgabe inn Deutschland rechtlich eingeschränkt ist (z.

    B. Ephedrin) oder die unerwünschte Nebenwirkungen auslösen. Diie unmittelbare beabsichtigte Wirkung von Fatburnern wird
    von vielen Ärzten und Ernährungsfachleuten bezweifelt.

  • software download on Jun 24, 2017

    Nette Seite. Vielen Dank.

  • math on Nov 27, 2010

    From the video I can’t tell, Does the wiimote affect the sound playing or just the video? From your post title I got the impression you were going to use the wiimote to actually create music.

  • antonia on Jan 25, 2010

    could you upload the script-file again? unfortunately the url doesn’t work anymore!! thank you very much!

  • niko on Dec 16, 2008

    is there any glove pie script for the numark nuvj? i can get everything running but the wii wont control the midi, midi-ox and glove pie are all working exatly as described, even controling the mouse with the wii works. please help would love to use this soon.

Leave Reply