<?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>Jaime E Oliver</title>
	<atom:link href="http://www.jaimeoliver.pe/feed" rel="self" type="application/rss+xml" />
	<link>http://www.jaimeoliver.pe</link>
	<description>Computer Music &#124; Música por Computadora</description>
	<lastBuildDate>Fri, 26 Apr 2013 17:10:37 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>Compiling pix_externals</title>
		<link>http://www.jaimeoliver.pe/archives/2193</link>
		<comments>http://www.jaimeoliver.pe/archives/2193#comments</comments>
		<pubDate>Sat, 13 Oct 2012 06:20:13 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Recipes | recetas]]></category>

		<guid isPermaLink="false">http://www.jaimeoliver.pe/?p=2193</guid>
		<description><![CDATA[The following code was used with gem 0.93-3 and pd-0.43 in os x 10.7: 1) download gem binaries for os x and gem source / only source in linux. 2) Create a project in /extra just like the other projects there. 3) modify the config files as specified in "README-EXTRA.txt" 4) run ./autogen.sh 5) run [...]]]></description>
			<content:encoded><![CDATA[<p>The following code was used with gem 0.93-3 and pd-0.43 in os x 10.7:</p>
<p></code><br />
1) download gem binaries for os x and gem source / only source in linux.<br />
2) Create a project in /extra just like the other projects there.<br />
3) modify the config files as specified in "README-EXTRA.txt"<br />
4) run ./autogen.sh<br />
5) run ./configure --enable-fat-binary=i386 --with-pd=/path (ignore the --enable-fat-binary=i386 flag in linux, just use it in recent versions of OSX)<br />
6) cd into the project folder (gem/extra/pix_myexternal) and run <em>make</em><br />
7) put the project folder in the path of Pd.<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.jaimeoliver.pe/archives/2193/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>compositions</title>
		<link>http://www.jaimeoliver.pe/archives/1312</link>
		<comments>http://www.jaimeoliver.pe/archives/1312#comments</comments>
		<pubDate>Sat, 05 Nov 2011 23:32:42 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Recipes | recetas]]></category>

		<guid isPermaLink="false">http://www.jaimeoliver.pe/?p=1312</guid>
		<description><![CDATA[There are several compositions for the silent drum: Flotante &#8211; for Silent Drum, Percussion and Mallet Tracking &#8211; Jaime Oliver (2007-8) Silent Construction 1 &#8211; for Silent Drum &#8211; Jaime Oliver (2008-9) 3 Environments &#8211; for Silent Drum &#8211; Jaime Oliver (2010) Download the patch Silent Screen &#8211; for Silent Drum, Saxophones and Guitar &#8211; [...]]]></description>
			<content:encoded><![CDATA[<p>There are several compositions for the silent drum:</p>
<p><a href="http://www.jaimeoliver.pe/flotante">Flotante</a> &#8211; for Silent Drum, Percussion and Mallet Tracking &#8211; Jaime Oliver (2007-8)</p>
<p><em><a href="http://www.jaimeoliver.pe/sc1">Silent Construction 1</a></em> &#8211; for Silent Drum &#8211; Jaime Oliver (2008-9)</p>
<p><em>3 Environments</em> &#8211; for Silent Drum &#8211; Jaime Oliver (2010) <a href="http://www.jaimeoliver.pe/src/3E.zip">Download the patch</a></p>
<p><em>Silent Screen</em> &#8211; for Silent Drum, Saxophones and Guitar &#8211; <a href="http://music.columbia.edu/people/bios/aeinbond" target="_blank">Aaron Einbond</a> (2011)</p>
<p><em>Zero Morphism</em> - for Silent Drum, Saxophones and Guitar - <a href="http://www.alechall.info/" target="_blank">Alec Hall</a> (2009/11)</p>
<p><em>Syncro-vox and Other Cheap Animation Techniques</em> - for Silent Drum, Saxophones and Electric Guitar &#8211; <a href="http://www.bryanjacobsmusic.com/info.html#" target="_blank">Bryan Jacobs</a> (2011)</p>
<p><em>Dirty, noisy, polluted - </em>for Silent Drum, Saxophones and Electric Guitar - <a href="http://www.paulclift.net/listofworks.htm" target="_blank">Paul Clift</a> (2011)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jaimeoliver.pe/archives/1312/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>silent drum &#8211; tracking</title>
		<link>http://www.jaimeoliver.pe/archives/896</link>
		<comments>http://www.jaimeoliver.pe/archives/896#comments</comments>
		<pubDate>Tue, 09 Nov 2010 23:23:33 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Recipes | recetas]]></category>

		<guid isPermaLink="false">http://www.jaimeoliver.pe/?p=896</guid>
		<description><![CDATA[&#60;&#60; PREVIOUS: Hardware: Building Once the drum is ready, we need to setup tracking. If you are unsure if this will work in OS X or Linux, then you can also try this first. 1 First you&#8217;ll need a copy of Pd or Pure Data for your operating system. In the event that you are using [...]]]></description>
			<content:encoded><![CDATA[<p>&lt;&lt; PREVIOUS: <a href="http://www.jaimeoliver.pe/archives/833">Hardware: Building</a></p>
<p>Once the drum is ready, we need to setup tracking. If you are unsure if this will work in OS X or Linux, then you can also try this first. <sup class='footnote'><a href='#fn-896-1' id='fnref-896-1' onclick='return fdfootnote_show(896)'>1</a></sup></p>
<p>First you&#8217;ll need a copy of <a href="http://www-crca.ucsd.edu/~msp/software.html" target="_blank">Pd or Pure Data</a> for your operating system.</p>
<p>In the event that you are using the same camera that I am, the PS3eye, you will also need to make sure that you have the correct drivers for your operating system. A small <a href="http://www.jaimeoliver.pe/archives/753" target="_blank">tutorial on how to install these drivers is found here</a>.</p>
<p>Tracking and sound patches are separate for processing reasons and to allow sending the tracking data to other programs such as Max/MSP or others. It is currently sending messages through netsend/netreceive.</p>
<p>Download the <a href="http://www.jaimeoliver.pe/src/sd-track-osx-linux-0.02-2011-11-11.zip" target="_blank">tracking patch for osx and linux here</a>.<sup class='footnote'><a href='#fn-896-2' id='fnref-896-2' onclick='return fdfootnote_show(896)'>2</a></sup></p>
<p>Uncompress and open the main.pd patch. This will load a pre-compiled library of GEM as well as best_match and fill0s externals. If you have Pd pointing to another copy of GEM you need to disable it. If you&#8217;d like to have pix_drum in your own copy of <a href="http://puredata.info/community/projects/software/gem/" target="_blank">GEM</a> you can include the sources in the /pixes folder and recompile or get the latest <a href="http://puredata.info/community/projects/software/gem/" target="_blank">GEM</a>. <sup class='footnote'><a href='#fn-896-3' id='fnref-896-3' onclick='return fdfootnote_show(896)'>3</a></sup></p>
<div id="attachment_899" class="wp-caption alignleft" style="width: 363px"><a href="http://www.jaimeoliver.pe/wp-content/uploads/2010/11/main-tracking.jpg"><img class="size-full wp-image-899" title="main-tracking" src="http://www.jaimeoliver.pe/wp-content/uploads/2010/11/main-tracking.jpg" alt="" width="353" height="296" /></a><p class="wp-caption-text">main.pd patch for video tracking</p></div>
<p>In the main.pd patch there is a select camera option. This is only helpful in OS X. It will open a dialog to choose the camera and frame rate, as long as you have the correct <a href="http://www.jaimeoliver.pe/archives/753" target="_blank">drivers</a> for the PS3 EYE camera. In this dialog you should also select the 320&#215;240 resolution.</p>
<p>In linux it should go directly to the PS3eye camera, if it is the only video device open. Size and frame rate must be set separately through modprobe.<sup class='footnote'><a href='#fn-896-4' id='fnref-896-4' onclick='return fdfootnote_show(896)'>4</a></sup></div>
<p>A window should be created automatically, but you can create a window in the &#8220;create window&#8221; dialog at the top.</p>
<p>Most video tracking parameters are already set in advance for 320&#215;240 resolution. You will only need to adjust the <em>threshold</em> to your own lighting situation. The other variables are left there in case you want to explore what they do.</p>
<p>You&#8217;ll also need to adjust the bounds to the area of analysis desired. <em>Right</em> and <em>left</em> should reach the edges of the drum (of the open area). <em>top</em> should be right below the spandex head and <em>bottom</em> should be adjusted to the lowest the head can be pressed.</p>
<p>Once variables are set, press the &#8220;save&#8221; button to save the variables. They will be loaded automatically the next time you open the patch.</p>
<p>Once the receiving (netreceive) patch is open, press connect to send the data.</p>
<p>It is important to note that the camera must be correctly positioned before tracking. Ideally, the left and right extremes of the video shot must fit the edges of the drum. This will constraint the distance. The key point however is that the drum head must be flat. If it is pointed from below or from above, you will see a black oval; if it is perfectly positioned you&#8217;ll see a line. This constraints the angle. (a matter of perspective&#8230;)</p>
<p>The output of this patch is described <a href="http://www.jaimeoliver.pe/instrumentos/silent-drum/sd-parameters" target="_blank">here</a>. You can also consult the pix_drum-help.pd patch in the /src folder.</p>
<p>Let me know if something is missing&#8230;</p>
<p>&lt;&lt; PREVIOUS: <a href="http://www.jaimeoliver.pe/archives/833">Hardware: Building</a></p>
<p>Notes:</p>
<div class='footnotes' id='footnotes-896'>
<div class='footnotedivider'></div>
<ol>
<li id='fn-896-1'>If you have to use windows, this will not work out of the box. However, all the sources for the objects are inside the src folder for you to compile. I don&#8217;t have a windows machine and can&#8217;t make that happen. right now. If you manage to compile all or some of these externals, please send them to me to include them. Current versions of gem already contain pix_drum and other of my externals in the /extra folder, so if you download a precompiled version of GEM you&#8217;ll be able to use these objects. You can also follow <a href="http://www.epicjefferson.com/2011/11/jaime-e-olivers-and-on-windows/" target="_blank">Epic Jefferson&#8217;s instructions for windows.</a> <span class='footnotereverse'><a href='#fnref-896-1'>&#8617;</a></span></li>
<li id='fn-896-2'>This version supports: OS X 10.5+ intel macs and Linux x86_64 (64 bit). For Windows see previous footnote. <span class='footnotereverse'><a href='#fnref-896-2'>&#8617;</a></span></li>
<li id='fn-896-3'>As mentioned previously, pix_drum is now in the extra folder of GEM, so you can get it from <a href="http://puredata.info/community/projects/software/gem/" target="_blank">GEM</a> too. <span class='footnotereverse'><a href='#fnref-896-3'>&#8617;</a></span></li>
<li id='fn-896-4'>I commonly use:
<div id="_mcePaste">modprobe -r gspca_ov534</div>
<div><em>(to remove the module)</em></div>
<div id="_mcePaste">modprobe gspca_ov534 videomode=14 autogain=0 exposure=60</div>
<div><em>(to load the driver with a 320&#215;240 resolution and fixed exposure at 75 fps)</em></div>
<div>All parameters are listed <a href="http://kaswy.free.fr/?q=node/42" target="_blank">here</a> and <a href="http://kaswy.free.fr/?q=en/node/47" target="_blank">here</a>. Thanks to Kaswy for the hack!! <span class='footnotereverse'><a href='#fnref-896-4'>&#8617;</a></span></li>
</ol>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.jaimeoliver.pe/archives/896/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>HOW TO Build a MANO Controller</title>
		<link>http://www.jaimeoliver.pe/archives/879</link>
		<comments>http://www.jaimeoliver.pe/archives/879#comments</comments>
		<pubDate>Sun, 17 Oct 2010 09:11:10 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Recipes | recetas]]></category>

		<guid isPermaLink="false">http://www.jaimeoliver.pe/?p=879</guid>
		<description><![CDATA[In Construction&#8230; In this post I will try to explain in as much detail as possible how to build a MANO Controller. The MANO Controller is an open source instrument and the code for pix_mano is released under the GPL license. I run it in a 3.0ghz linux box (12MB Cache), running the camera at [...]]]></description>
			<content:encoded><![CDATA[<div>
<p>In Construction&#8230;</p>
<p>In this post I will try to explain in as much detail as possible how to build a MANO Controller. The MANO Controller is an open source instrument and the code for pix_mano is released under the GPL license.</p>
<p>I run it in a 3.0ghz linux box (12MB Cache), running the camera at 75fps. Similar machines should make it&#8230;</p>
<p>Click on images in the tutorial to enlarge&#8230;</p>
<p>Hardware: Parts List</p>
<p>Hardware: Building</p>
<p>Software: Tracking</p>
<p>Software: Mapping Sounds</p>
<p>Performance Strategies</p>
<p>Compositions for the MANO Controller.</p>
<p><a href="http://www.jaimeoliver.pe/archives/735" target="_blank"><img title="pix_hand" src="http://www.jaimeoliver.pe/wp-content/uploads/2010/04/pix_hand.jpg" alt="" width="63" height="19" /></a>download the source code and patches for pix_mano. documentation is on the works… | bájate el código patches para pix_mano. documentación en proceso.</p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.jaimeoliver.pe/archives/879/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hardware: Building</title>
		<link>http://www.jaimeoliver.pe/archives/833</link>
		<comments>http://www.jaimeoliver.pe/archives/833#comments</comments>
		<pubDate>Wed, 13 Oct 2010 20:39:38 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Recipes | recetas]]></category>

		<guid isPermaLink="false">http://www.jaimeoliver.pe/?p=833</guid>
		<description><![CDATA[&#60;&#60; PREVIOUS: Hardware: Parts List &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212; NEXT: Software: Tracking &#62;&#62; ********************************* 1) The first step is to cut the drum in 3 parts. The reason to do this is two-folded. On the one hand it needs to have one third of it completely open so as to let the camera see the shape of the spandex head [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;">&lt;&lt; PREVIOUS: <a href="http://www.jaimeoliver.pe/archives/527" target="_self">Hardware: Parts List</a> &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212; NEXT: <a href="http://www.jaimeoliver.pe/archives/896">Software: Tracking</a> &gt;&gt;</p>
<p style="text-align: center;">*********************************</p>
<div id="attachment_617" class="wp-caption alignright" style="width: 245px"><a href="http://www.jaimeoliver.pe/wp-content/uploads/2010/05/drumbody1.jpg"><img class="size-full wp-image-617  " title="drumbody1" src="http://www.jaimeoliver.pe/wp-content/uploads/2010/05/drumbody1.jpg" alt="" width="235" height="183" /></a><p class="wp-caption-text">Figure 1. One of the three sections</p></div>
<p>1) The first step is to cut the drum in 3 parts. The reason to do this is two-folded. On the one hand it needs to have one third of it completely open so as to let the camera see the shape of the spandex head when it deforms and the second is to make a device with which one can travel. If you bought a 14 inch drum, the circumference is about 44 inches. I cut mine in three sections of around 16, 15.5 and 12.5 inches. I left the 15.5 inch section out as the open section. In figure 1 you can see one of the sections.</p>
<p>The drum you bought should have included the body of the drum and two metal rims with their respective screws. It will also probably come with one or two drum heads which we will not use.</p>
<p>.</p>
<div id="attachment_624" class="wp-caption alignright" style="width: 250px"><a href="http://www.jaimeoliver.pe/wp-content/uploads/2010/05/screws-inside-outside.jpg"><img class="size-medium wp-image-624 " title="screws-inside-outside" src="http://www.jaimeoliver.pe/wp-content/uploads/2010/05/screws-inside-outside-300x225.jpg" alt="" width="240" height="180" /></a><p class="wp-caption-text">Figure 2. Attaching the two sections</p></div>
<p>2) the next step is to make two small holes (that coincide with the metal piece of fig 6 in the <a href="http://www.jaimeoliver.pe/archives/527">parts list</a>) at the top, or what we want the top to be, so that they can be held together as seen in figure 2.</p>
<p>Attach them together with two screws and bolts. You can put some washers there if you want.</p>
<p>We should now have 2/3rds of a drum.</p>
<p>.</p>
<p>.</p>
<div id="attachment_634" class="wp-caption alignright" style="width: 250px"><a href="http://www.jaimeoliver.pe/wp-content/uploads/2010/05/drum-top-screw1.jpg"><img class="size-medium wp-image-634" title="drum-top-screw1" src="http://www.jaimeoliver.pe/wp-content/uploads/2010/05/drum-top-screw1-300x210.jpg" alt="" width="240" height="168" /></a><p class="wp-caption-text">Figure 3. Bottom rim and screw.</p></div>
<p>3) Now we need to attach the lower rim to the 2/3rds of a drum we achieved in the previous step.</p>
<p>Use the rim and screws that came with the drum. The drum key will come in handy for this part. It should look like Figure 3. Note the rim is upside down. Regularly, rims are used to stretch a drum head, we on the contrary, are using it to get the drum to be compact/solid/strong after cutting it in pieces.</p>
<p>.</p>
<p>.</p>
<div id="attachment_767" class="wp-caption alignright" style="width: 310px"><a href="http://www.jaimeoliver.pe/wp-content/uploads/2010/10/drum-spandex-head1.jpg"><img class="size-medium wp-image-767" title="drum-spandex-head1" src="http://www.jaimeoliver.pe/wp-content/uploads/2010/10/drum-spandex-head1-300x86.jpg" alt="" width="300" height="86" /></a><p class="wp-caption-text">Figure 4. sawed spandex</p></div>
<p>4) The next step is to prepare the spandex head and the rim. I used two layers of spandex fabric and a thick elastic band. Choosing the spandex is not straightforward. I just went to a textile shop and chose one. The key is that it deforms easily, but recovers its flat shape very fast and doesn&#8217;t wear too much over time.</p>
<div id="attachment_771" class="wp-caption alignright" style="width: 250px"><a href="http://www.jaimeoliver.pe/wp-content/uploads/2010/10/drum-rim-spandex-head.jpg"><img class="size-medium wp-image-771 " title="drum-rim-spandex-head" src="http://www.jaimeoliver.pe/wp-content/uploads/2010/10/drum-rim-spandex-head-300x225.jpg" alt="" width="240" height="180" /></a><p class="wp-caption-text">Figure 5. rim with spandex</p></div>
<p>Form a circle with the elastic band, then saw a fold of the two layers of spandex over it and saw them as shown in figure 4.</p>
<p>After sawing the spandex, attach it to the top rim with the nylon (I use it because it is resistant, but you can use something else). Make sure that the spandex head is stretched at the lower level of the metal rim as seen in figure 5.</p>
<p>I&#8217;ll post new pictures when i get some time to build a new head.</p>
<p>.</p>
<p>.</p>
<div id="attachment_783" class="wp-caption alignright" style="width: 192px"><a href="http://www.jaimeoliver.pe/wp-content/uploads/2010/10/3rim.jpg"><img class="size-full wp-image-783 " title="3rim" src="http://www.jaimeoliver.pe/wp-content/uploads/2010/10/3rim.jpg" alt="" width="182" height="448" /></a><p class="wp-caption-text">Figure 6. Top Rim</p></div>
<p>5)</p>
<p>The top rim needs to be adjusted to the drum body. Use the cut rod and nut numbered 2 in fig. 4 of the <a href="http://www.jaimeoliver.pe/archives/527">parts list</a>.</p>
<p>.</p>
<p>After screwing the rod into the body of the drum, use a nut to set the level at which the rim will rest as shown in figure 6.1.</p>
<p>.</p>
<p>Fit the rim in the rods until it rests on top of the nut as seen in Figure 6.2.</p>
<p>.</p>
<p>Then adjust the rim with the nuts and cap (shown in figure 5 of the <a href="http://www.jaimeoliver.pe/archives/527">parts list</a>) as seen in Figure 6.3.</p>
<p>.</p>
<p>The lower part of the rim needs to be fixed at the level where the body of the drum ends. The result should look like Figure 7.</p>
<div id="attachment_791" class="wp-caption aligncenter" style="width: 416px"><a href="http://www.jaimeoliver.pe/wp-content/uploads/2010/10/drum-without-white.jpg"><img class="size-full wp-image-791 " title="drum-without-white" src="http://www.jaimeoliver.pe/wp-content/uploads/2010/10/drum-without-white.jpg" alt="" width="406" height="341" /></a><p class="wp-caption-text">Figure 7. modified drum</p></div>
<p>.</p>
<div id="attachment_794" class="wp-caption alignright" style="width: 174px"><a href="http://www.jaimeoliver.pe/wp-content/uploads/2010/10/paperclips.jpg"><img class="size-medium wp-image-794" title="paperclips" src="http://www.jaimeoliver.pe/wp-content/uploads/2010/10/paperclips-164x300.jpg" alt="" width="164" height="300" /></a><p class="wp-caption-text">Figure 8. Paper and paperclips</p></div>
<p>6)</p>
<p>Once the structure is built, we need to prepare for tracking.</p>
<p>Get the white cardboard (it should be a flexible and light reflective thick white paper).</p>
<p>Cut it so as to cover all the interior of the drum.Once you have it cut, hold it to the body of the drum with paper clips as seen in Figure 8.</p>
<p>It is important to make sure that when you press the spandex, it doesn&#8217;t get stuck with the white cardboard/paper.</p>
<p>The result should now look like Figure 9.</p>
<div id="attachment_797" class="wp-caption aligncenter" style="width: 392px"><a href="http://www.jaimeoliver.pe/wp-content/uploads/2010/10/drum-inside-wpaper.jpg"><img class="size-full wp-image-797  " title="drum-inside-wpaper" src="http://www.jaimeoliver.pe/wp-content/uploads/2010/10/drum-inside-wpaper.jpg" alt="" width="382" height="348" /></a><p class="wp-caption-text">Figure 9. white reflective inside </p></div>
<div id="attachment_804" class="wp-caption alignright" style="width: 250px"><a href="http://www.jaimeoliver.pe/wp-content/uploads/2010/10/clamps.jpg"><img class="size-medium wp-image-804 " title="clamps" src="http://www.jaimeoliver.pe/wp-content/uploads/2010/10/clamps-300x205.jpg" alt="" width="240" height="164" /></a><p class="wp-caption-text">Figure 10. Two views of the Clamp in the Lower Rim.</p></div>
<p>7)</p>
<p>At this point the drum structure is ready.</p>
<p>We now need to attach the clamp and arm. the clamp must be attached to the lower metal rim as seen in Figure 10. I put it to a side to allow visibility by the audience, but, it can be set at any part of the rim. It is crucial that the clamp does not move at all.</p>
<p>.</p>
<p>.</p>
<div id="attachment_809" class="wp-caption alignright" style="width: 235px"><a href="http://www.jaimeoliver.pe/wp-content/uploads/2010/10/arm.jpg"><img class="size-full wp-image-809   " title="arm" src="http://www.jaimeoliver.pe/wp-content/uploads/2010/10/arm.jpg" alt="" width="225" height="150" /></a><p class="wp-caption-text">Figure 11. Insert arm into Clamp</p></div>
<p>Once the clamp is tightly attached, we need to insert the arm into the clamp as seen in Figure 11.</p>
<p>The camera needs to be prepared in advance. Remove the base of that comes with the PS3eye camera. You can do this by removing the plastic covers that are on top of the screws, opening it up (carefully!), removing the base, and screwing it up again. You can see someone doing it in the embedded video below. We are not interested in removing the IR filter, just so you know how and what to expect when opening the camera without breaking it.</p>
<p style="text-align: center;"><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="200" height="120" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://vimeo.com/moogaloop.swf?clip_id=2939528&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=1&amp;color=&amp;fullscreen=1&amp;autoplay=0&amp;loop=0" /><embed type="application/x-shockwave-flash" width="200" height="120" src="http://vimeo.com/moogaloop.swf?clip_id=2939528&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=1&amp;color=&amp;fullscreen=1&amp;autoplay=0&amp;loop=0" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p>Use two nuts (that are the same size as the screw in the bracket) and stick them to the back of the camera. Use very strong glue, I use a strong weld. Superglue and the like won&#8217;t be enough.</p>
<div id="attachment_818" class="wp-caption alignright" style="width: 250px"><a href="http://www.jaimeoliver.pe/wp-content/uploads/2010/10/camera.jpg"><img class="size-medium wp-image-818 " title="camera" src="http://www.jaimeoliver.pe/wp-content/uploads/2010/10/camera-300x189.jpg" alt="" width="240" height="151" /></a><p class="wp-caption-text">Figure 12. Camera and Bracket</p></div>
<p>The camera then should look like it does in Figure 12.</p>
<p>Finally the camera should be fixed by screwing it to the bracket. We&#8217;ll calibrate and position it correctly in the tracking software section.</p>
<p>.</p>
<p>.</p>
<p>8)</p>
<p>We can now attach the drum to the stand and attach the lamp to the stand as well and we have all the hardware in place. Below are some images.</p>
<p>&lt;&lt; PREVIOUS: <a href="http://www.jaimeoliver.pe/archives/527" target="_self">Hardware: Parts List</a></p>
<p><a href="http://www.jaimeoliver.pe/wp-content/uploads/2010/10/drum-top-side.jpg"><img class="aligncenter size-full wp-image-835" title="drum-top-side" src="http://www.jaimeoliver.pe/wp-content/uploads/2010/10/drum-top-side.jpg" alt="" width="504" height="413" /></a><a href="http://www.jaimeoliver.pe/wp-content/uploads/2010/04/drum-full-side.jpg"><img class="aligncenter size-full wp-image-830" title="drum-full-side" src="http://www.jaimeoliver.pe/wp-content/uploads/2010/04/drum-full-side.jpg" alt="" width="390" height="551" /></a><a href="http://www.jaimeoliver.pe/wp-content/uploads/2010/04/drum-full-front.jpg"><img class="aligncenter size-full wp-image-585" title="drum-full-front" src="http://www.jaimeoliver.pe/wp-content/uploads/2010/04/drum-full-front.jpg" alt="" width="233" height="506" /></a></p>
<p style="text-align: center;">&lt;&lt; PREVIOUS: <a href="http://www.jaimeoliver.pe/archives/527" target="_self">Hardware: Parts List</a> &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212; NEXT: <a href="http://www.jaimeoliver.pe/archives/896">Software: Tracking</a>&gt;&gt;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jaimeoliver.pe/archives/833/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>PS3eye</title>
		<link>http://www.jaimeoliver.pe/archives/753</link>
		<comments>http://www.jaimeoliver.pe/archives/753#comments</comments>
		<pubDate>Wed, 13 Oct 2010 06:11:12 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Recipes | recetas]]></category>

		<guid isPermaLink="false">http://www.jaimeoliver.pe/?p=753</guid>
		<description><![CDATA[The PS3eye is a fast usb2 camera with respectably good image quality. In any case it is a great camera for the price! //////////////////////////////////////////////////// LINUX \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ Linux drivers are available from http://kaswy.free.fr. In Fedora, I use the MT gspca modified driver V0.5 and compile it as explained in the driver&#8217;s files. Essentially: 0. Download the driver [...]]]></description>
			<content:encoded><![CDATA[<p>The PS3eye is a fast usb2 camera with respectably good image quality. In any case it is a great camera for the price!</p>
<p><strong><strong>//////////////////////////////////////////////////// LINUX \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\</strong></strong></p>
<p>Linux drivers are available from <a href="http://kaswy.free.fr">http://kaswy.free.fr</a>. In Fedora, I use the <a href="http://kaswy.free.fr/sites/default/files/download/ps3eye/0.5/gspca-ps3eyeMT-0.5.tar.gz">MT gspca modified driver V0.5</a> and compile it as explained in the driver&#8217;s files.</p>
<p>Essentially:</p>
<p>0. Download the driver from: <a href="http://kaswy.free.fr/sites/default/files/download/ps3eye/0.5/gspca-ps3eyeMT-0.5.tar.gz">MT gspca modified driver V0.5</a></p>
<p>1. cd to the main folder</p>
<p>2. type make</p>
<p>3. type make install</p>
<p>4. voilá</p>
<p>These steps have worked out of the box in fedora 10 and 11. You may have to fix things in other releases/platforms, for example, I&#8217;ve had a lot of trouble in Fedora 13. See <a href=" http://nuigroup.org" target="_blank">http://nuigroup.org</a> on the web to see some possible solutions.</p>
<p>There are references, an ubuntu tutorial and an explanation on how to load the driver here: <a href="http://kaswy.free.fr/?q=node/38#ps3">http://kaswy.free.fr/?q=node/38#ps3</a></p>
<p><em>Note</em>: to make <a href="http://puredata.info/community/projects/software/gem/" target="_blank">GEM</a> work with the ps3eye, it must be compiled against libv4l-dev or libv4l-devel, depending on your distribution. Just run yum install libv4l-devel in fedora. Then recompile GEM.</p>
<p><strong>/////////////////////////////////////////////////////  OS X \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\</strong></p>
<p>I use the latest cvs build of the <a href="http://sourceforge.net/projects/webcam-osx/files/">macam</a> drivers. The regular driver won&#8217;t allow for higher (&gt;30) frame rates.</p>
<p>To allow the driver to work with all applications, you need to put the file macam.component in /Library/Quicktime</p>
<p>In GEM, open the camera through the dialog message to pix_video (see pix_video-help.pd in the /help files)</p>
<p>\\\\\\\\\\\\\\\\\\\\\\\\\\ OTHER</p>
<p>If you&#8217;re looking for windows or if this is not enough information you should check out :<a href=" http://nuigroup.org" target="_blank"> http://nuigroup.org</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.jaimeoliver.pe/archives/753/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>tracks</title>
		<link>http://www.jaimeoliver.pe/archives/741</link>
		<comments>http://www.jaimeoliver.pe/archives/741#comments</comments>
		<pubDate>Sun, 26 Sep 2010 07:49:23 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Recipes | recetas]]></category>

		<guid isPermaLink="false">http://www.jaimeoliver.pe/?p=741</guid>
		<description><![CDATA[click here to DOWNLOAD the source and a help patch. Information: The [tracks] object is designed to find the best continuity between indexed information. Usually tracking objects output data in order of appearance and need further logic to achieve continuity. Best continuity is defined as the smallest euclidean distance between two points in contiguous frames [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.jaimeoliver.pe/src/tracks-src.zip" target="_blank">click here to DOWNLOAD the source and a help patch.</a></p>
<p><strong>Information</strong>:</p>
<p>The [tracks] object is designed to find the best continuity between indexed information. Usually tracking objects output data in order of appearance and need further logic to achieve continuity. Best continuity is defined as the smallest euclidean distance between two points in contiguous frames of time.</p>
<p>The graphic representation below is a one dimensional example:</p>
<p><a href="http://www.jaimeoliver.pe/wp-content/uploads/2010/09/tracks1.jpg"><img class="aligncenter size-full wp-image-746" title="tracks" src="http://www.jaimeoliver.pe/wp-content/uploads/2010/09/tracks1.jpg" alt="" width="523" height="403" /></a></p>
<p>In the graph, arrows show tracks with the best possible continuity.</p>
<p>A maximum distance determines if a datum will be kept in the same track. For example index 2 in t1 and index 2 in t2, have a distance of 24. if the maximum distance is 20, a new track will be created.</p>
<p>[tracks] will behave in the following way, for more information, see the help-file:</p>
<table border="0" cellspacing="0" cellpadding="0" width="450">
<col span="6" width="75"></col>
<tbody>
<tr height="13">
<td width="75" height="13">Time</td>
<td width="75">t0</td>
<td width="75">t1</td>
<td width="75">t2</td>
<td width="75">t3</td>
<td width="75">t4</td>
</tr>
<tr height="13">
<td height="13"></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr height="13">
<td height="13">input</td>
<td>0 50</td>
<td>0 20</td>
<td>0 19</td>
<td>0 17</td>
<td>0  65</td>
</tr>
<tr height="13">
<td height="13"></td>
<td>1 80</td>
<td>1 47</td>
<td>1 40</td>
<td>1 68</td>
<td>1 78</td>
</tr>
<tr height="13">
<td height="13"></td>
<td></td>
<td>2 84</td>
<td>2 60</td>
<td>2 75</td>
<td></td>
</tr>
<tr height="13">
<td height="13"></td>
<td></td>
<td>3 100</td>
<td>3 98</td>
<td>3 95</td>
<td></td>
</tr>
<tr height="13">
<td height="13">re-indexed</td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr height="13">
<td height="13">input</td>
<td>0 50</td>
<td>0 47</td>
<td>0 40</td>
<td></td>
<td></td>
</tr>
<tr height="13">
<td height="13">(outlet 1)</td>
<td>1 80</td>
<td>1 84</td>
<td></td>
<td>1 75</td>
<td>1 78</td>
</tr>
<tr height="13">
<td height="13"></td>
<td></td>
<td>2 20</td>
<td>2 19</td>
<td>2 17</td>
<td></td>
</tr>
<tr height="13">
<td height="13"></td>
<td></td>
<td>3 100</td>
<td>3 98</td>
<td>3 95</td>
<td></td>
</tr>
<tr height="13">
<td height="13"></td>
<td></td>
<td></td>
<td>4 60</td>
<td>4 68</td>
<td>4 65</td>
</tr>
<tr height="13">
<td height="13">tracks</td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr height="13">
<td height="13">(outlet 2)</td>
<td>-1 0</td>
<td>1 0</td>
<td>1 0</td>
<td>-2 0</td>
<td></td>
</tr>
<tr height="13">
<td height="13"></td>
<td>-1 1</td>
<td>2 1</td>
<td>-2 1</td>
<td>-1 1</td>
<td>1 1</td>
</tr>
<tr height="13">
<td height="13"></td>
<td></td>
<td>-1 2</td>
<td>0 2</td>
<td>0 2</td>
<td>-2 2</td>
</tr>
<tr height="13">
<td height="13"></td>
<td></td>
<td>-1 3</td>
<td>3 3</td>
<td>3 3</td>
<td>-2 3</td>
</tr>
<tr height="13">
<td height="13"></td>
<td></td>
<td></td>
<td>-1 4</td>
<td>1 4</td>
<td>0 4</td>
</tr>
</tbody>
</table>
]]></content:encoded>
			<wfw:commentRss>http://www.jaimeoliver.pe/archives/741/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>pix_mano</title>
		<link>http://www.jaimeoliver.pe/archives/735</link>
		<comments>http://www.jaimeoliver.pe/archives/735#comments</comments>
		<pubDate>Sun, 26 Sep 2010 07:43:15 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Recipes | recetas]]></category>

		<guid isPermaLink="false">http://www.jaimeoliver.pe/?p=735</guid>
		<description><![CDATA[click here to DOWNLOAD the source and a help patch. Information: This object for Pd/GEM is now released as part of the extra folder in the latest GEM. If you download GEM, you should have it compiled for your platform. Epic Jefferson provides some advice on getting it working on windows.]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.jaimeoliver.pe/src/pix_mano-v.02-2012-10-15.tar.gz" target="_blank">click here to DOWNLOAD the source and a help patch.</a></p>
<p>Information:</p>
<p>This object for <a href="http://www-crca.ucsd.edu/~msp/software.html" target="_blank">Pd</a>/<a href="http://puredata.info/community/projects/software/gem/" target="_blank">GEM</a> is now released as part of the extra folder in the latest GEM. If you download GEM, you should have it compiled for your platform. <a href="http://www.epicjefferson.com/2011/11/jaime-e-olivers-and-on-windows/" target="_blank">Epic Jefferson</a> provides some <a href="http://www.epicjefferson.com/2011/11/jaime-e-olivers-and-on-windows/" target="_blank">advice</a> on getting it working on windows.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jaimeoliver.pe/archives/735/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>pix_drum</title>
		<link>http://www.jaimeoliver.pe/archives/731</link>
		<comments>http://www.jaimeoliver.pe/archives/731#comments</comments>
		<pubDate>Sun, 26 Sep 2010 07:41:16 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Recipes | recetas]]></category>

		<guid isPermaLink="false">http://www.jaimeoliver.pe/?p=731</guid>
		<description><![CDATA[click here to DOWNLOAD the source and a help patch. Information This object for Pd/GEM is now released as part of the extra folder in the latest GEM. If you download GEM, you should have it compiled for your platform. Epic Jefferson provides some advice on getting it working on windows. Menno Van der Woude reports developing an OpenFrameworks version.]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.jaimeoliver.pe/src/pix_drum-src.zip" target="_blank">click here to DOWNLOAD the source and a help patch.</a></p>
<p><strong>Information</strong></p>
<p>This object for <a href="http://www-crca.ucsd.edu/~msp/software.html" target="_blank">Pd</a>/<a href="http://puredata.info/community/projects/software/gem/" target="_blank">GEM</a> is now released as part of the extra folder in the latest GEM. If you download GEM, you should have it compiled for your platform. <a href="http://www.epicjefferson.com/2011/11/jaime-e-olivers-and-on-windows/" target="_blank">Epic Jefferson</a> provides some <a href="http://www.epicjefferson.com/2011/11/jaime-e-olivers-and-on-windows/" target="_blank">advice</a> on getting it working on windows. <a href="mailto:mennowo@gmail.com" target="_blank">Menno Van der Woude</a> reports developing an <a href="http://www.openframeworks.cc/" target="_blank">OpenFrameworks</a> version.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jaimeoliver.pe/archives/731/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>pix_colortrack</title>
		<link>http://www.jaimeoliver.pe/archives/645</link>
		<comments>http://www.jaimeoliver.pe/archives/645#comments</comments>
		<pubDate>Sun, 23 May 2010 21:53:17 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Recipes | recetas]]></category>

		<guid isPermaLink="false">http://www.jaimeoliver.pe/?p=645</guid>
		<description><![CDATA[click here to DOWNLOAD the source and a help patch. Information: This object for Pd/GEM is somewhat abandoned, but the principle with which it works is better than most color tracking algorithms when one wants to track pure colors, that is, the corners of an RGB cube space. After several experiments with saturation, brightness, contrast and [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.jaimeoliver.pe/src/pix_colortrack-may10.zip" target="_blank">click here to DOWNLOAD the source and a help patch.</a></p>
<p><strong>Information:</strong></p>
<p>This object for <a href="http://www-crca.ucsd.edu/~msp/software.html" target="_blank">Pd</a>/<a href="http://puredata.info/community/projects/software/gem/" target="_blank">GEM</a> is somewhat abandoned, but the principle with which it works is better than most color tracking algorithms when one wants to track pure colors, that is, the corners of an RGB cube space.</p>
<div id="_mcePaste"><a href="http://www.jaimeoliver.pe/wp-content/uploads/2010/05/rsrch_col_redcorner042.jpg"><img class="alignright size-medium wp-image-646" title="rsrch_col_redcorner042" src="http://www.jaimeoliver.pe/wp-content/uploads/2010/05/rsrch_col_redcorner042-289x300.jpg" alt="" width="289" height="300" /></a>After several experiments with saturation, brightness, contrast and other tests, I discovered that the pixels that correctly tracked the color, were perfectly described by a plane such as the one in the RGB space image beside, leaving the top corner as our objective to track. Instead of this piramid, most video trackers look for a cube on the top red corner, allowing for pixels that are closer to grey than to red.</div>
<div>.</div>
<div id="_mcePaste">This plane is a 2-dimensional subspace of the 3-dimensional RGB space. To describe it correctly we use three RGB vectors that span it. For example, let&#8217;s use these: (0.6 0 0), (1 0.8 0) and (1 0 0.5) and use them as rows of a matrix.</div>
<div>.</div>
<div>
<div id="_mcePaste">0.60 0.00 0.00</div>
<div id="_mcePaste">1.00 0.80 0.00</div>
<div id="_mcePaste">1.00 0.00 0.50</div>
<div>.</div>
</div>
<div id="_mcePaste">Since subspaces have to cross the origin, we substract 0.5 (what we will call the red offset) from the red values of the pixels to shift the plane to go through the origin. This leaves us with the vectors (0 0 0), (0.5 0.7 0) and (0.5 0 0.6) and the new matrix:</div>
<div>.</div>
<div id="_mcePaste"><a href="http://www.jaimeoliver.pe/wp-content/uploads/2010/05/rsrch_col_redcorner03.jpg"><img class="alignright size-full wp-image-654" title="rsrch_col_redcorner03" src="http://www.jaimeoliver.pe/wp-content/uploads/2010/05/rsrch_col_redcorner03.jpg" alt="" width="220" height="205" /></a>0.40 0.80 0.00</div>
<div id="_mcePaste">0.40 0.00 0.50</div>
<div>.</div>
<div id="_mcePaste">Elimination of this matrix leaves us with:</div>
<div>.</div>
<div id="_mcePaste">0.40 0.80 0.00</div>
<div id="_mcePaste">0.00 -0.80 0.50</div>
<div>.</div>
<div id="_mcePaste">Now we can describe the nullspace for this plane:</div>
<div>.</div>
<div id="_mcePaste">- 1/(1-0.6) * R + 1/0.8 * G + 1/0.5 * B = 0</div>
<div>.</div>
<div id="_mcePaste">This is the equation for the nullspace of this plane, that is, all RGB sets that when substituted in this equation produce zero. Therefore, all pixels that do not lie on the plane will produce either a positive or negative value, identifiing in that way which ones are above or below the plane.</div>
<div>.</div>
<div id="_mcePaste">After identifying these pixels, the object makes a histogram of them in both axis of the image and determines the coordinates of the tracked object by finding the median.</div>
<div>.</div>
<div id="_mcePaste">Because of it&#8217;s original intention, that of tracking two mallets the object right now only has red and blue options, but it should be fairly easy to provide other pure colors.</div>
<div>.</div>
]]></content:encoded>
			<wfw:commentRss>http://www.jaimeoliver.pe/archives/645/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
