<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>AntiVJ &#187; MidiYoke</title>
	<atom:link href="https://blog.antivj.com/tag/midiyoke/feed/" rel="self" type="application/rss+xml" />
	<link>https://blog.antivj.com</link>
	<description>visual label</description>
	<lastBuildDate>Tue, 17 Oct 2017 10:25:14 +0000</lastBuildDate>
	<language>en-US</language>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>Wiimote to MIDI &#8211; English version</title>
		<link>https://blog.antivj.com/2007/wiimote-to-midi-english-version/</link>
		<comments>https://blog.antivj.com/2007/wiimote-to-midi-english-version/#comments</comments>
		<pubDate>Sun, 04 Mar 2007 11:52:26 +0000</pubDate>
		<dc:creator><![CDATA[Joanie Lemercier]]></dc:creator>
				<category><![CDATA[Wiimote]]></category>
		<category><![CDATA[bluetooth]]></category>
		<category><![CDATA[midi]]></category>
		<category><![CDATA[MidiYoke]]></category>

		<guid isPermaLink="false">http://blog.antivj.com/?p=97</guid>
		<description><![CDATA[Following a large amount of emails I received, I decided to translate...]]></description>
				<content:encoded><![CDATA[<p>Following a large amount of emails I received, I decided to translate in english my <a href="http://crustea.vjfrance.com/article-127406.html" target="_blank">recent post</a> dedicated to the new Nintendo&#8217;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.<span id="more-97"></span></p>
<p>&nbsp;</p>
<p><strong>How does it work?<br />
</strong>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 <a href="http://www.analog.com/en/prod/0%2C2877%2CADXL330%2C00.html" target="_blank">ADXL330</a>, 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, <a href="http://www.wiili.org/images/4/4e/Pyr.png" target="_blank">X, Y et Z</a>.</p>
<p>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 <a href="http://admin.vjfrance.com/FCKeditor/editor/en.wikipedia.org/wiki/Bluetooth" target="_blank">Bluetooth</a> 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.</p>
<p>- &#8211; - &#8211; - &#8211; - &#8211; - &#8211; - -</p>
<p>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 <a href="http://www.arkaos.net/software/vj_download.php" target="_blank">Arkaos</a>) or production/live audio (<a href="http://www.ableton.com/" target="_blank">Ableton</a> to mention only one of them).</p>
<p><strong>Requirements</strong>:<br />
- A <a href="http://e3.britishgaming.co.uk/2006/nintendo/wii/wiimote.png" target="_blank">Wiimote</a>, of course (approximately £20/35$, <a href="http://search.ebay.co.uk/wiimote" target="_blank">online</a> or at your local  video games shop).<br />
- A <a href="http://www.accessories-review.com/wp-content/uploads/2006/02/USBBluetoothDonglewith100meterworkingdistance.jpg" target="_blank">Bluetooth Dongle</a> (if your computer doesn&#8217;t have Bluetooth already, about £10/15$).<br />
- Bluesoleil (<a href="http://www.bluesoleil.com/download/index.asp?topic=bluesoleil_edr" target="_blank">shareware</a>, it usually comes for free with Bluetooth dongles).<br />
- GlovePie (<a href="http://carl.kenner.googlepages.com/glovepie_download" target="_blank">freeware</a>).<br />
- MidiYoke (<a href="http://www.midiox.com/myoke.htm#Download" target="_blank">freeware</a>, required for MIDI).</p>
<p><strong>Connect your Wiimote to your PC</strong>:<br />
Once your dongle installed, your Wiimote unpacked and filled with fresh batteries:<br />
<strong>1 -</strong> Launch Bluesoleil (a grey icon appears in the taskbar, and then becomes blue once once the Bluetooth dongle initialized. Now, double-click on the <span style="text-decoration: underline;"><span style="color: #0000ff;"><a href="http://crustea.free.fr/blog/wiimote/bluesoleil.jpg" target="_blank">blue icon</a></span></span> to launch the program)<br />
<strong>2 -</strong> You have to enable the &#8220;detection&#8221; mode: press simultaneously buttons 1 and 2 of your magic remote (LEDs start to flicker).<br />
In Bluesoleil, start &#8221;device detection&#8221; by clicking on the <a href="http://crustea.free.fr/blog/wiimote/bluesoleil.jpg" target="_blank">orange sphere</a> in the middle.<br />
<strong>3 -</strong> Your Wiimote has been detected, and <a href="http://crustea.free.fr/blog/wiimote/bluesoleil2.jpg" target="_blank">appears as an icon</a> in Bluesoleil, now you must activate the communication: select the wiimote icon (1 click) and then click on  &#8221;<a href="http://crustea.free.fr/blog/wiimote/bluesoleil3.jpg" target="_blank">HID service</a>&#8220;, the mouse icon. if the connection is capricious, you might have to press simultaneously buttons 1 and 2 again,<br />
If all occurs well, you should see a small animation which means a successful connection.</p>
<p><strong>Interpret the signals:<br />
</strong>The Wiimote is now connected, and sends its signal to your PC, but it is not being interpreted yet. This is where <a href="http://carl.kenner.googlepages.com/glovepie" target="_blank">GlovePie</a> will be helpful, to convert the signals received and return them to your favorites softwares and games.<br />
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&#8230;) using a simple scripting language and/or a GUI.</p>
<div id="result_box" dir="ltr">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<em> WiimoteScripts/WiiMouse 0.1.PIE</em>, and click on <strong>RUN</strong>, and you can now control your mouse cursor with your Wiimote. Also, you have to try <em>Drummerkit</em>, and then you can play &#8220;air battery&#8221; <img src='https://blog.antivj.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </div>
<p><strong>Midiiiiiii !</strong><br />
So, now it gets exciting.. Everything is now ready, the last thing to do is to install <a href="http://www.midiox.com/myoke.htm" target="_blank">MidiYoke</a> (a virtual MIDI port, which emulates a MIDI device to use like a &#8221;bridge&#8221; with your midi softwares) then download and launch this Glovepie <a href="http://www.antivj.com/wiimote/Wiimote2midi_0.2_en.PIE" target="_blank"><strong>script</strong></a>, which will finally enable you to get the Wiimote movements to any software supporting midi.</p>
<p>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!</p>
<p>As you can see, the buttons are mapped to &#8220;midi notes&#8221;, 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.</p>
<p>It&#8217;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&#8230;<br />
Don&#8217;t hesistate to post links of what you achieved with wiimote2midi, and ask for updates or special requests&#8230;</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
23/02/07 &#8211; beta0.1<br />
<a href="http://crustea.free.fr/blog/wiimote/Wiimote2midi.PIE" target="_blank"><strong>Wiimote2midi.pie</strong></a><br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
24/02/07 &#8211; beta0.2 (comments in english)<br />
<a href="http://www.antivj.com/wiimote/Wiimote2midi_0.2_en.PIE" target="_blank"><strong>Wiimote2midi.pie</strong></a><br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</p>
<p>Here&#8217;s a short video demo of VJing with a Wiimote:<br />
<object width="425" height="350" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="src" value="http://www.youtube.com/v/EQNtb7tqWoQ" /><param name="wmode" value="transparent" /><embed width="425" height="350" type="application/x-shockwave-flash" src="http://www.youtube.com/v/EQNtb7tqWoQ" wmode="transparent" /></object></p>
<p>Other tutorials:<br />
- <a href="http://blog.antivj.com/2007/wiimote-to-midi-english-version" target="_blank">Wiimote to Midi (PC).</a><br />
- <a href="http://blog.antivj.com/2007/wiimote-to-midi" target="_blank">Wiimote to Midi (PC) french version</a>.<br />
- <a href="http://blog.antivj.com/2007/wiimote-to-midi-video" target="_blank">Wiimote to Midi: VJing video</a>.<br />
- <a href="http://blog.antivj.com/2008/wiimote-to-midi-ableton-live" target="_blank">Wiimote to Midi for Ableton Live</a> (PC).<br />
- <a href="http://blog.antivj.com/2007/wiimote-to-midi-mac-linux-versions" target="_blank">Wiimote to Midi: Mac &amp; Linux</a>.</p>
]]></content:encoded>
			<wfw:commentRss>https://blog.antivj.com/2007/wiimote-to-midi-english-version/feed/</wfw:commentRss>
		<slash:comments>35</slash:comments>
		</item>
		<item>
		<title>Wiimote to MIDI</title>
		<link>https://blog.antivj.com/2007/wiimote-to-midi/</link>
		<comments>https://blog.antivj.com/2007/wiimote-to-midi/#comments</comments>
		<pubDate>Tue, 20 Feb 2007 11:50:52 +0000</pubDate>
		<dc:creator><![CDATA[Joanie Lemercier]]></dc:creator>
				<category><![CDATA[Wiimote]]></category>
		<category><![CDATA[bluetooth]]></category>
		<category><![CDATA[glovepie]]></category>
		<category><![CDATA[midi]]></category>
		<category><![CDATA[MidiYoke]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[software]]></category>

		<guid isPermaLink="false">http://blog.antivj.com/?p=95</guid>
		<description><![CDATA[Un Post dédié au nouveau &#8220;jouet&#8221; de Nintendo.. Sortie en décembre 2006,...]]></description>
				<content:encoded><![CDATA[<p>Un Post dédié au nouveau &#8220;jouet&#8221; de Nintendo.. Sortie en décembre 2006, la dernière console de la marque Nippone, la Wii, se veut révolutionnaire par sa nouvelle interface utilisateur, la Wiimote (un hydride de gamepad, de télécommande et de capteur de mouvements), qui change complètement la manière de jouer en mettant à contribution le joueur, qui peut désormais &#8220;mimer&#8221; les actions (tennis, combats..) plutôt que de simplement presser des boutons.<span id="more-95"></span><br />
<strong>Comment ça marche?<br />
</strong>Outre les classiques boutons, retour de force et le mini haut-parleur intégré, la vraie nouveauté est la présence au coeur de la Wiimote, d&#8217;un capteur d&#8217;accélération et de gravité (le <a href="http://www.analog.com/en/prod/0%2C2877%2CADXL330%2C00.html" target="_blank">ADXL330</a>,  jusqu&#8217;alors utilisé dans l&#8217;armée ou dans la sécurité automobile, pour les systèmes d&#8217;airbags) qui capte donc les mouvements et l&#8217;accélération de la Wiimote sur chacun des 3 axes <a href="http://www.wiili.org/images/4/4e/Pyr.png" target="_blank">X, Y et Z</a>.</p>
<p>La bonne nouvelle, c&#8217;est que plutôt que d&#8217;utiliser un protocole propriétaire pour transmettre les infos de la Wiimote à la Wii, et ainsi vérrouiller son hardware pour en garder un usage exclusif, Nintendo a pris l&#8217;excellente décision (probablement par volonté commerciale) d&#8217;utiliser le protocole <a href="http://fr.wikipedia.org/wiki/Bluetooth" target="_blank">Bluetooth</a>, standard de communication sur PC et Mac depuis plusieurs années. Ce qui veut dire que l&#8217;on peut connecter sans problême une Wiimote à son ordinateur, et en utiliser pleinement les fonctionnalités assez simplement.</p>
<p>- &#8211; - &#8211; - &#8211; - &#8211; - &#8211; - -</p>
<p>Dans ce Post, nous allons apprendre à connecter une Wiimote à un PC, et transformer les valeurs reçues en signaux MIDI, pour pouvoir contrôler ensuite des logiciels de VJing (comme <a href="http://www.arkaos.net/software/vj_download.php" target="_blank">Arkaos</a>) ou de production/live audio (<a href="http://www.ableton.com/" target="_blank">Ableton</a> pour n&#8217;en citer qu&#8217;un..).</p>
<p><strong>Matériel necessaire</strong>:<br />
- Une <a href="http://e3.britishgaming.co.uk/2006/nintendo/wii/wiimote.png" target="_blank">Wiimote</a>, bien entendu (environ 40euros, <a href="http://www.google.com/search?q=acheter+une+wiimote&amp;rls=com.microsoft:fr:IE-SearchBox&amp;ie=UTF-8&amp;oe=UTF-8&amp;sourceid=ie7&amp;rlz=1I7GGIC" target="_blank">sur internet</a> ou en magasin de jeux vidéos).<br />
- Une <a href="http://www.accessories-review.com/wp-content/uploads/2006/02/USBBluetoothDonglewith100meterworkingdistance.jpg" target="_blank">clé Bluetooth</a> (si votre ordinateur n&#8217;a pas le Bluetooth intégré, une quinzaine d&#8217;euros).<br />
- Le logiciel Bluesoleil (<a href="http://www.bluesoleil.com/download/index.asp?topic=bluesoleil_edr" target="_blank">shareware</a>, souvent fourni gratuitement avec votre clé Bluetooth).<br />
- Le logiciel GlovePie (<a href="http://carl.kenner.googlepages.com/glovepie_download" target="_blank">freeware</a>).<br />
- MidiYoke (<a href="http://www.midiox.com/myoke.htm#Download" target="_blank">freeware</a>, nécessaire pour utiliser le MIDI).</p>
<p><strong>Connecter votre Wiimote à votre PC</strong>:<br />
Une fois votre clé installée, la Wiimote déballée et remplie de piles fraîches:<br />
<strong>1 -</strong> Lancez maintenant Bluesoleil (une icone grise apparait dans la barre des tâches, puis devient bleue une fois la clé Bluetooth initialisée. Double-cliquez maintenant sur <a href="http://crustea.free.fr/blog/wiimote/bluesoleil.jpg" target="_blank">l&#8217;icône bleue</a> pour lancer le programme).<br />
<strong>2 -</strong> Vous devez maintenant mettre votre Wiimote en mode &#8220;détection&#8221;. Pour cela, pressez simultanément les boutons 1 et 2 de votre télécommande magique (les LEDs se mettent à clignoter).<br />
Dans Bluesoleil, lancer la détection des périphériques en cliquant sur <a href="http://crustea.free.fr/blog/wiimote/bluesoleil.jpg" target="_blank">la sphère orange</a> au centre de la fenêtre.<br />
<strong>3 -</strong> Votre Wiimote à été détectée, et <a href="http://crustea.free.fr/blog/wiimote/bluesoleil2.jpg" target="_blank">apparait</a> dans Bluesoleil. Il faut maintenant activer la communication, en sélectionnant l&#8217;icône wiimote (1 clic) puis en cliquant sur &#8220;<a href="http://crustea.free.fr/blog/wiimote/bluesoleil3.jpg" target="_blank">service HID</a>&#8220;, l&#8217;icône qui ressemble à une souris. N&#8217;hésitez pas à appuyer une seconde fois simultanément sur les boutons 1 et 2 si la connection est capricieuse.<br />
Si tout se passe bien, vous devriez voir une petite animation qui symbolise la connection réussie.</p>
<p><strong>Interpréter les signaux reçus:<br />
</strong>La Wiimote est maintenant connectée, et envoie son signal à votre PC, mais il n&#8217;est pas encore interprété. C&#8217;est maintenant que <a href="http://carl.kenner.googlepages.com/glovepie" target="_blank">GlovePie</a> intervient, pour convertir les signaux reçus et les renvoyer à vos applications et jeux favoris.<br />
En effet, le logiciel développé par Carl Kenner a pour mission de convertir tout type de signal (d&#8217;une souris, d&#8217;un Joystick, d&#8217;un gant P5) en un autre signal (MIDI, variables..) à l&#8217;aide d&#8217;un langage de script simple et/ou d&#8217;un GUI.</p>
<p>Lancez donc le logiciel GlovePie (version 0.29 à ce jour). Par défaut, le freeware s&#8217;ouvre sur l&#8217;éditeur de script vide. Heureusement, il existe quantité de script fournis avec l&#8217;install: chargez par exemple <em>WiimoteScripts/WiiMouse 0.1.PIE,</em> et cliquez sur <strong>RUN</strong>, et vous pouvez maintenant contrôler votre souris grâce à votre Wiimote.. A tester également, <em>Drummerkit</em>, pour faire de l&#8217; &#8220;air batterie&#8221; <img src='https://blog.antivj.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><strong>Midiiiiiii !</strong><br />
Bon, maintenant que tout est prêt, il ne nous reste plus qu&#8217;à installer <a href="http://www.midiox.com/myoke.htm" target="_blank">MidiYoke</a> (un port MIDI virtuel, qui va simuler un périphérique midi pour faire la passerelle avec vos logiciels midi) puis téléchargez et lancez <a href="http://crustea.free.fr/blog/wiimote/Wiimote2midi_0.2.PIE" target="_blank"><strong>ce script</strong></a> Glovepie, qui va vous permettre enfin de récupérer les valeurs midi dans vos logiciels compatibles.<br />
Dans cette version beta0.1, vous récupérez les valeur de l&#8217;inclinaison X, Y et Z de votre Wiimote, qui sont converties en valeur #CC 30, 31 et 32, variable de 0 à 100, ce qui vous permet maintenant de scratcher une vidéo ou faire des fades en déplacant votre Wiimote dans les airs.. Essayez aussi sur Ableton, les résultats sont assez surprenants sur les effets !</p>
<p>Comme vous pouvez le voir, les boutons sont mappés sur des &#8220;midi notes&#8221;, et permettent de déclencher des évênements simplement. Une option pour envoyer des évênements clavier est aussi disponible, et n&#8217;hésitez pas à modifier les touches, le script est commenté.</p>
<p>Les prochaines étapes dans ce script vont être l&#8217;utilisation de l&#8217;accélération, de la sensorbar, et du Nunchuk (le second gamepad disponible). Restez dans le coin ! <img src='https://blog.antivj.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
23/02/07 &#8211; beta0.1<br />
<a href="http://crustea.free.fr/blog/wiimote/Wiimote2midi.PIE" target="_blank"><strong>Wiimote2midi.pie</strong></a><br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
24/02/07 &#8211; beta0.2<br />
<a href="http://crustea.free.fr/blog/wiimote/Wiimote2midi_0.2.PIE" target="_blank"><strong>Wiimote2midi.pie</strong></a><br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</p>
<p>Voici une petite démo vidéo de l&#8217;utilisation du script:<br />
<object width="425" height="350" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="src" value="http://www.youtube.com/v/EQNtb7tqWoQ" /><param name="wmode" value="transparent" /><embed width="425" height="350" type="application/x-shockwave-flash" src="http://www.youtube.com/v/EQNtb7tqWoQ" wmode="transparent" /></object></p>
<p>Other tutorials:<br />
- <a href="http://blog.antivj.com/2007/wiimote-to-midi-english-version" target="_blank">Wiimote to Midi (PC).</a><br />
- <a href="http://blog.antivj.com/2007/wiimote-to-midi" target="_blank">Wiimote to Midi (PC) french version</a>.<br />
- <a href="http://blog.antivj.com/2007/wiimote-to-midi-video" target="_blank">Wiimote to Midi: VJing video</a>.<br />
- <a href="http://blog.antivj.com/2008/wiimote-to-midi-ableton-live" target="_blank">Wiimote to Midi for Ableton Live</a> (PC).<br />
- <a href="http://blog.antivj.com/2007/wiimote-to-midi-mac-linux-versions" target="_blank">Wiimote to Midi: Mac &amp; Linux</a>.</p>
]]></content:encoded>
			<wfw:commentRss>https://blog.antivj.com/2007/wiimote-to-midi/feed/</wfw:commentRss>
		<slash:comments>397</slash:comments>
		</item>
	</channel>
</rss>
