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

30 Comments

  • air conditioner repair on Mar 12, 2024

    If you’re looking for the best HVAC contractor in Santa Fe, look
    no further than SouthCoast Heat & Air. Their team of
    expert professionals offers superior services for your
    air conditioning and heating systems. Their extensive experience ensures that every job,
    big or small, is handled with the utmost care and expertise.
    They also prioritize customer satisfaction by offering free estimates and
    maintaining honest, affordable prices. For top-notch HVAC services in Santa Fe and the
    Greater Galveston County, SouthCoast Heat & Air is the go-to
    choice. Call them today at (281) 519-0064 to schedule an appointment.

  • букеты омск on Feb 11, 2024

    Заказал потрясающий букет на “Цветов.ру” для свидания с девушкой.
    Цветы сразу создали атмосферу
    волшебства, а ее улыбка стала самым ценным моментом вечера.
    Рекомендую “Цветов.ру” для создания моментов, которые запомнятся
    на всю жизнь.

  • absorkada on Nov 20, 2023

    como depositar en paypal https://blur-nft-marketplace.org/

  • Farmacia Tei Reduslim on Sep 21, 2023

    Reduslim este un excelent instrument de pierdere în greutate,
    un inhibitor al apetitului, un arzător de grăsimi, un stimulent de rezistență și un sărăcător
    de energie, toate în același timp. Nu ezitați, cumpărați
    acum Reduslim și transformați-vă complet viața prin pierderea în greutate
    și menținerea sănătății și bunăstării dumneavoastră
    justin timp și fără efort. Alege Reduslim și
    vei obține rezultatele dorite într-un timp record!
    Cu ingrediente atent selecționate, produsul pretinde că poate contribui la obținerea unei siluete dorite fără a recurge la metode agresive sau nesănătoase.
    Aceasta este singura modalitate de a garanta că primiți produsul
    real, și nu o imitație. Produsul este incredibil de ușor de luat și m-a ajutat cu siguranță să îmi
    reduc celulita. Cu o compoziție naturală și efecte
    benefice pentru sănătate, Farmacia Tei Reduslim poate fi o alegere bună pentru persoanele care doresc să slăbească în siguranță și să-și îmbunătățească
    starea de sănătate. Acesta poate fi utilizat în orice dietă și poate fi combinat cu sport și fitness pentru a obține cele mai bune rezultate.
    Aceștia au început să useze de acest supliment alimentar ca o parte importantă din rutina lor zilnică, cu
    rezultate pozitive. Reduslim este un supliment natural de pierdere în greutate care a
    câștigat popularitate datorită numeroaselor sale avantaje.

    Cu Black Latte pierzi in greutate fara disconfort si nu creeaza stres organismului.
    De asemenea, toxinele din organism sunt curățate pentru a asigura sănătatea generală
    a organismului. Contraindicatii asemenea, Asami merită
    o încercare. O oferta de nerefuzat este CADOU NOKIA
    Lumia 532 Blackla laptopurile HP din promotie!
    Nu pot sa nu mentionez inca o oferta de nerefuzat pe site-ul eMAG -este
    vorba de CADOU NOKIA Lumia 532 Blackla laptopurile HP din promotie!
    Toate sunt mai ieftine, iata si preturile in promotie!
    Iata o scurta lista cu ofertele atractive ale sfarsitului de saptamana!
    Pe lista celor mai bogate ţări ale lumii, actualizată ultima oară în anul 2021,
    Germania se află pe locul 20. Clasamentul a fost întocmit în baza Produsului Intern Brut (PIB) al ţărilor, împărţit pe cap
    de locuitor. Comanda a fost dusă de repede.
    Elefant are reduceri mari la toate produsele de pe site, intr-o campanie de
    reduceri interesanta in care toti utilizatorii site-ului beneficiaza de facilitati ca angajatii Elefant.

    O alta oferta interesanta este un TOP 7 QuickMobile al celor mai bune si fiabile telefoane mobile smartphone!

    OFERTA HOT: Cit Grup, ofera o Imprimanta LaserJet monocrom A4 HP P2015, 2 ani garantie cu livrare gratuita.
    OFERTA HOT: Flanco Discount Days cu laptopuri unu si unu si 2in1!

    Poti alege modele din cele mai noi colectii de primavera-vara,
    cu SUPER DISCOUNT. Fashion Up prezinta noile reduceri
    la cele mai atractive modele de pantofi femei, modele mai ieftine cu pana
    la -50%. La QuickMobile am gasit urmatoarele modele de telefoane la preturi bune, as putea
    scrie ieftine! Una dintre cele mai ieftine și mai
    avantajoase, dar și de o calitate foarte bună este tableta Wink Connect 3G dotată cu procesor Cortex A7 Quad Core de
    1.3 Ghz și display de 7 inch, IPS. Am selectat cele mai bune si ieftine
    articole aici. Fiind aproape Craciunul, Mos Nicolae multi cumparatori cauta idei de
    cadouri si pregatesc cadouri ieftine online pentru cei dragi lor.
    La eMAG se pregateste, sunt sigur, o campanie pentru cadouri pentru
    copii cu ocazia 1 Iunie. Desigur, pe cel mai mare retaier online,
    pe site-ul eMAG! O mare oportunitate de a pierde în greutate cu ușurință, curăță totul și grăsimile dispar!
    Comparativ cu Reduslim, efectele asupra scăderii în greutate sunt mult mai reduse.

    Absorbtia grasimii corporale are loc treptat si, prin urmare, excesul de greutate nu revine dupa terminarea tratamentului.
    MAG, ultima zi de super reduceri dupa care puteti castiga un BMW Z4.
    Dupa cum puteti vedea, toate aceste ingrediente sunt total naturale!
    Toate acestea se datoreaza elementelor naturale care alcatuiesc acest produs.
    Chiar dacă extractele naturale sunt din plante și
    surse care nu prea sunt cunoscute ca surse de alergeni, pot exista cazuri.
    Dacă este luat în mod regulat, vă va ajuta să obțineți toate beneficiile
    utilizării sale. Daca esti in cautarea unui mod eficient de a-ti imbunatati sanatatea si a pierde
    in greutate, Reduslim poate fi solutia perfecta pentru
    tine! Reduslim este creat special pentru a arde grasimea si a imbunatati digestia si tranzitul intestinal.
    In plus, este foarte frecvent ca scaunele sa creasca, amintiti-va ca Reduslim va curata corpul, acest lucru este normal.
    În plus, fibrele sunt un generator natural de descompunere.
    În scopul de a găsi informații complete privind compoziția produsului,
    unul are pentru a vizita pagina oficiala a producatorului.

    Pe site-ul producatorului echipa experimentată de profesioniști oferă acces la informațiile necesare privind cumpărarea și utilizarea acestuia – menținând clienții mereu informați cu privire la prețurile și
    condițiile de cumpărare.

  • google раскрутка сайта on Jan 12, 2023

    Отзывы, кейсы, результаты
    работы, сертификаты, партнеры – вот что имеет вес.

  • Slot on Jan 10, 2023

    Casino and slot games are two of the most well-liked types of games in the world.

    They are to hand on on every platform and have been concerning for decades.

    The popularity of these games has led to the foundation of many mobile applications, which have helped players enjoy these games on the go.

  • продвижение в сша on Nov 13, 2022

    Контент должен быть уникальным, информативным, релевантным, включать в себя прапродвижение в сшаильно подобранные ключи.

Leave Reply