<?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; music</title>
	<atom:link href="http://lukeloeffler.com/tag/music/feed/" rel="self" type="application/rss+xml" />
	<link>http://lukeloeffler.com</link>
	<description></description>
	<lastBuildDate>Mon, 14 May 2012 04:57:26 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Reverse Engineering the Speaking Piano</title>
		<link>http://lukeloeffler.com/2010/speaking-piano/</link>
		<comments>http://lukeloeffler.com/2010/speaking-piano/#comments</comments>
		<pubDate>Sat, 02 Jan 2010 23:18:33 +0000</pubDate>
		<dc:creator>luke</dc:creator>
				<category><![CDATA[blog]]></category>
		<category><![CDATA[music]]></category>
		<category><![CDATA[puredata]]></category>
		<category><![CDATA[sound]]></category>

		<guid isPermaLink="false">http://lukeloeffler.com/?p=648</guid>
		<description><![CDATA[How Puredata can be used to translate sound to a restricted sequence of discrete notes.]]></description>
			<content:encoded><![CDATA[<p>I was really intrigued by Peter Ablinger&#8217;s <a href="http://createdigitalmusic.com/2009/10/06/the-speaking-piano-and-transforming-audio-to-midi/">Speaking Piano</a> (officially titled <a href="http://ablinger.mur.at/docu11.html">Quadraturen</a>, auf Deutsch)–a system that takes human speech and translates it to a sequence of notes to be played on a piano by a bunch of solenoids, or &#8220;mechanical fingers.&#8221;</p>
<p>Since I&#8217;ve been learning Puredata, I thought it would be a fun exercise to attempt to recreate the software Ablinger wrote to translate speech to midi notes. The secondary purpose was to turn my oft-idle digital piano into an interactive sound piece, translating sound from another part of the house into music downstairs. The result isn&#8217;t perfect, but I think it still achieves the same ambiguous result where you are able to hear the voice once you see the transcript. The biggest difference is obviously that I&#8217;m using a digital piano, not a mechanically-actuated analog piano. However, the Roland has a fairly sophisticated physical model with things like dampening and string resonance, so it&#8217;s better than nothing.</p>
<p>Below are the two components to the software. Clicking the image will link to the pd file if you&#8217;d like to experiment yourself. You can either load in a pre-recorded wave file and play it back, or set the gain to the adc~ to 1 and use a microphone to drive it in real time (although I set up a delay of about 3 seconds so I could evaluate the results without hearing my own voice).  <em>delread~ </em>passes the data into <em>fiddle~</em> which does all the hard work of Fourier analysis. A metronome set to 15 ms samples the outputs of the individual sine components and creates midi notes.  The blocks that create the actual notes are <em>partial_key</em>.  The highest key on the piano is midi 108, which corresponds to 4186 Hz, so I added a low pass filter to remove frequencies that couldn&#8217;t be reproduced.</p>
<p><a href="http://lukeloeffler.com/wordpress/wp-content/uploads/2010/01/talking_piano.pd"><img class=" size-large wp-image-649" title="talking_piano.pd" src="http://lukeloeffler.com/wordpress/wp-content/uploads/2010/01/talking_piano.pd-681x800.jpg" alt="talking_piano.pd" width="681" height="800" /></a></p>
<p>partial_key.pd creates the midi notes which are sent to the piano. The signal makenote_b is received from the metronome, which causes the note to be made. Additionally, no note is sent if the midi key number is higher than 108, the limit of my piano, or if the amplitude is too small (&lt; 0.01).</p>
<p><a href="http://lukeloeffler.com/wordpress/wp-content/uploads/2010/01/partial_key.pd"><img class=" size-full wp-image-653" title="partial_key.pd" src="http://lukeloeffler.com/wordpress/wp-content/uploads/2010/01/partial_key.pd1.jpg" alt="partial_key.pd" width="377" height="378" /></a></p>
<p>Here is <a href="http://lukeloeffler.com/wordpress/wp-content/uploads/2010/01/talkingpiano01.mp3">a sample of the result</a>, speaking the following: &#8220;these are very profound words, which is why they are being spoken by a piano. I hope you are forever moved by these profound words.&#8221;</p>
<p>I&#8217;d love any feedback from Puredata or DSP gurus on how the software could be improved. I&#8217;m not quite sure what sorts of additional analysis and synthesis steps are being taken in the Quadraturen software as it is not available.</p>
]]></content:encoded>
			<wfw:commentRss>http://lukeloeffler.com/2010/speaking-piano/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
