<?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>Roo Reynolds &#187; hacks</title>
	<atom:link href="http://rooreynolds.com/category/hacks/feed/" rel="self" type="application/rss+xml" />
	<link>http://rooreynolds.com</link>
	<description>What&#039;s Next?</description>
	<lastBuildDate>Fri, 27 Jan 2012 22:28:57 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
		<item>
		<title>P5 Glove &#8211; Rock Paper Scissors and other fun</title>
		<link>http://rooreynolds.com/2009/09/26/p5-glove-midi-arpeggiating-rock-paper-scissors-and-other-fun/</link>
		<comments>http://rooreynolds.com/2009/09/26/p5-glove-midi-arpeggiating-rock-paper-scissors-and-other-fun/#comments</comments>
		<pubDate>Sat, 26 Sep 2009 21:50:12 +0000</pubDate>
		<dc:creator>Roo</dc:creator>
				<category><![CDATA[geek]]></category>
		<category><![CDATA[hacks]]></category>
		<category><![CDATA[tangible interfaces]]></category>
		<category><![CDATA[toys]]></category>
		<category><![CDATA[controllermate]]></category>
		<category><![CDATA[midi]]></category>
		<category><![CDATA[P5]]></category>
		<category><![CDATA[p5 glove]]></category>
		<category><![CDATA[VR]]></category>

		<guid isPermaLink="false">http://rooreynolds.com/?p=1800</guid>
		<description><![CDATA[The P5 Glove is a consumer wired glove (tactile but not haptic). I bought one boxed as-new on eBay a while ago for not very much, and I&#8217;m glad I did as they now seem to be increasingly hard (and expensive) to get hold of. &#160;&#160;&#160;&#160; It contains five analog bend sensors, 3 buttons plus [...]]]></description>
			<content:encoded><![CDATA[<p>The <a href="http://www.vrealities.com/P5.html">P5 Glove</a> is a consumer <a href="http://en.wikipedia.org/wiki/Wired_glove">wired glove</a> (tactile but not <a href="http://en.wikipedia.org/wiki/Haptic">haptic</a>). I bought one boxed as-new on eBay a while ago for not very much, and I&#8217;m glad I did as they now seem to be increasingly hard (and expensive) to get hold of.</p>
<p align="center"><a href="http://www.flickr.com/photos/rooreynolds/3956688942/" title="P5 Glove by Roo Reynolds, on Flickr"><img src="http://farm3.static.flickr.com/2495/3956688942_25185c8958.jpg" width="500" height="375" alt="P5 Glove" /></a></p>
<p align="center"><a href="http://www.flickr.com/photos/rooreynolds/3955912823/" title="P5 Glove by Roo Reynolds, on Flickr"><img src="http://farm3.static.flickr.com/2589/3955912823_192ccb506b_m.jpg" width="240" height="180" alt="P5 Glove" /></a>&nbsp;&nbsp;&nbsp;&nbsp;<a href="http://www.flickr.com/photos/rooreynolds/3956689938/" title="P5 Glove (Rock!) by Roo Reynolds, on Flickr"><img src="http://farm4.static.flickr.com/3488/3956689938_d6c6760137_m.jpg" width="240" height="180" alt="P5 Glove (Rock!)" /></a></p>
<p>It <a href="http://www.flickr.com/photos/dexterstonehouse/sets/72057594082907479/">contains</a> five analog bend sensors, 3 buttons plus <em>in theory</em> x, y and z coordinates and yaw, pitch and roll (it <a href="http://www.mts.net/~kbagnall/p5/p5%20dissassembly.html">emits IR which is picked up by a big USB IR tower</a> so it knows where your hand is in space).</p>
<p>Here&#8217;s the P5 Glove intro movie&#8230;</p>
<p><object width="480" height="385"><param name="movie" value="http://www.youtube-nocookie.com/v/rBEaLIuq4J8&#038;hl=en&#038;fs=1&#038;"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube-nocookie.com/v/rBEaLIuq4J8&#038;hl=en&#038;fs=1&#038;" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="480" height="385"></embed></object></p>
<p>I say <em>in theory</em> because while the <a href="http://www.simulus.org/p5glove/">p5osc</a> Mac drivers handle the bend sensors very well the x/y/z output is jittery and yaw/pitch/roll sadly non-existent.</p>
<p>I&#8217;ve been experimenting with bridging the outputs for the buttons, fingers and thumb into MIDI custom controls so that I mess around with them in <a href="http://www.orderedbytes.com/controllermate/">ControllerMate</a>. Here&#8217;s a demo of a simple setup which detects whether each digit is straight or bent, and uses that to determine whether your hand is describing a rock, paper or scissors shape. For now, it just displays &#8216;Rock&#8217;, &#8216;Paper&#8217; or &#8216;Scissors&#8217; in large type on the screen but it would be pretty straightforward to turn this into a simple game.</p>
<p><object width="500" height="375"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=6771194&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=00ADEF&amp;fullscreen=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=6771194&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=00ADEF&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="500" height="375"></embed></object>
<p><a href="http://vimeo.com/6771194">P5 Glove &#8211; MIDI Rock Paper Scissors</a> from <a href="http://vimeo.com/rooreynolds">rooreynolds</a> on <a href="http://vimeo.com">Vimeo</a>.</p>
<p>Here&#8217;s the ControllerMate patch I made to do it (click through for the annotated version on Flickr). </p>
<p><a href="http://www.flickr.com/photos/rooreynolds/3955351409/" title="ControllerMate VR Glove MIDI Rock-Paper-Scissors by Roo Reynolds, on Flickr"><img src="http://farm4.static.flickr.com/3477/3955351409_f9483aff8a.jpg" width="500" height="214" alt="ControllerMate VR Glove MIDI Rock-Paper-Scissors" /></a></p>
<p>Lots more fun to be had here with virtual pianos and guitar strings too; arpeggiating the <a href="http://rooreynolds.com/category/midi+guitar">MIDI guitar</a>, for example.</p>
]]></content:encoded>
			<wfw:commentRss>http://rooreynolds.com/2009/09/26/p5-glove-midi-arpeggiating-rock-paper-scissors-and-other-fun/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Yo-yo tuning; tangible audio</title>
		<link>http://rooreynolds.com/2007/08/17/yo-yo-tuning-tangible-audio/</link>
		<comments>http://rooreynolds.com/2007/08/17/yo-yo-tuning-tangible-audio/#comments</comments>
		<pubDate>Fri, 17 Aug 2007 18:29:40 +0000</pubDate>
		<dc:creator>Roo</dc:creator>
				<category><![CDATA[geek]]></category>
		<category><![CDATA[hacks]]></category>
		<category><![CDATA[music]]></category>
		<category><![CDATA[tangible interfaces]]></category>
		<category><![CDATA[tech]]></category>

		<guid isPermaLink="false">http://rooreynolds.com/2007/08/17/yo-yo-tuning-tangible-audio/</guid>
		<description><![CDATA[I&#8217;ve been thinking about augmented reality and tangible stuff in relation to music recently. A while ago I hacked together a RFID reader and rotary encoder (using cheap-ish off the shelf USB kit from Phidgets) into a virtual knob. Ian captured me giving a quick (&#8220;it&#8217;s me knob demo!&#8220;) demonstration in the office a couple [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been thinking about augmented reality and tangible stuff in relation to music recently.  A while ago I hacked together a RFID reader and rotary encoder (using cheap-ish off the shelf USB kit from <a href="http://www.phidgets.com/">Phidgets</a>) into a virtual knob. Ian captured me giving a quick (&#8220;<a href="http://www.youtube.com/watch?v=XEohmAirpBU">it&#8217;s me knob demo!</a>&#8220;) demonstration in the office a couple of weeks ago. The idea there was that one rotary encoder could act as more than one controller if it knew it had moved between different positions. In this case, using RFID tags.</p>
<p>More recently, I have been playing with <a href="http://mtg.upf.edu/reactable/?software">reacTIVision</a> (the software behind the <a href="http://mtg.upf.edu/reactable/">reactable</a>, and incidentally what the SLorpedo team used in <a href="http://andypiper.wordpress.com/2007/08/08/slorpedo-the-video/">their Hack Day entry</a>). It&#8217;s incredibly fun and ridiculously easy. To avoid my hands getting in the way of the tags, I threw together a picture frame, a cardboard box, a 25 watt table lamp and a Logitech quickcam (actually, the LEGO <a href="http://guide.lugnet.com/set/9731">Vision Command</a> camera, which is a nasty manual-focus quickcam with nifty LEGO extrusions).</p>
<p align="center"><a title="Yo-yo, camera, Altoids tin" href="http://www.flickr.com/photos/rooreynolds/1151030734/"><img width="75" height="75" alt="Yo-yo, camera, Altoids tin" src="http://farm2.static.flickr.com/1326/1151030734_a1a43c913c_s.jpg" /></a> <a title="Side-on" href="http://www.flickr.com/photos/rooreynolds/1150185229/"><img width="75" height="75" alt="Side-on" src="http://farm2.static.flickr.com/1136/1150185229_bcc0990cbd_s.jpg" /></a> <a title="Fiducials viewed from below" href="http://www.flickr.com/photos/rooreynolds/1151031972/"><img width="75" height="75" alt="Fiducials viewed from below" src="http://farm2.static.flickr.com/1009/1151031972_d04f20e619_s.jpg" /></a> <a title="Yo-yo tuning (video thumbnail)" href="http://www.flickr.com/photos/rooreynolds/1150751657/"><img width="75" height="75" alt="Yo-yo tuning (video thumbnail)" src="http://farm2.static.flickr.com/1112/1150751657_f1046b0594_s.jpg" /></a> <a title="The (trivial) setup in Reaper" href="http://www.flickr.com/photos/rooreynolds/1150946655/"><img width="75" height="75" alt="The (trivial) setup in Reaper" src="http://farm2.static.flickr.com/1055/1150946655_58c46fda31_s.jpg" /></a></p>
<p>For tangible objects, I grabbed three things relatively close at hand. Here&#8217;s <a href="http://www.viddler.com/explore/Rooreynolds/videos/9/">a video</a> of me having fun in C major with a red wooden yo-yo, a tin of Altoids and a hidden surprise.</p>
<p align="center"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="437" height="370" id="viddler"><param name="movie" value="http://www.viddler.com/player/96f8491e/" /><param name="allowScriptAccess" value="always" /><param name="allowFullScreen" value="true" /><embed src="http://www.viddler.com/player/96f8491e/" width="437" height="370" type="application/x-shockwave-flash" allowScriptAccess="always" allowFullScreen="true" name="viddler" ></embed></object></p>
<p align="left">Having installed reacTIVision, I run it like this:</p>
<blockquote><p><em>reacTIVision.exe -m midi\demo.xml &#8211;midi-device 10</em></p></blockquote>
<p>An argument of <em>-l midi</em> will list all the available MIDI devices. Something like MIDI Yoke is handy here (which is device 10 for me). The MIDI output is optional, and the default <a href="http://opensoundcontrol.org/">OSC</a> output is more flexible, but for today I wanted to play directly with MIDI and this made it really easy.<br />
To use the three different inputs shown in the video, I first described the controls I wanted in the xml configuration file. I just edited demo.xml to include</p>
<p><code>&lt;map fiducial="0" type="hfader" channel="1" control="1"/&gt;<br />
&lt;map fiducial="0" type="note" note="72"/&gt;<br />
&lt;map fiducial="1" type="knob" channel="1" control="2"/&gt;<br />
&lt;map fiducial="1" type="note" note="76"/&gt;<br />
&lt;map fiducial="2" type="vfader" channel="1" control="3"/&gt;<br />
&lt;map fiducial="2" type="note" note="79"/&gt;</code></p>
<p>Which, as you&#8217;d expect, means&#8230;</p>
<ul>
<li>tag 0 (the tea bag) plays a C when visible, as well as treating its vertical position as MIDI controller 1 on channel 1,</li>
<li>tag 1 (the yo-yo) plays an E, as well as treating its angle as controller 2, and</li>
<li>tag 2 (the Altoids) plays a G, as well as treating its horizontal  position as controller 3.</li>
</ul>
<p>Next, I needed something to handle the MIDI notes and commands. I love <a href="http://reaper.fm">Reaper</a> for this kind of thing. (Annotated screenshot which explains a little more of what is going on <a href="http://www.flickr.com/photos/rooreynolds/1150946655/">here</a>). For an instrument, I used the lovely <a href="http://www.tweakbench.com/tapeworm">Tapeworm</a> from Tweakbench.</p>
<p>Finally, I trained Reaper (though you might prefer Ableton or whatever) with the controls I planned to manually twiddle. I set controller 2 to affect the fine-tune knob in Tapeworm and controller 1 to change the volume for the track.</p>
<p>The possibilities here seem endless. Throw in a <a href="http://rooreynolds.com/2007/03/24/monome-40h-rediscovered/">Monome 40h</a>, a couple of <a href="http://rooreynolds.com/2007/04/05/hacking-with-osc-and-the-wiimote/">Wiimotes</a>, an <a href="http://www.vrealities.com/P5.html">P5 Glove</a> and the <a href="http://www.youtube.com/watch?v=XEohmAirpBU">RFID reader / rotary encoder knob</a> I was playing with before, and I have more physical controllers than I could ever need. All of which talk MIDI and/or OSC. Expect more demos (hopefully with some actual music rather than just proof of concepts) as I continue to experiment. I already like reacTIVision a lot, and it makes me want to buy a better camera.</p>
]]></content:encoded>
			<wfw:commentRss>http://rooreynolds.com/2007/08/17/yo-yo-tuning-tangible-audio/feed/</wfw:commentRss>
		<slash:comments>15</slash:comments>
		</item>
		<item>
		<title>It&#8217;s me knob demo! &#8211; RFID reader + rotary encoder = virtual physical control</title>
		<link>http://rooreynolds.com/2007/07/31/its-me-knob-demo-rfid-reader-rotary-encoder-virtual-physical-control/</link>
		<comments>http://rooreynolds.com/2007/07/31/its-me-knob-demo-rfid-reader-rotary-encoder-virtual-physical-control/#comments</comments>
		<pubDate>Tue, 31 Jul 2007 16:01:21 +0000</pubDate>
		<dc:creator>Roo</dc:creator>
				<category><![CDATA[hacks]]></category>
		<category><![CDATA[tangible interfaces]]></category>
		<category><![CDATA[phidgets]]></category>
		<category><![CDATA[rfid]]></category>

		<guid isPermaLink="false">http://rooreynolds.com/?p=1795</guid>
		<description><![CDATA[Thanks to Ian for recording this: I used a Phidgets RFID kit, a rotary encoder and Reaper.]]></description>
			<content:encoded><![CDATA[<p>Thanks to Ian for recording this:</p>
<p align="center"><object width="480" height="385"><param name="movie" value="http://www.youtube-nocookie.com/v/XEohmAirpBU&#038;hl=en&#038;fs=1&#038;rel=0"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube-nocookie.com/v/XEohmAirpBU&#038;hl=en&#038;fs=1&#038;rel=0" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="480" height="385"></embed></object></p>
<p>I used a <a href="http://www.phidgets.com/products.php?category=14&#038;product_id=2002">Phidgets RFID kit</a>, a <a href="http://www.phidgets.com/products.php?category=7&#038;product_id=1109">rotary encoder</a> and <a href="http://www.reaper.fm/">Reaper</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://rooreynolds.com/2007/07/31/its-me-knob-demo-rfid-reader-rotary-encoder-virtual-physical-control/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

