<?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>Peter Krantz &#187; Music</title>
	<atom:link href="http://www.peterkrantz.com/category/music/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.peterkrantz.com</link>
	<description>A blog about technology, visualization, music and unmanned vehicle experiments</description>
	<lastBuildDate>Mon, 12 Jul 2010 14:47:03 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Water and Light Controlled Synthesizer (No Soldering Required!)</title>
		<link>http://www.peterkrantz.com/2007/water-light-synthesizer/</link>
		<comments>http://www.peterkrantz.com/2007/water-light-synthesizer/#comments</comments>
		<pubDate>Wed, 20 Jun 2007 13:59:16 +0000</pubDate>
		<dc:creator>Pete</dc:creator>
				<category><![CDATA[Mac]]></category>
		<category><![CDATA[Music]]></category>
		<category><![CDATA[Robotics]]></category>

		<guid isPermaLink="false">http://www.peterkrantz.com/2007/water-light-synthesizer/</guid>
		<description><![CDATA[This was going to be my summer project, but after getting the parts I couldn&#8217;t stop myself from putting it together straight away. About a year ago I read an article about a guy who put together a synthesizer controller using laser pointers, a bowl of water, a solar panel and MAX/MSP. I can&#8217;t find [...]]]></description>
			<content:encoded><![CDATA[<p>This was going to be my summer project, but after getting the parts I couldn&#8217;t stop myself from putting it together straight away. About a year ago I read an article about a guy who put together a synthesizer controller using laser pointers, a bowl of water, a solar panel and <a href="http://www.cycling74.com/products/maxmsp">MAX/MSP</a>. I can&#8217;t find the link anymore but it doesn&#8217;t matter when you want to roll your own!</p>
<p>This is what you need:</p>
<ul>
<li><a href="http://www.kjell.com/?item=44016&#038;path=">A solar panel</a> (2V to be able to connect it to the audio in port on my MacBook), $10</li>
<li>Some cabling (a 3.5 mm standard stereo plug)</li>
<li>A bowl of water</li>
<li>A software synthesizer that can read input from the audio in port.</li>
</ul>
<p>I already had access to water and a glass bowl and decided to skip the laser pointer (a round bowl will create interesting areas of focused light anyway). This is the hardware setup:</p>
<p><img class="center" src='http://www.peterkrantz.com/wp-content/uploads/2007/06/setup.jpg' alt='A macbook, a bowl of water and a solar panel conected to the audio in port.' /></p>
<p>Connecting the solar panel to your Mac is easy. Just connect the wires to a 3.5 mm stereo (or mono) cable and connect it to the line in audio port. Instead of using MAX/MSP I opted for the <a href="http://puredata.org/">free Puredata toolkit</a> (Pd). Pd is a real-time graphical programming environment for live interactive computer music. It is an interesting way to program a virtual synthesizer. </p>
<p>Fire up Pd and create a patch that looks like this:</p>
<p><img class="center" src='http://www.peterkrantz.com/wp-content/uploads/2007/06/patch-setup.gif' alt='Pd patch for water controlled synthesizer' /></p>
<p>Starting form the top left the adc (analog to digital converter) receives the signal input from the solar panel and sends it to a multiplier to increase signal strength. Two oscillators and a sawtooth phasor generator send data in various frequencies (330, 440, and 349 correspoding to C, F and A on a piano) to an amplitude modulator which is controlled by the solar panel input.</p>
<p>The resulting audio signal is sent to a dac (digital to analog converter) which will ouput the result to your computer speaker. If I starting Pb and create a small wave in the bowl of water in front of the solar panel the <a href='http://www.peterkrantz.com/wp-content/uploads/2007/06/pbtest.mp3'>result sounds like this (heavily compressed mp3)</a>.</p>
<p>The options are, as usual, endless. Pd is capable of creating extremely complex patches and visualizations. You can easily use the optical interface to control aspects of midi streams.</p>
<p>Now that I ruined my summer project I have to think of something else. Any ideas? Maybe <a href="http://en.wikipedia.org/wiki/Smalltalk">Smalltalk</a>. Or an <a href="http://www.makezine.com/blog/archive/2007/06/rc_steam_turbine_rank.html">R/C steam turbine tank</a>?</p>
<div id="facebook_like"><iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.peterkrantz.com%2F2007%2Fwater-light-synthesizer%2F&amp;layout=standard&amp;show-faces=true&amp;width=450&amp;action=like&amp;font=arial&amp;colorscheme=light" scrolling="no" title="I like this" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:450px; height:auto;"></iframe></div>]]></content:encoded>
			<wfw:commentRss>http://www.peterkrantz.com/2007/water-light-synthesizer/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
<enclosure url="http://www.peterkrantz.com/wp-content/uploads/2007/06/pbtest.mp3" length="397897" type="audio/mpeg" />
		</item>
	</channel>
</rss>