<enclosure url="http://lukeloeffler.com/wordpress/wp-content/uploads/2010/01/talkingpiano01.mp3" length="215863" type="audio/mpeg" />
		</item>
		<item>
		<title>Wind Carol</title>
		<link>http://lukeloeffler.com/2009/wind-carol/</link>
		<comments>http://lukeloeffler.com/2009/wind-carol/#comments</comments>
		<pubDate>Sun, 20 Dec 2009 02:20:04 +0000</pubDate>
		<dc:creator>luke</dc:creator>
				<category><![CDATA[blog]]></category>
		<category><![CDATA[audio]]></category>
		<category><![CDATA[music]]></category>
		<category><![CDATA[puredata]]></category>
		<category><![CDATA[sound]]></category>

		<guid isPermaLink="false">http://lukeloeffler.com/?p=620</guid>
		<description><![CDATA[It&#8217;s that time of year again. Christmas is coming, snow is falling outside my window, and the wind is whistling.  Maybe it&#8217;s late, or my mind is playing tricks on me, but the wind seems a bit more coherent than usual&#8230; Musical, even. Creepy. This is how I&#8217;d like to imagine the first Christmas–even the [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s that time of year again. Christmas is coming, snow is falling outside my window, and the wind is whistling.  Maybe it&#8217;s late, or my mind is playing tricks on me, but the wind seems a bit more coherent than usual&#8230; Musical, even. Creepy.</p>
<p><object classid="clsid:02bf25d5-8c17-4b23-bc80-d3488abddc6b" width="400" height="100" codebase="http://www.apple.com/qtactivex/qtplugin.cab#version=6,0,2,0"><param name="src" value="http://lukeloeffler.com/wordpress/wp-content/uploads/2009/12/windsong.mp3" /><embed type="video/quicktime" width="400" height="100" src="http://lukeloeffler.com/wordpress/wp-content/uploads/2009/12/windsong.mp3"></embed></object></p>
<p>This is how I&#8217;d like to imagine the first Christmas–even the wind crying out. And doing so subtly, not unlike the whispering symbolic language of babies and cattle stalls.</p>
<p>The idea came about from the desire to manipulate various parts of the built environment to create music as the wind is blowing. Maybe change the orientation of a sheet of metal, the size of some opening, etc. With a feedback loop, the system could progress through a melody once it detected that the desired notes of the sequence had been played. Although a composer could control the content, the weather would determine the tempo. A listener may have to wait weeks or months for the piece to complete without sufficient wind.</p>
<p>In the meantime, I created the above synthetic version of what I imagine it could sound like (though the song above would probably have to be recorded somewhere in Antarctica). The synthesized version uses a custom patch written in Pure Data to shape the frequency of white noise to follow a midi file of choice.</p>
]]></content:encoded>
			<wfw:commentRss>http://lukeloeffler.com/2009/wind-carol/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
