<?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>Luke Loeffler &#187; experiment</title>
	<atom:link href="http://lukeloeffler.com/tag/experiment/feed/" rel="self" type="application/rss+xml" />
	<link>http://lukeloeffler.com</link>
	<description></description>
	<lastBuildDate>Thu, 29 Apr 2010 20:07:44 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Glass Camera Experiment</title>
		<link>http://lukeloeffler.com/2010/glass-camera/</link>
		<comments>http://lukeloeffler.com/2010/glass-camera/#comments</comments>
		<pubDate>Mon, 19 Apr 2010 18:09:17 +0000</pubDate>
		<dc:creator>luke</dc:creator>
				<category><![CDATA[Work in Progress]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[experiment]]></category>
		<category><![CDATA[photography]]></category>

		<guid isPermaLink="false">http://lukeloeffler.com/?p=756</guid>
		<description><![CDATA[An experimental photo process to hopefully record images on glass and copper]]></description>
			<content:encoded><![CDATA[<p>Inspired by some amazing <a href="http://helpmyphysics.co.uk/wordpress/?p=276">photos of the sun&#8217;s path</a>, I decided to put together a pinhole camera. Fortunately (or possibly unfortunately when I see the results after a few months), I didn&#8217;t have any photo paper and had to improvise. I&#8217;ve been <a href="http://lukeloeffler.com/2010/diy-pcb/">making PCBs</a> using a photo-sensitive thin-film mask over the copper.  I&#8217;ve also been experimenting with glass etching using HF acid.</p>
<p>The process I&#8217;m going to follow will be to expose the sensitized glass, develop it in a basic developer, and then etch in HF acid. The areas of the light sensitive film receiving light should become &#8220;hardened&#8221; so they adhere to the glass after the development process and during the etching process. The end result should be that dark areas of the exposure are frosted (opaque) and the light areas of the exposure are see-through. I also hope to complete the process on a piece of copper board leaving copper in the light areas and nothing in the dark areas.</p>
<p><a href="http://lukeloeffler.com/wordpress/wp-content/uploads/2010/04/IMG_2847.jpg"><img class="alignnone size-medium wp-image-758" title="IMG_2847" src="http://lukeloeffler.com/wordpress/wp-content/uploads/2010/04/IMG_2847-360x240.jpg" alt="IMG_2847" width="360" height="240" /></a></p>
<p><a href="http://lukeloeffler.com/wordpress/wp-content/uploads/2010/04/IMG_2847.jpg"></a><a href="http://lukeloeffler.com/wordpress/wp-content/uploads/2010/04/IMG_2846.jpg"><img class="alignnone size-medium wp-image-757" title="IMG_2846" src="http://lukeloeffler.com/wordpress/wp-content/uploads/2010/04/IMG_2846-360x259.jpg" alt="IMG_2846" width="360" height="259" /></a></p>
<p>Pictures are of the (hopeful) view, and the camera itself, lashed to a railing.</p>
<p>I&#8217;m not quite sure how long to let it go. Normally, the film takes 15 minutes to develop under a 100W full-spectrum lamp at 10 inches. I&#8217;m guessing with a 1/16&#8243; diameter hole, it could take months.  Fingers crossed, I don&#8217;t want to have to repeat this&#8230;</p>
<h3>Update</h3>
<p><a href="http://lukeloeffler.com/wordpress/wp-content/uploads/2010/04/neg.jpg"><img class="alignnone size-medium wp-image-767" title="neg" src="http://lukeloeffler.com/wordpress/wp-content/uploads/2010/04/neg-360x221.jpg" alt="neg" width="360" height="221" /></a></p>
<p>I was impatient and peeked at the film as it was progressing. The blue color indicates it has been exposed while the greenish color indicates non-exposure. As you can see, the skyline was recorded&#8211;the bright sky causing the blue exposure and the buildings due to their non-reflectivity, left parts unexposed.  Unfortunately, there must not have been enough light because developing the film ate away the exposed areas as well.  Back to the drawing board.</p>
]]></content:encoded>
			<wfw:commentRss>http://lukeloeffler.com/2010/glass-camera/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Pure Data: The Swiss Army Knife of Audio</title>
		<link>http://lukeloeffler.com/2009/pure-data/</link>
		<comments>http://lukeloeffler.com/2009/pure-data/#comments</comments>
		<pubDate>Thu, 17 Dec 2009 06:30:16 +0000</pubDate>
		<dc:creator>luke</dc:creator>
				<category><![CDATA[blog]]></category>
		<category><![CDATA[audio]]></category>
		<category><![CDATA[experiment]]></category>
		<category><![CDATA[puredata]]></category>
		<category><![CDATA[sound]]></category>

		<guid isPermaLink="false">http://lukeloeffler.com/?p=597</guid>
		<description><![CDATA[After a weekend workshop (thanks to Hans-Christoph Steiner and Eyebeam) on Pure Data, I&#8217;ve been tinkering with it quite a bit lately and geeking out on old signal processing stuff I haven&#8217;t touched since college.
Over the years I&#8217;ve played with a number of tools for audio processing: Matlab, jMusic, a Java library for algorithmic composition, Nyquist, a [...]]]></description>
			<content:encoded><![CDATA[<p>After a weekend workshop (thanks to Hans-Christoph Steiner and Eyebeam) on <a href="http://puredata.info">Pure Data</a>, I&#8217;ve been tinkering with it quite a bit lately and geeking out on old signal processing stuff I haven&#8217;t touched since college.</p>
<p>Over the years I&#8217;ve played with a number of tools for audio processing: Matlab, <a href="http://jmusic.ci.qut.edu.au/">jMusic</a>, a Java library for algorithmic composition, <a href="http://www.cs.cmu.edu/~music/nyquist/">Nyquist</a>, a Lisp-based synthesis/analysis environment, <a href="http://beadsproject.net">Beads</a>, another Java library for synthesis and analysis, and <a href="http://www.audiosynth.com/">Supercollider</a>, another synth/analysis environment with smalltalk-like syntax. All of these are powerful tools, but aren&#8217;t as engaging in terms of interactivity. Having been forced to use LabVIEW in the past, another dataflow language, I was initially reluctant to pick up another, but for audio work, it&#8217;s been great. It is so easy to try new ideas without any need to recompile. It&#8217;s a lot like playing with a running circuit.</p>
<p>So far I&#8217;ve used to to analyze sound and control some lighting panels to create a reactive environment, synthesize tones for my invisible chimes project, and do some other synth experiments. This brief <a href="http://lukeloeffler.com/wordpress/wp-content/uploads/2009/12/pd-subtractive-synth-test.mp3">subtractive synth</a> test uses filters to shape pink noise into hazy tones forming a chord. <a href="http://lukeloeffler.com/wordpress/wp-content/uploads/2009/12/Mac-Audio_recording-7.mp3">synth2</a> tinkers with sample playback and ring modulation. Next up, granular synthesis to build some instrumental Christmas music?</p>
<h3>Other Useful Audio Software</h3>
<p><a href="http://www.jackosx.com/">Jack</a> is a great tool for routing inputs and outputs on your system. It has made it really simple, for example, to send the output of iTunes to Pure Data, which allows me to sample chunks, process them, and mix it back into songs playing. I made a small program that samples chunks of the last song and then injects them into the new song when it detects beats. It also supports plugins, so you could use Pure Data as a signal processor for other programs like Logic.</p>
<p><a href="http://www.ambrosiasw.com/utilities/wiretap/">Wiretap Studio</a> is really useful for capturing any sound source on your system, doing basic waveform editing, fades, effects, and exporting to any other sound file format.</p>
<p><a href="http://rjdj.me/">RjDj</a> for the iPhone is a program that lets you download (and create, using Pd) &#8220;scenes&#8221; that generate music or process environmental sound and play it through the headphones. For example, one might identify that fan humming along at 300 Hz and re-inject overtones to change its timbre.</p>
]]></content:encoded>
			<wfw:commentRss>http://lukeloeffler.com/2009/pure-data/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
<enclosure url="http://lukeloeffler.com/wordpress/wp-content/uploads/2009/12/pd-subtractive-synth-test.mp3" length="659490" type="audio/mpeg" />
<enclosure url="http://lukeloeffler.com/wordpress/wp-content/uploads/2009/12/Mac-Audio_recording-7.mp3" length="1274076" type="audio/mpeg" />
		</item>
		<item>
		<title>Tangible Drawing Interfaces</title>
		<link>http://lukeloeffler.com/2009/tangible-drawing-interfaces/</link>
		<comments>http://lukeloeffler.com/2009/tangible-drawing-interfaces/#comments</comments>
		<pubDate>Thu, 03 Dec 2009 23:36:11 +0000</pubDate>
		<dc:creator>luke</dc:creator>
				<category><![CDATA[blog]]></category>
		<category><![CDATA[experiment]]></category>
		<category><![CDATA[interactive]]></category>
		<category><![CDATA[processing]]></category>
		<category><![CDATA[trackmate]]></category>

		<guid isPermaLink="false">http://lukeloeffler.com/?p=556</guid>
		<description><![CDATA[An experiment with tangible interfaces allowing on-screen drawing using assorted physical objects, each of which have a specific function.]]></description>
			<content:encoded><![CDATA[<p><a href="http://lukeloeffler.com/wordpress/wp-content/uploads/2009/12/3601289505_23738aab71_b.jpg"><img class="alignleft size-medium wp-image-557" title="3601289505_23738aab71_b" src="http://lukeloeffler.com/wordpress/wp-content/uploads/2009/12/3601289505_23738aab71_b-360x239.jpg" alt="3601289505_23738aab71_b" width="360" height="239" /></a>This is a screenshot of one of the resulting paintings from an experiment using <a href="http://trackmate.media.mit.edu/">trackmate</a> to create a tangible drawing interface. By placing special coded labels on the bottom of miscellaneous objects I had lying around my desk, I was able to assign a different function to each object. For example, a green candle drew green lines and a yellow one drew in yellow. Another one was a &#8220;universal&#8221; brush that took on the color determined by the rotation of a fourth object. Another object only erased, and one final one controlled the opacity of the brushes by its position.</p>
<p>The trackmate system examines an image (in this case coming from a cheap webcam) and looks for special coded labels. Each label contains a unique ID and also encodes its rotational direction. When trackmate identifies a label, it sends the id, position, and rotation to my software in processing which in turn draws lines.</p>
<p>The screenshot was taking during an interactive session where one person was controlling the color, the other was controlling the opacity, and the third was moving the brush.</p>
<p>The lines in the drawing are broken up due to the low resolution of the camera (this could have possibly been solved with interpolation).  I need to calibrate the camera again (and really, buy a cam with a res higher than 640&#215;480), and find a better surface that will filter some of the &#8216;noise&#8217; from the scene.  Still, trackmate behaved remarkably well given the circumstances.</p>
<p>The trackmate website has good tutorials on how to get a system up and running. My <a href="http://lukeloeffler.com/wordpress/wp-content/uploads/2009/12/trackmate_tangible_drawing_interface.pde">source code</a> is provided to help get you started if you want to play around with the system, although I accidentally lost the final revision, so the code provided may not function as expected.</p>
]]></content:encoded>
			<wfw:commentRss>http://lukeloeffler.com/2009/tangible-drawing-interfaces/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Web Cam Heart Rate Monitor</title>
		<link>http://lukeloeffler.com/2009/web-cam-heart-rate-monitor/</link>
		<comments>http://lukeloeffler.com/2009/web-cam-heart-rate-monitor/#comments</comments>
		<pubDate>Sun, 15 Nov 2009 02:34:18 +0000</pubDate>
		<dc:creator>luke</dc:creator>
				<category><![CDATA[blog]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[experiment]]></category>
		<category><![CDATA[processing]]></category>

		<guid isPermaLink="false">http://lukeloeffler.com/?p=463</guid>
		<description><![CDATA[How to measure your heart rate with a webcam and some Processing code.]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been experimenting with methods to determine my heart rate in order to add bio-feedback to software. This Processing sketch uses the same principle as the devices in the doctor&#8217;s office that clip on to your finger. When your heart beats, more blood is pumped through the capillaries in your fingertip, thus absorbing more light and causing a slight darkening of your fingertip.</p>
<p>To use the code you&#8217;ll need a copy of <a href="http://processing.org">Processing</a>. Shine a bright flashlight against your thumbnail (I used a bright LED flashlight) and place your thumb over the webcam lens so it completely blocks it. Try to hold as still as possible.  The brightness of the red channel is measured each frame and a running average is kept. If the brightness drops below the recent average, a small circle is drawn representing a contracting heart.</p>
<p>If it is unreliable, you may need to tweak the navg parameter and/or find a way to stabilize the light source, finger, and camera, as small shifts will cause a change in the amount of light detected by the camera.</p>
<p><a href='http://lukeloeffler.com/wordpress/wp-content/uploads/2009/11/heartrate_monitor_camera.pde'>Download the Code</a></p>
]]></content:encoded>
			<wfw:commentRss>http://lukeloeffler.com/2009/web-cam-heart-rate-monitor/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