<enclosure url="http://lukeloeffler.com/wordpress/wp-content/uploads/2009/12/windsong.mp3" length="3048050" type="audio/mpeg" />
		</item>
		<item>
		<title>Musical Meanderings</title>
		<link>http://lukeloeffler.com/2009/musical-meanderings/</link>
		<comments>http://lukeloeffler.com/2009/musical-meanderings/#comments</comments>
		<pubDate>Tue, 14 Jul 2009 00:37:40 +0000</pubDate>
		<dc:creator>luke</dc:creator>
				<category><![CDATA[blog]]></category>
		<category><![CDATA[music]]></category>

		<guid isPermaLink="false">http://lukeloeffler.com/?p=280</guid>
		<description><![CDATA[My first love has always been music. On and off since the age of fourteen or so, I&#8217;ve been writing and recording small musical sketches. As I have time to pull things out of my archive I&#8217;ll post them here. Clarinet Jam Recorded over the 2007 Christmas break shortly after impulsively buying an old French-made [...]]]></description>
			<content:encoded><![CDATA[<p>My first love has always been music. On and off since the age of fourteen or so, I&#8217;ve been writing and recording small musical sketches. As I have time to pull things out of my archive I&#8217;ll post them here.</p>
<p><a href="http://lukeloeffler.com/wordpress/wp-content/uploads/2009/07/cj.mp3">Clarinet Jam</a> Recorded over the 2007 Christmas break shortly after impulsively buying an old French-made <em>Buffet</em> clarinet to sate my desire to have a woodwind. I like to imagine some old Jewish rabbis in the town square having a break-dance competition.</p>
<p><a href="http://lukeloeffler.com/wordpress/wp-content/uploads/2009/07/mourningbells.mp3">Mourning Bells (Dueling Marches)</a> A slightly morose piece of musical humor. Chopin and Wagner never sounded so good together.</p>
<p><a href="http://lukeloeffler.com/wordpress/wp-content/uploads/2009/07/last_transmission.mp3">Last Transmission</a> An atmospheric piano piece intended to invoke the feelings of detachment. Also used as the demo in <a href="http://lukeloeffler.com/2008/falling-notes/">Falling Notes</a>.</p>
<p><img class="alignleft" title="calvary" src="http://farm3.static.flickr.com/2633/4033350663_b48acee553_m.jpg" alt="" width="240" height="169" /><a href="http://lukeloeffler.com/wordpress/wp-content/uploads/2009/07/4clarinet.mp3">Clarinet and Piano</a> I had the opportunity to pull my clarinet out of storage after a year and play around in an incredible space with a world-class musician. His piano playing more than compensates for my squawking.</p>
]]></content:encoded>
			<wfw:commentRss>http://lukeloeffler.com/2009/musical-meanderings/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
<enclosure url="http://lukeloeffler.com/wordpress/wp-content/uploads/2009/07/cj.mp3" length="1818906" type="audio/mpeg" />
<enclosure url="http://lukeloeffler.com/wordpress/wp-content/uploads/2009/07/mourningbells.mp3" length="1343133" type="audio/mpeg" />
<enclosure url="http://lukeloeffler.com/wordpress/wp-content/uploads/2009/07/last_transmission.mp3" length="2447413" type="audio/mpeg" />
<enclosure url="http://lukeloeffler.com/wordpress/wp-content/uploads/2009/07/4clarinet.mp3" length="4226220" type="audio/mpeg" />
		</item>
		<item>
		<title>Falling Notes</title>
		<link>http://lukeloeffler.com/2008/falling-notes/</link>
		<comments>http://lukeloeffler.com/2008/falling-notes/#comments</comments>
		<pubDate>Wed, 02 Jul 2008 21:27:22 +0000</pubDate>
		<dc:creator>luke</dc:creator>
				<category><![CDATA[blog]]></category>
		<category><![CDATA[interactive]]></category>
		<category><![CDATA[music]]></category>
		<category><![CDATA[processing]]></category>
		<category><![CDATA[visualization]]></category>

		<guid isPermaLink="false">http://lukeloeffler.com/?p=87</guid>
		<description><![CDATA[An interactive music visualization requiring the performer to consider musical and aesthetic outcomes simultaneously.]]></description>
			<content:encoded><![CDATA[<p><iframe scrolling="no" src="http://lukeloeffler.com/wordpress/wp-content/uploads/2008/07/piano.html" width=129 height=401 style="border: none; overflow-x: hidden; overflow-y: hidden; scroll-x:none; scroll-y: none; padding: 1em 1em 0 0; float: left;"></p>
<p>Your Browser does not support iframes, so you cannot view the embedded movie. You may still view a <a href="http://www.flickr.com/photos/ukle/2475548679/in/set-72157604948741164/">version</a> of the movie without sound.</p>
<p></iframe></p>
<p>In this interactive visualization, a musician watches the screen while performing on a keyboard. As notes are played, &#8216;raindrops&#8217; begin to fall. Louder notes fall faster than softer ones and continue to accelerate as the note is sustained. Eventually, notes will blacken if they have been falling for an extended period, and will slowly dissipate unless cleared away by fresh rain from above.</p>
<p>The real-time feedback causes the musician to alter what is being played in order to generate particular audio and visual outcomes simultaneously.</p>
<p>Music in this demo is <em><a href="http://lukeloeffler.com/2009/musical-meanderings/">Final Transmission</a></em> by Luke Loeffler</p>
]]></content:encoded>
			<wfw:commentRss>http://lukeloeffler.com/2008/falling-notes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

