<?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>Ethan Hein&#039;s Blog &#187; computers</title>
	<atom:link href="http://www.ethanhein.com/wp/tag/computers/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ethanhein.com/wp</link>
	<description>Music, Technology, Evolution</description>
	<lastBuildDate>Fri, 18 May 2012 00:48:12 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>How does a computer work?</title>
		<link>http://www.ethanhein.com/wp/2011/how-does-a-computer-work/</link>
		<comments>http://www.ethanhein.com/wp/2011/how-does-a-computer-work/#comments</comments>
		<pubDate>Sat, 16 Jul 2011 23:07:06 +0000</pubDate>
		<dc:creator>Ethan</dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Math]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[computer science]]></category>
		<category><![CDATA[computers]]></category>
		<category><![CDATA[linkedin]]></category>
		<category><![CDATA[quora]]></category>
		<category><![CDATA[visualization]]></category>

		<guid isPermaLink="false">http://www.ethanhein.com/wp/2011/ethan-heins-answer-to-how-does-a-computer-work/</guid>
		<description><![CDATA[Computers can only do a few very simple operations consisting of flipping electrical switches on and off. You can represent numbers in patterns of the on-off states of sequences of switches. By flipping switches on and off in particular patterns, you can perform simple mathematical operations on the numbers. You can do more complex mathematical [...]]]></description>
			<content:encoded><![CDATA[<p>Computers can only do a few very simple operations consisting of flipping electrical switches on and off. You can represent numbers in patterns of the on-off states of sequences of switches. By flipping switches on and off in particular patterns, you can perform simple mathematical operations on the numbers. You can do more complex mathematical operations by stringing simpler operations together.</p>
<p><span id="more-6834"></span>Below is a diagram showing a computer that can add one plus one to get two. It&#8217;s made out of an <a href="http://en.wikipedia.org/wiki/XOR_gate">XOR gate</a> and an <a href="http://en.wikipedia.org/wiki/AND_gate">AND gate</a>, each of which is a relatively simple bunch of <a href="http://www.ethanhein.com/wp/2009/how-transistors-think/">transistors</a> wired together in particular ways. Transistors are just on-off switches that can be flipped electrically, so they have no moving parts (except electrons.) The beauty part is that the output wire of one transistor can be used to flip another transistor on and off.</p>
<p>The &#8220;numbers&#8221; in the diagram are just voltages: &#8220;zero&#8221; is zero volts, and &#8220;one&#8221; is (I think) 2.5 volts. The numbers in a computer are encoded in <a href="http://en.wikipedia.org/wiki/Binary_numeral_system">binary</a> (base two) because it&#8217;s the most convenient way to physically realize them &#8212; voltage that&#8217;s pretty close to zero can be read as zero, and a voltage that&#8217;s pretty close to 2.5 can be read as one.<br />
<a href="http://www.flickr.com/photos/ethanhein/3492880060/"><img class="qtext_image" style="cursor: pointer;" title="One-bit adder" src="http://d2o7bfz2il9cb7.cloudfront.net/main-qimg-c1c288c8de0404a57341cbd6468b4f3f" alt="" width="485" height="546" /></a>This simple adder has two input wires and two output wires. The input wires each represent a single binary digit, and the output wires together represent two binary digits. If one input wire has a voltage and the other doesn&#8217;t, the equivalent of adding one plus zero, the adder returns no voltage in the &#8220;twos&#8221; digit and a voltage on the &#8220;ones&#8221; digit. If there&#8217;s a voltage on both input wires, the equivalent of adding one plus one, the adder returns a voltage on the &#8220;twos&#8221; digit and no voltage on the &#8220;ones&#8221; digit, the binary number 10, or as we know it in decimal notation, 2.</p>
<p>Here&#8217;s a diagram of a four-bit adder, capable of adding numbers as big as sixteen. The diagram shows how adding seven (0111) plus twelve (1100) to get nineteen (10011) would work.<br />
<a href="http://www.flickr.com/photos/ethanhein/3492063259/"><img class="qtext_image" style="cursor: pointer;" title="Four-bit adder" src="http://d2o7bfz2il9cb7.cloudfront.net/main-qimg-2f8484890bc771cb002b12cc2f832f85" alt="" width="485" height="318" /></a>Wire together enough adders and other basic logic devices, set up at the right initial voltages, and you&#8217;ve got yourself a computer.</p>
<p><em><span class="qlink_container"><a href="http://www.quora.com/How-does-a-computer-work">Original post on Quora</a></span></em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.ethanhein.com/wp/2011/how-does-a-computer-work/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Inside the recording process</title>
		<link>http://www.ethanhein.com/wp/2010/inside-the-recording-process/</link>
		<comments>http://www.ethanhein.com/wp/2010/inside-the-recording-process/#comments</comments>
		<pubDate>Fri, 26 Feb 2010 16:40:37 +0000</pubDate>
		<dc:creator>Ethan</dc:creator>
				<category><![CDATA[Autobio]]></category>
		<category><![CDATA[Composition]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Improvisation]]></category>
		<category><![CDATA[Music]]></category>
		<category><![CDATA[Recording]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[analog]]></category>
		<category><![CDATA[audio]]></category>
		<category><![CDATA[audio editing]]></category>
		<category><![CDATA[autotune]]></category>
		<category><![CDATA[computers]]></category>
		<category><![CDATA[electronica]]></category>
		<category><![CDATA[hip-hop]]></category>
		<category><![CDATA[looping]]></category>
		<category><![CDATA[mashups]]></category>
		<category><![CDATA[pro tools]]></category>
		<category><![CDATA[remixes]]></category>
		<category><![CDATA[revival revival]]></category>
		<category><![CDATA[Sampling]]></category>
		<category><![CDATA[sequencing]]></category>
		<category><![CDATA[synths]]></category>
		<category><![CDATA[tape]]></category>
		<category><![CDATA[tape editing]]></category>
		<category><![CDATA[visualization]]></category>

		<guid isPermaLink="false">http://www.ethanhein.com/wp/?p=3369</guid>
		<description><![CDATA[The vast majority of music that I hear is recorded, and if you&#8217;re reading this the same is probably true of you. Most people don&#8217;t have a clear idea what the recording process is like, especially using computers. Here are my adventures in recording. I grew up in the eighties. Cassette recorders were just starting [...]]]></description>
			<content:encoded><![CDATA[<p>The vast majority of music that I hear is recorded, and if you&#8217;re reading this the same is probably true of you. Most people don&#8217;t have a clear idea what the recording process is like, especially using computers. Here are my adventures in recording.</p>
<p>I grew up in the eighties. Cassette recorders were just starting to be ordinary household gear. My sister and I made a bunch of random tapes as kids, not knowing what we were doing or why, just that it was fun. We also taped songs we liked off the radio. We waited until the song we wanted came on, and then held up the tape recorder to the radio speaker. Go ahead and laugh, millenials, but this was such a widespread practice among my generation that there&#8217;s <a href="http://www.facebook.com/home.php#!/pages/When-I-was-younger-I-would-record-my-favorite-songs-off-the-radio-onto-tape/421713000345?ref=mf">a whole Facebook group</a> devoted to it.</p>
<p style="text-align: center;"><img class="aligncenter" title="The eighties!" src="http://upload.wikimedia.org/wikipedia/commons/0/04/Ghettoblaster-family.jpg" alt="" width="383" height="234" /></p>
<p><span id="more-3369"></span>Recording to a single-track tape from a single mic was the only way to record music until 1955. In the single-track era, music was recorded more or less the same way it was performed for an audience. There was a single mic in the middle of the room, and everybody played into it simultaneously. The only &#8220;mixing&#8221; was done by placing quieter instruments closer to the mic and louder ones further away. Recording as an art form unto itself came into being with the invention of multitrack tape, which made it possible to record different sounds non-simultaneously.</p>
<p>Multitrack is an enormously big deal for recorded music. It enables you to capture ideal performances more easily, since you record each voice or instrument in isolation from the others. An error on one track can be fixed while leaving the others intact. Multitrack also opened the door for mixing, since you can manipulate the volume and tone of each sound independently of the others. This might not seem like such a big deal, but that&#8217;s because we&#8217;re all so used to spectacularly high-tech sculpting of sound. When I listen to old jazz records, the bass is a vague muffled presence buried in the murk of the low end. It took until the sixties for recording engineers to really figure out how to make the bass jump out of the speakers; now we take for granted that it&#8217;ll be as crisp and defined as any other sound.</p>
<p>Even with all the flexibility it offers, tape recording is still relatively unforgiving. I recorded a few songs on tape with my first band in college. Correcting mistakes was tedious and took considerable skill and timing on the engineer&#8217;s part.</p>
<p style="text-align: center;"><a href="http://www.flickr.com/photos/ethanhein/3644401417/"><img class="aligncenter" title="Delia Derbyshire matches beats with tape recorders" src="http://farm4.static.flickr.com/3663/3644401417_9dc9cbe7c6.jpg" alt="" width="400" height="340" /></a></p>
<p style="text-align: left;">Since 1997 or so, everything I&#8217;ve recorded has been on the computer. There are some pros and cons. The major con is sound quality. Tape is analog. The waveforms it captures are infinitely smooth and continuous. By converting the continuous electrical signal from the microphones or instruments into digital files, you necessarily sacrifice some signal quality.</p>
<p style="text-align: left;"><a href="http://www.flickr.com/photos/ethanhein/2378146633/"><img class="aligncenter" title="Converting analog signal to digital" src="http://farm3.static.flickr.com/2166/2378146633_946ff8f146.jpg" alt="" width="300" height="225" /></a></p>
<p style="text-align: left;">So that&#8217;s the bad news. For me, and for most recording musicians at this point, the good news enormously outweighs the bad news. Digital recording is cheap and constantly getting cheaper. Good quality audio tape is expensive; hard drive space costs next to nothing. A computer costs a heck of a lot less than a decent tape recording console and you can use it for other purposes. But cost is only the tip of the iceberg. The really big deal with the computer is that it visualizes music, turning it into screen objects that you can drag, drop and otherwise manipulate the same way you&#8217;d manipulate words in a word processing document. For a visual thinker like me, this is a transformative and revelatory change. It&#8217;s radically easier to do complex edits on the computer screen than keeping track of a bunch of pieces of identical-looking tape.</p>
<p style="text-align: center;"><a href="http://en.wikipedia.org/wiki/Pro_Tools"><img class="aligncenter" title="Pro Tools" src="http://upload.wikimedia.org/wikipedia/en/thumb/4/47/Protools9screen.png/800px-Protools9screen.png" alt="" width="512" height="379" /></a></p>
<p>The other big deal about digital audio is perfect copying fidelity and endless editing. Every time you copy a tape, the sound quality degrades a little. Also, as tape ages, it chemically degrades. Digital audio files are highly robust. They&#8217;re just <a href="../2008/digital-audio-is-just-long-lists-of-numbers">long lists of numbers</a>, so you can copy them flawlessly and endlessly across any data storage medium. You can edit digital audio non-destructively, so you can try out ideas to your heart&#8217;s content without ever harming or losing your original tracks. Digital audio is also nice and portable. You can lay down basic tracks in your basement, overdub more sounds in someone else&#8217;s bedroom and then mix and master in a million dollar studio. And while there&#8217;s no undo with tape overdubs, you can effectively undo anything you do on the computer.</p>
<p>Music is intellectually a lot easier than it looks. The big challenge for me, and for most would-be musicians I encounter, is anxiety. We have a crippling fear of being judged, and when we&#8217;re doing a recording, the panel of potential judges is enormous. Digital recording has done a lot to reduce my anxiety in front of the microphone. Knowing that nothing is carved in marble takes a lot of the pressure off. I&#8217;m much likelier to lay down a perfect take or a cool new idea if I&#8217;m feeling relaxed, and recording in my apartment on a computer is as relaxing as it gets.</p>
<p>I&#8217;ve been recording an acoustic singer-songwriter&#8217;s album for the past year. Aside from the vocals and guitar, everything on the album is fake: the bass, the drums, the percussion and keyboards. The vocals and guitar are processed using <a href="http://www.ethanhein.com/wp/tag/autotune">Auto-tune</a>, digital EQ and reverb and compression, and various other tricks. The &#8220;performances&#8221; are stitched together from many different takes, with sections repeated and individual notes corrected for timing and volume and decay. None of these techniques are unusual in the age of computer recording. Some people feel that the computer is harming musicianship by making it so easy to sculpt a flawless performance. My feeling is that the computer just shifts the locus of creative work from the original performance to the editing process.</p>
<p>After doing enough of my own projects using the full digital toolkit, I started questioning the wisdom of recording instrumental performances at all, when it&#8217;s so much easier to use sampling and synthesis. The turning point came while working with a soul/R&amp;B band called Love Child. The singer and I were writing and arranging songs using samples, drum machines and all the other hip-hop tools. We gave these tracks to the band to teach them the parts. I made charts too, but the tracks were better for conveying the vibe and nuance we were after. We had a bunch of ace musicians in the band, but they never sounded as good as our sample-based tracks. We&#8217;d meticulously sequence a bassline, and then the bassist wouldn&#8217;t play it exactly. He&#8217;d do variations and little improvs, the usual embellishments that musicians add almost unconsciously. The problem wasn&#8217;t his ideas, they were all good. The problem was that by straying away from the extremely sparse parts we were writing, he was deflating the tension, turning our hip-hop feel into a generic-sounding funk.</p>
<p>So it went with all the musicians. Also, it was a logistical nightmare getting everyone together, and it cost a fortune. Eventually we asked ourselves, why are we doing this? The songs sound better on the laptop, why don&#8217;t we just commit ourselves to life in electronic world? So we started doing gigs with just the laptop and singers, and it sounded terrific. I feel bad for contributing to the rapid drying up of gigs all musicians are facing in the computer era. But meanwhile, we were going for a sound, and the human beings weren&#8217;t giving it to us.</p>
<p>Samples and loops give you a lot of freedom. They also carry their own constraints. When you use, say, two bars of a <a href="http://www.ethanhein.com/wp/2009/in-a-silent-way">Miles Davis</a> tune in a particular scale with particular chords to a particular beat played on particular instruments, that forces you to fit the rest of your musical elements to fit. This constraint is a stupendously valuable songwriting tool. Repeating the loop identically is easy and varying it is hard. So by default, sample-based music uses a lot of repetition, and you have to justify each variation because it takes so much more effort than another copy and paste. You&#8217;d think this would be true with live musicians too, but it&#8217;s not. Getting a band to play a loop without variation is just about impossible. I&#8217;ve tried many times, everyone gets bored or feels the need to express themselves. We in the western musical tradition undervalue repetition, and having the computer encourage it has improved my writing and arranging enormously.</p>
<p style="text-align: center;"><a href="http://www.flickr.com/photos/ethanhein/4258792625/"><img class="aligncenter" title="Loop player and sequencer in Reason" src="http://farm5.static.flickr.com/4033/4258792625_28a3ae676a.jpg" alt="" width="399" height="400" /></a></p>
<p>Sampling is such a useful framework for structuring musical ideas, now I take a sampling approach to live recordings of instruments whenever I can. If I&#8217;m doing a rock track with <a href="http://www.ethanhein.com/wp/2009/how-we-wrote-this-song">Barbara Singer</a>, we&#8217;ll record a take of her flailing freely away at the guitar over a beat, and then find the best bar or two and loop them. If we need a variation or another section, we&#8217;ll use the second-best bar or two, and maybe the third. The less material we use, the better it sounds.</p>
<p>In the future I would wish for a more porous barrier between the recording artist and the listener. It&#8217;s been a bottomless source of pleasure for me to <a href="http://www.ethanhein.com/wp/computer-music">remix and mash up</a> other people&#8217;s recordings. With all due respect to my fellow musicians, I know what I like better than they do. For the vast majority of recordings I have, I&#8217;d rather hear the key musical ideas repeated identically in groups of four or eight over hip-hop beats. If recording artists don&#8217;t want to oblige me by structuring stuff that way, I can just edit their music to suit myself. It would be a lot easier to do this if I had access to the individual tracks. A few, very few, artists release tracks with the <a href="http://en.wikipedia.org/wiki/List_of_musical_works_released_in_a_stem_format">stems separated out</a>. I wish for the day when it&#8217;s standard practice.</p>
<p>Update: for hilarious insight into the process of making a top ten hit in 1988, don&#8217;t miss <a href="http://www.ethanhein.com/wp/2010/doctorin-the-top-forty">the KLF&#8217;s Manual</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ethanhein.com/wp/2010/inside-the-recording-process/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Copyright Criminals</title>
		<link>http://www.ethanhein.com/wp/2010/copyright-criminals/</link>
		<comments>http://www.ethanhein.com/wp/2010/copyright-criminals/#comments</comments>
		<pubDate>Tue, 26 Jan 2010 00:51:54 +0000</pubDate>
		<dc:creator>Ethan</dc:creator>
				<category><![CDATA[Composition]]></category>
		<category><![CDATA[Copyright and Authorship]]></category>
		<category><![CDATA[Music]]></category>
		<category><![CDATA[Music Business]]></category>
		<category><![CDATA[Politics]]></category>
		<category><![CDATA[Sampling]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[a tribe called quest]]></category>
		<category><![CDATA[audio editing]]></category>
		<category><![CDATA[beastie boys]]></category>
		<category><![CDATA[biz markie]]></category>
		<category><![CDATA[clyde stubblefield]]></category>
		<category><![CDATA[computers]]></category>
		<category><![CDATA[copyright]]></category>
		<category><![CDATA[dance]]></category>
		<category><![CDATA[dj]]></category>
		<category><![CDATA[eighties]]></category>
		<category><![CDATA[george clinton]]></category>
		<category><![CDATA[hip-hop]]></category>
		<category><![CDATA[Improvisation]]></category>
		<category><![CDATA[james brown]]></category>
		<category><![CDATA[jeff chang]]></category>
		<category><![CDATA[looping]]></category>
		<category><![CDATA[mashups]]></category>
		<category><![CDATA[memes]]></category>
		<category><![CDATA[michael jackson]]></category>
		<category><![CDATA[pro tools]]></category>
		<category><![CDATA[public enemy]]></category>
		<category><![CDATA[Recording]]></category>
		<category><![CDATA[remixes]]></category>
		<category><![CDATA[rock]]></category>

		<guid isPermaLink="false">http://www.ethanhein.com/wp/?p=3239</guid>
		<description><![CDATA[This PBS Independent Lens documentary on sampling culture is a good one, and you can watch the whole thing on Youtube. Their resources and links page includes my Biz Markie blog post. Thanks Beautiful Decay for posting the videos. Part one: Part two: Part three: Part four: Part five: Part six: Steve Albini says that [...]]]></description>
			<content:encoded><![CDATA[<p>This <a href="http://www.pbs.org/independentlens/copyright-criminals/index.html">PBS Independent Lens documentary</a> on sampling culture is a good one, and you can watch the whole thing on Youtube. Their <a href="http://www.pbs.org/independentlens/copyright-criminals/more.html">resources and links page</a> includes my <a href="http://www.ethanhein.com/wp/2009/biz-markie-gets-the-copyright-smackdown">Biz Markie blog post.</a> Thanks <a href="http://beautifuldecay.com/2010/01/22/copyright-criminals/">Beautiful Decay</a> for posting the videos.</p>
<p style="text-align: left;"><a href="http://www.youtube.com/watch?v=URkqk1xoiPI">Part one:</a></p>
<p style="text-align: center;"><object width="425" height="344" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" 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://www.youtube.com/v/URkqk1xoiPI&amp;hl=en_US&amp;fs=1&amp;" /><param name="allowfullscreen" value="true" /><embed width="425" height="344" type="application/x-shockwave-flash" src="http://www.youtube.com/v/URkqk1xoiPI&amp;hl=en_US&amp;fs=1&amp;" allowFullScreen="true" allowscriptaccess="always" allowfullscreen="true" /></object></p>
<p><span id="more-3239"></span><a href="http://www.youtube.com/watch?v=mZpeuGNtiy0">Part two:</a></p>
<p style="text-align: center;"><object width="425" height="344" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" 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://www.youtube.com/v/mZpeuGNtiy0&amp;hl=en_US&amp;fs=1&amp;" /><param name="allowfullscreen" value="true" /><embed width="425" height="344" type="application/x-shockwave-flash" src="http://www.youtube.com/v/mZpeuGNtiy0&amp;hl=en_US&amp;fs=1&amp;" allowFullScreen="true" allowscriptaccess="always" allowfullscreen="true" /></object></p>
<p><a href="http://www.youtube.com/watch?v=ax2RDNfMk9c">Part three:</a></p>
<p style="text-align: center;"><object width="425" height="344" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" 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://www.youtube.com/v/ax2RDNfMk9c&amp;hl=en_US&amp;fs=1&amp;" /><param name="allowfullscreen" value="true" /><embed width="425" height="344" type="application/x-shockwave-flash" src="http://www.youtube.com/v/ax2RDNfMk9c&amp;hl=en_US&amp;fs=1&amp;" allowFullScreen="true" allowscriptaccess="always" allowfullscreen="true" /></object></p>
<p><a href="http://www.youtube.com/watch?v=uBzeTcA9NXs">Part four:</a></p>
<p style="text-align: center;"><object width="425" height="344" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" 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://www.youtube.com/v/uBzeTcA9NXs&amp;hl=en_US&amp;fs=1&amp;" /><param name="allowfullscreen" value="true" /><embed width="425" height="344" type="application/x-shockwave-flash" src="http://www.youtube.com/v/uBzeTcA9NXs&amp;hl=en_US&amp;fs=1&amp;" allowFullScreen="true" allowscriptaccess="always" allowfullscreen="true" /></object></p>
<p><a href="http://www.youtube.com/watch?v=hptxAz-7jY0">Part five:</a></p>
<p style="text-align: center;"><object width="425" height="344" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" 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://www.youtube.com/v/hptxAz-7jY0&amp;hl=en_US&amp;fs=1&amp;" /><param name="allowfullscreen" value="true" /><embed width="425" height="344" type="application/x-shockwave-flash" src="http://www.youtube.com/v/hptxAz-7jY0&amp;hl=en_US&amp;fs=1&amp;" allowFullScreen="true" allowscriptaccess="always" allowfullscreen="true" /></object></p>
<p><a href="http://www.youtube.com/watch?v=C-Fw61wUuK0">Part six:</a></p>
<p style="text-align: center;"><object width="425" height="344" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" 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://www.youtube.com/v/C-Fw61wUuK0&amp;hl=en_US&amp;fs=1&amp;" /><param name="allowfullscreen" value="true" /><embed width="425" height="344" type="application/x-shockwave-flash" src="http://www.youtube.com/v/C-Fw61wUuK0&amp;hl=en_US&amp;fs=1&amp;" allowFullScreen="true" allowscriptaccess="always" allowfullscreen="true" /></object></p>
<p>Steve Albini says that sampling is cheap and easy. He&#8217;s right about that. Anyone with a computer and a few pieces of inexpensive software can do it. Mr Albini also thinks people should be &#8220;embarrassed by sampling, like a bad dance move.&#8221; It&#8217;s a funny analogy, because while I like the albums he&#8217;s produced for the most part, they aren&#8217;t dance friendly. Pick any song that you&#8217;ve danced socially to in the past thirty years and the odds are high that it was produced electronically.</p>
<p>Anyway, in response to the charge that sampling is cheap and easy, why is that a bad thing? George Clinton points out that rock and roll was originally all about cheap and easy: three chords, repetitive beats and structures, singable choruses. Now, rock music is expensive and difficult, and thanks to people like Radiohead, every bit as technically inaccessible as jazz or classical. This is why rock has mostly become every bit as lame as jazz or classical. Making an art form expensive and inaccessible makes it elitist and conservative. The big artistic risks are mostly being taken by the electronic musicians, not the guitar tribe.</p>
<p>The documentary makes the intriguing analogy between DJs and photographers. DJs are to traditional instrumentalists as photographers are to painters. You can&#8217;t make blanket statements about the validity of the entire medium; you need to go on a case-by-case basis. DJs and photographers have a lower barrier to entry than cellists or painters but the path to mastery is every bit as long.</p>
<p>We&#8217;ve become accustomed to lavish production values in our recorded music, and that comes at a steep price tag if you want live instruments and analog tape. The expensiveness of lavish, dense live recordings forces conservative choices. The effortlessness of sampling leads to more risk taking, more experimentation, more innovation. Also more amateurish nonsense, but that&#8217;s the nature of the beast. A low penalty for failure is a necessary precondition for success.</p>
<p>Even if money is no object, there are still some strong artistic arguments in favor of sample-based music. The loop is different from a human playing a phrase over and over. I used to play in an R&amp;B group. The singer and I wrote the songs with samples and loops and then taught them to the band. We had a Miles Davis sample that the trumpet player was supposed to use for his part. He played it pretty accurately, but never with the exact phrasing, tape compression and ambiance of the original loop, and it never quite sounded as good. It was cool that he could riff and improvise, but it gave us a looser, jazzier sound than we were going for. The identical repetition effects you to hypnotic effect. Check out the squealing trumpet sample under <a href="http://www.youtube.com/watch?v=S6BJ3CvPLhs">Public Enemy&#8217;s &#8220;Don&#8217;t Believe The Hype&#8221;</a> &#8211; even James Brown couldn&#8217;t have that disciplined a horn player, not with all that insane noise swirling around. Humans get bored and distracted, they have opinions. Computers don&#8217;t. What if James Brown and band had been necessary to appear in person in order to create <a href="http://www.flickr.com/photos/ethanhein/3334690765/">&#8220;Fight The Power&#8221;</a>, and they had refused? What a loss.</p>
<p>The entertainment lawyer in the movie equates my sampling your song to me coming into your house, helping myself to the food in your fridge. Sampling might recontextualize old recordings in ways their creators find offensive, but very often sampled works add something of benefit to old recordings&#8217; cultural standing. I&#8217;m thinking of all those classic seventies funk and disco songs with incredible beats but outdated lyrics and arrangements. George Clinton is outspokenly grateful to hip-hop producers for putting him back on the map, culturally and then commercially.</p>
<p>Meanwhile, the law is a serious obstacle. Clearing all samples in advance is crushing to the creative process, which depends on immediacy and spontaneity. It&#8217;s a lot cheaper and easier to get a license to perform or record a full cover of a song than it is to get the rights to a three second sample. Some copyright holders are laid back or indifferent, but some charge extortionate license fees. Erick Sermon had to pay Marvin Gaye&#8217;s estate a hundred thousand dollars for <a href="http://www.youtube.com/watch?v=fle-zebSXNc">a sample clearance.</a> Unless you&#8217;re a major pop star with serious backing, this is prohibitive, and we&#8217;re back to the conservatism imposed by high costs that plagues instrumental music.</p>
<p>Clyde Stubblefield&#8217;s reaction on first hearing <a href="http://www.ethanhein.com/wp/2009/the-natural-history-of-the-funky-drummer-break">how widely he was sampled: </a>&#8220;Cool!&#8221; But he&#8217;s bitter about not getting credited. He&#8217;s not as upset about not getting royalties, maybe because he wasn&#8217;t getting those before sampling either &#8211; James Brown owns all the copyrights to &#8220;The Funky Drummer&#8221; and &#8220;Cold Sweat&#8221; and so on. Public Enemy explains they have to be secretive about their sources to not get sued. A healthier sampling culture would make it easy to use samples and encourage attribution and reasonable payments.</p>
<p>Sampling artists like to use the phrase &#8220;fair game&#8221; &#8211; I&#8217;ve used it myself to describe the contents of my iTunes library, and some of the musicians in <em>Copyright Criminals</em> use it too. What&#8217;s fair game? Depends. The Beatles are notoriously litigious copyright holders, but they themselves use unauthorized samples in &#8220;Revolution 9&#8243;, &#8220;I Am The Walrus&#8221; and &#8220;<a href="http://soundcloud.com/ethanhein/tomorrow-never-knows">Tomorrow Never Knows</a>.&#8221; I&#8217;m hopeful that as sampling moves from the fringe into the mainstream, the law will eventually catch up and the absurdities will iron themselves out.</p>
<p>Update: this post and <a href="http://www.ethanhein.com/wp/2008/in-praise-of-autotune">another of mine</a> are quoted in a <a href="http://brandsplusmusic.blogspot.com/2010/01/but-is-it-art.html">Brands Plus Music post</a> about the impact computers are having on music making. It&#8217;s a good one, thought-provoking, worth a read.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ethanhein.com/wp/2010/copyright-criminals/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Lil Wayne&#8217;s productivity secrets</title>
		<link>http://www.ethanhein.com/wp/2009/lil-waynes-productivity-secrets/</link>
		<comments>http://www.ethanhein.com/wp/2009/lil-waynes-productivity-secrets/#comments</comments>
		<pubDate>Sat, 29 Aug 2009 02:19:14 +0000</pubDate>
		<dc:creator>Ethan</dc:creator>
				<category><![CDATA[Composition]]></category>
		<category><![CDATA[Improvisation]]></category>
		<category><![CDATA[Key Musicians]]></category>
		<category><![CDATA[Music]]></category>
		<category><![CDATA[Recording]]></category>
		<category><![CDATA[Sampling]]></category>
		<category><![CDATA[america]]></category>
		<category><![CDATA[anxiety]]></category>
		<category><![CDATA[autotune]]></category>
		<category><![CDATA[class]]></category>
		<category><![CDATA[cole porter]]></category>
		<category><![CDATA[comedy]]></category>
		<category><![CDATA[computers]]></category>
		<category><![CDATA[drum machines]]></category>
		<category><![CDATA[Evolution]]></category>
		<category><![CDATA[hip-hop]]></category>
		<category><![CDATA[irony]]></category>
		<category><![CDATA[kanye west]]></category>
		<category><![CDATA[lil wayne]]></category>
		<category><![CDATA[memes]]></category>
		<category><![CDATA[michael jackson]]></category>
		<category><![CDATA[minimalism]]></category>
		<category><![CDATA[natalie portman]]></category>
		<category><![CDATA[natural selection]]></category>
		<category><![CDATA[recursion]]></category>
		<category><![CDATA[remixes]]></category>
		<category><![CDATA[snl]]></category>
		<category><![CDATA[Social Media]]></category>
		<category><![CDATA[t-pain]]></category>
		<category><![CDATA[white people]]></category>

		<guid isPermaLink="false">http://www.ethanhein.com/wp/?p=2113</guid>
		<description><![CDATA[See a followup post about female remixes of &#8220;A Milli&#8221; Lil Wayne and I have some differences of style and taste: about facial tattoos, about drinking cough syrup recreationally, about jewelry on one&#8217;s teeth. But we agree about music. He brags constantly that he&#8217;s the best rapper alive. I think he makes a pretty good [...]]]></description>
			<content:encoded><![CDATA[<p><em>See <a href="http://www.ethanhein.com/wp/2009/female-a-milli-remixes">a followup post</a> about female remixes of &#8220;A Milli&#8221;</em></p>
<p>Lil Wayne and I have some differences of style and taste: about facial tattoos, about drinking cough syrup recreationally, about jewelry on one&#8217;s teeth. But we agree about music. He brags constantly that he&#8217;s the best rapper alive. I think he makes a pretty good case.</p>
<p style="text-align: center;"><img class="aligncenter" src="http://nonstopinfo.com/wp-content/uploads/2009/07/lil-wayne-lollipop1.jpg" alt="" width="225" height="279" /></p>
<p><span id="more-2113"></span>It wasn&#8217;t even Lil Wayne&#8217;s rhymes that caught my ear in the first place, it was his tracks. His music sounds fine on regular headphones or speakers, but it reveals its true power in the club or in a car with a good system. The tempos are slow, the beats are minimalist, and there&#8217;s plenty of space around every sonic event. On the big hits, like &#8220;A Milli&#8221; and &#8220;Lollipop&#8221;, an <a href="http://www.flickr.com/photos/danmcp/437222313/">8o8 kick drum</a> is the only sound in the low register. There&#8217;s usually no bass guitar or even bass synth &#8211; the tuned 808 kick carries the bassline. The vocals, snares, hi-hats and synths are all up in the high frequencies. The midrange is totally empty.</p>
<p>Emptying the midrange adapts Wayne&#8217;s music perfectly to its natural habitat: cars, parties, clubs, subway trains and other noisy, less-than-ideal listening environments. In a club or a party, the midrange is full of people talking. In a car or train, the midrange is full of engine and wind noise. Keeping the music&#8217;s midrange empty means that it doesn&#8217;t have to compete with the ambient sound. The songs can sound huge and full and totally present without blowing your eardrums or your speakers out. Another benefit of the empty midrange is that it leaves room for you to enjoy the upper <a href="http://www.ethanhein.com/wp/2009/tuning-the-quantum-guitar">overtones</a> of the kickdrum. Even severely compressed and played through computer speakers, Lil Wayne&#8217;s music sounds pretty damn hot:</p>
<p style="text-align: center;"><object width="560" height="340" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" 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://www.youtube.com/v/eTF6N7EWzOA&amp;hl=en&amp;fs=1&amp;" /><param name="allowfullscreen" value="true" /><embed width="560" height="340" type="application/x-shockwave-flash" src="http://www.youtube.com/v/eTF6N7EWzOA&amp;hl=en&amp;fs=1&amp;" allowFullScreen="true" allowscriptaccess="always" allowfullscreen="true" /></object></p>
<p>The weird vocal sample the song is named for comes from &#8220;I Left My Wallet in El Segundo (Vampire Mix),&#8221; a remix of the Tribe Called Quest song by Fatboy Slim. The original Tribe song has a sample in it of &#8220;Funky&#8221; by <a title="The Chambers Brothers" href="http://en.wikipedia.org/wiki/The_Chambers_Brothers">The Chambers Brothers</a>. That makes &#8220;A Milli&#8221; a remix of a remix of a remix. <a href="http://www.ethanhein.com/wp/tag/recursion">Recursive!</a></p>
<p>I&#8217;ve been drawn to the musicality of hip-hop since I was a kid, but at times I&#8217;ve been scared off by all the angry and confrontational language. As a kid, I could mostly enjoy with <a href="http://www.ethanhein.com/wp/2009/bad-meaning-good/">Run-DMC</a>. Sometimes I found them a little bit scary, but mostly they made sense to me. My friend Elbert played me some Public Enemy in ninth grade, and I felt like it wasn&#8217;t meant for me, but I liked it. When we got into the nineties, that&#8217;s when I lost touch with hip-hop. I wanted to like the <a href="http://www.flickr.com/photos/ethanhein/3364165386/">Wu-Tang Clan</a> and the west coast gangsta rappers, but I got scared away.</p>
<p>It took me several more years to realize that I wasn&#8217;t supposed to be taking all the imagery literally. I didn&#8217;t understand that rappers, like rock singers, are often playing characters or doing standup comedy. It makes sense that Ice Cube has made such a smooth transition from gangsta rap to family comedies. Hip-hop has a lot of theatricality and irony to it, and even a liberal, open-minded white guy like me can lose sight of that. I fell into the bad habit of underestimating the intelligence of hip-hop artists and didn&#8217;t allow for the possibility of multiple or opposite meanings to what I was hearing. Imagine if you were plunked down in America without any cultural context and someone showed you an episode of South Park or Family Guy. If you didn&#8217;t realize they were kidding, you&#8217;d probably be horrified. That&#8217;s pretty much what my first reaction was to the dirtier hip-hop styles.</p>
<p>I&#8217;m glad I let go of my moral objections to Lil Wayne. He&#8217;s crude a lot of the time, but he&#8217;s never dumb, and he&#8217;s capable of dazzling verbal virtuosity. There&#8217;s the famous line in &#8220;Lollipop&#8221; that everybody quotes, it&#8217;s like what Cole Porter would be writing if he were a young guy right now:</p>
<blockquote><p>Safe sex is great sex. Better use a latex,<br />
&#8217;cause you don&#8217;t want that late text, that &#8220;I think I&#8217;m late&#8221; text.</p></blockquote>
<p>Lil Wayne&#8217;s high opinion of himself extends to his choice of samples. He samples several of his own tracks for his song &#8220;I&#8217;m Me.&#8221; Again: recursive.</p>
<p style="text-align: center;"><a href="http://www.flickr.com/photos/ethanhein/3482559079/sizes/l/"><img title="Click to embiggen" src="http://farm4.static.flickr.com/3618/3482559079_47b8d7faaf.jpg" alt="" width="500" height="365" /></a></p>
<p style="text-align: left;">Like his frequent collaborators <a href="http://www.ethanhein.com/wp/2009/autotune-on-the-phone">T-Pain</a> and <a href="http://www.ethanhein.com/wp/tag/kanye-west">Kanye West,</a> Lil Wayne likes singing with <a href="http://www.ethanhein.com/wp/2008/in-praise-of-autotune/">Auto-tune</a>.</p>
<p style="text-align: center;"><object width="560" height="340" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" 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://www.youtube.com/v/77wEisgGqRY&amp;hl=en&amp;fs=1&amp;" /><param name="allowfullscreen" value="true" /><embed width="560" height="340" type="application/x-shockwave-flash" src="http://www.youtube.com/v/77wEisgGqRY&amp;hl=en&amp;fs=1&amp;" allowFullScreen="true" allowscriptaccess="always" allowfullscreen="true" /></object></p>
<p>If you haven&#8217;t been listening to a lot of hip-hop lately, &#8220;Lollipop&#8221; represents the state of the art well. The synths are gridded out exactly in a sequencer so as to sound totally posthuman. Wayne plays a little electric guitar with a sloppiness that balances the synths&#8217; unearthly perfection. There are big yawning digital silences in the rhythm that are as powerful as the beats themselves.</p>
<p>The Auto-tuned robo-vocal style inspired me to sing more on my own tracks, which is a minor miracle, because I am not a singer. The sign of a real master musician is when they fill me with an intense, competitive desire to go apply their tricks to some new music of my own.</p>
<p>I think Lil Wayne&#8217;s music is healthy for nerdy white people like me. Having a sense of humor about the human body and its functions is the right attitude. Natalie Portman kind of says it best, when she&#8217;s asked what song reflects her current state by <a href="http://jezebel.com/5347220/jake-gyllenhaal-interviews-natalie-portman-about-the-smurfs-dirty-rap">Interview Magazine:</a></p>
<blockquote>
<p style="text-align: left;">PORTMAN: Really, really obscene hip-hop. I love it so much. It makes me laugh and then it makes me want to dance. Those are like my two favorite things, so combined . . . I&#8217;ve been listening a lot lately to &#8220;Wait (The Whisper Song)&#8221; by the Ying Yang Twins, where the lyrics are like, &#8220;Wait &#8217;til you see my dick&#8221; &#8211; which is just amazing because it&#8217;s whispered. [whispers] &#8220;Wait &#8217;til you see my dick . . . &#8221; [laughs] Crazy. So I just listen to it like I&#8217;m a five-year-old, like, &#8220;Oh my god! I can&#8217;t believe he just said that!&#8221;</p>
</blockquote>
<p style="text-align: left;">When she <a href="http://www.youtube.com/watch?v=v8e6-IeQ0aw">rapped on Saturday Night Live</a>, she was kind of kidding, kind of not.</p>
<p>In some ways this could be a Jewish thing. Like Natalie, my mom and the majority of my relatives are in the tribe. I went to a mostly Jewish elementary and high school. My Jewish side finds America&#8217;s puritanism weird and lame. I also have a midwestern protestant side I inherited from my dad. This side of me thinks prudishness is lame, but also Not Optional. So there&#8217;s some internal conflict. It can be like Jon Stewart vs Hank Hill in my head. Lil Wayne is a good ally in my struggle to keep Hank under control.</p>
<p>But then, Lil Wayne may have more in common with Hank Hill than we realize. He carefully cultivates the image of a stoned slacker, but that performance masks an intense work ethic. It&#8217;s significant that the &#8220;A Milli&#8221; video shows Lil Wayne doing his job. He records new material almost every night. I can&#8217;t think of any recording artist who&#8217;s been more prolific than he has. Almost everything he records, he makes public. Some of it gets sold commercially, the rest he gives away on mixtapes and the web. He puts out so many tracks that Vibe could write an article called <a href="http://www.vibe.com/news/news_headlines/2007/10/weezy_da_fireman/">&#8220;The 77 best Lil Wayne songs of 2007.&#8221;</a> He talks about his process a little <a href="http://www.rollingstone.com/artists/lilwayne/articles/story/21455338/qa_lil_wayne_on_weed_jayz_and_rhyming_on_answering_machines">in Rolling Stone:</a></p>
<blockquote><p><em>You never write down your rhymes. Do you ever forget good stuff?</em></p>
<p>I do that a lot and it sucks. That&#8217;s why I keep the studio with me everywhere I go. I can just hook up the studio straight to my laptop and start recording. I don&#8217;t memorize lyrics like a speech. I just go to the studio and think of it right there. I just let the beat play a trillion times and I go in there and record four bars or whatever I thought of so I can get it off my mind and start thinking about something else. That&#8217;s why I do my songs so quick.</p></blockquote>
<p>I think any creative person could learn a lot from the Lil Wayne strategy. Computer recording <a href="http://www.ethanhein.com/wp/2009/loop-mode/">encourages improvisation.</a> Improvising is a bottomless source of new ideas. Creativity is evolutionary, you need to have a lot of failures to naturally select out the hits. The wider the diversity of your failures, the more hits you&#8217;ll produce. That&#8217;s why <a href="http://www.ethanhein.com/wp/2009/the-michael-jackson-sample-map-goes-viral/">Michael Jackson</a> and Quincy Jones recorded hundreds of demos so they could narrow them down into the songs on Thriller<em>.</em> Lil Wayne takes the idea up a notch by releasing everything for public consumption and letting the fans decide what works and what doesn&#8217;t. I&#8217;d guess this demanding routine keeps him from ever getting hung up, from getting too precious. He probably gets things right in a very few tries. Keeping your ideas under so much evolutionary pressure makes them definite. As Lil Wayne says in &#8220;Shoot Me Down&#8221;:</p>
<blockquote><p>My picture should be in the dictionary next to the definition of definition.</p></blockquote>
<p style="text-align: left;">He&#8217;s definite enough to have <a href="http://www.youtube.com/watch?v=6JgiTbE1YVQ">sampled the Beatles</a> and gotten the copyright smackdown for it. (Thanks to <a href="http://www.newyorker.com/arts/critics/musical/2007/08/13/070813crmu_music_frerejones">Sasha Frere-Jones</a> for pointing me to this.)</p>
<p style="text-align: center;"><object width="425" height="344" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" 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://www.youtube.com/v/6JgiTbE1YVQ&amp;hl=en&amp;fs=1&amp;" /><param name="allowfullscreen" value="true" /><embed width="425" height="344" type="application/x-shockwave-flash" src="http://www.youtube.com/v/6JgiTbE1YVQ&amp;hl=en&amp;fs=1&amp;" allowFullScreen="true" allowscriptaccess="always" allowfullscreen="true" /></object></p>
<p>The comments on this video are hostile. I can understand not liking the music, but the anger is way more intense than that. I can&#8217;t imagine having so many people that angry at me. If Lil Wayne can keep his confidence up in the face of so much scrutiny and resistance, I don&#8217;t see how any creative person has any excuse not to step up their game.</p>
<p>Here&#8217;s my mashup of <a href="../2009/lil-waynes-productivity-secrets">Lil Wayne</a> and <a href="../2009/bjork">Björk</a>.</p>
<p><strong>Lil Wayne Is Oh So Quiet</strong></p>
<div style="text-align: left;">
</div>
<div style="text-align: left; padding-left: 30px;">
<p><a href="http://www.ethanhein.com/music/Ethan_Hein_Lil_Wayne_So_Quiet.mp3">mp3 download</a>, <a href="http://www.ethanhein.com/music/Ethan_Hein_Lil_Wayne_So_Quiet.m4a">ipod format download</a></p>
</div>
<p><em>To download, right-click or option-click the link and save the file to your desktop. </em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.ethanhein.com/wp/2009/lil-waynes-productivity-secrets/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
<enclosure url="http://www.ethanhein.com/music/Ethan_Hein_Lil_Wayne_So_Quiet.m4a" length="5829028" type="audio/mp4" />
<enclosure url="http://www.ethanhein.com/music/Ethan_Hein_Lil_Wayne_So_Quiet.mp3" length="6088250" type="audio/mpeg" />
<enclosure url="http://www.ethanhein.com/music/Ethan_Hein_Lil_Wayne_So_Quiet.m4a" length="5829028" type="audio/mp4" />
		</item>
		<item>
		<title>Auto-tune (is) the news</title>
		<link>http://www.ethanhein.com/wp/2009/autotune-is-the-news/</link>
		<comments>http://www.ethanhein.com/wp/2009/autotune-is-the-news/#comments</comments>
		<pubDate>Fri, 24 Jul 2009 17:22:40 +0000</pubDate>
		<dc:creator>Ethan</dc:creator>
				<category><![CDATA[Composition]]></category>
		<category><![CDATA[Key Musicians]]></category>
		<category><![CDATA[Music]]></category>
		<category><![CDATA[Sampling]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[anxiety]]></category>
		<category><![CDATA[audio editing]]></category>
		<category><![CDATA[autotune]]></category>
		<category><![CDATA[comedy]]></category>
		<category><![CDATA[computers]]></category>
		<category><![CDATA[Evolution]]></category>
		<category><![CDATA[hip-hop]]></category>
		<category><![CDATA[joe biden]]></category>
		<category><![CDATA[katie couric]]></category>
		<category><![CDATA[martin luther king jr]]></category>
		<category><![CDATA[mashups]]></category>
		<category><![CDATA[Music Theory]]></category>
		<category><![CDATA[news]]></category>
		<category><![CDATA[Politics]]></category>
		<category><![CDATA[pop]]></category>
		<category><![CDATA[rnb]]></category>
		<category><![CDATA[steven mithen]]></category>
		<category><![CDATA[tv]]></category>
		<category><![CDATA[youtube]]></category>

		<guid isPermaLink="false">http://www.ethanhein.com/wp/?p=1413</guid>
		<description><![CDATA[See a followup post on the Gregorys&#8217; breakout hit, the &#8220;Bed Intruder Song.&#8221; The Gregory Brothers (including a sister-in-law) are musicians here in Brooklyn who have a series of videos called Auto-tune The News. Here are a selection of their better episodes as of this writing. The Gregory Brothers also produce straight R&#38;B tracks. With [...]]]></description>
			<content:encoded><![CDATA[<p><em>See a followup post on the Gregorys&#8217; breakout hit, the <a href="http://www.ethanhein.com/wp/2010/the-complicated-case-of-antoine-dodson">&#8220;Bed Intruder Song.&#8221;</a></em></p>
<p>The <a href="http://thegregorybrothers.com/">Gregory Brothers</a> (including a sister-in-law) are musicians here in Brooklyn who have a series of videos called Auto-tune The News. Here are a selection of their better episodes as of this writing.</p>
<p style="text-align: center;"><object width="425" height="344" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" 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://www.youtube.com/v/tBb4cjjj1gI&amp;hl=en&amp;fs=1&amp;" /><param name="allowfullscreen" value="true" /><embed width="425" height="344" type="application/x-shockwave-flash" src="http://www.youtube.com/v/tBb4cjjj1gI&amp;hl=en&amp;fs=1&amp;" allowFullScreen="true" allowscriptaccess="always" allowfullscreen="true" /></object></p>
<p style="text-align: left;"><span id="more-1413"></span></p>
<p style="text-align: center;"><object width="425" height="344" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" 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://www.youtube.com/v/3eooXNd0heM&amp;hl=en&amp;fs=1&amp;" /><param name="allowfullscreen" value="true" /><embed width="425" height="344" type="application/x-shockwave-flash" src="http://www.youtube.com/v/3eooXNd0heM&amp;hl=en&amp;fs=1&amp;" allowFullScreen="true" allowscriptaccess="always" allowfullscreen="true" /></object></p>
<p style="text-align: center;"><object width="425" height="344" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" 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://www.youtube.com/v/-Psfn6iOfS8&amp;hl=en&amp;fs=1&amp;" /><param name="allowfullscreen" value="true" /><embed width="425" height="344" type="application/x-shockwave-flash" src="http://www.youtube.com/v/-Psfn6iOfS8&amp;hl=en&amp;fs=1&amp;" allowFullScreen="true" allowscriptaccess="always" allowfullscreen="true" /></object></p>
<p>The Gregory Brothers also produce straight R&amp;B tracks. With all possible respect, I don&#8217;t find their serious music to be anything special. It&#8217;s when they submerse themselves in TV that they shine the brightest. The internet doesn&#8217;t have a lot of info about their production techniques, all I could find was <a href="http://www.newantisocial.com/2009/06/auto-tune-news-shawtayee-interview-with.html">an interview</a> where Michael Gregory says:</p>
<blockquote><p><a href="http://en.wikipedia.org/wiki/Logic_Express">Logic Express</a> was a godsend for composition&#8211;it has an enormous sample library. I use it for all my audio now. For vocal processing, <a href="http://www.flickr.com/photos/ethanhein/3502143494/">auto-tune</a> and <a href="http://www.flickr.com/photos/ethanhein/2335205869/">melodyne</a> plug-ins come in super handy. I use <a href="http://en.wikipedia.org/wiki/Final_Cut_Express">Final Cut Express</a> for all the editing, but the capture feature is somehow rubbish, so <a href="http://en.wikipedia.org/wiki/Imovie">iMovie</a> gets called in for that.</p></blockquote>
<p>So there&#8217;s a lot of very sophisticated computer software at work, though with a charming zer0-budget lameness of video compositing and audio mixing. I imagine when they wind up on Comedy Central or wherever, the production values will get a little more slick.</p>
<p>Musically, these videos are working for me. If they slowed the tempos down and found some heavier kick and snare sounds, they&#8217;d be ready for the radio. I guess I shouldn&#8217;t be surprised. <a href="http://www.ethanhein.com/wp/computer-music/">My own experiments </a>with Auto-tune show any kind of human speech as pretty tonal to begin with. When you automatically tune someone talking to <a href="http://www.ethanhein.com/wp/2009/learning-music-theory-with-autotune/">the closest piano-key pitches,</a> it makes it easier to make out the melodies that were already present. The Gregorys do a lot of further manipulation and harmonizing, but their best moments come from unintended speech melodies, like Joe Biden shouting &#8220;God bless America&#8221;, from <a href="http://www.mpa-garching.mpg.de/galform/millennium/">space.</a></p>
<p>Some languages are more tonal than others. Chinese uses pitch to differentiate words semantically, the way English uses combinations of vowels and consonants. The same string of phonemes spoken at different pitches in Mandarin might have completely different meanings as words. Even in English, we use pitch to communicate punctuation, emotional stance and other metadata. Read this out loud to see what I mean:</p>
<blockquote><p>Okay?</p>
<p>Okay.</p>
<p>Okay&#8230;</p>
<p>Okay!</p></blockquote>
<p>Speech has a lot of profound overlaps with music, to the point where it&#8217;s sometimes difficult to draw the line between them. This is I why I&#8217;m convinced by the theory that music is the <a href="http://books.google.com/books?id=5N-5ufxUuJkC&amp;dq=singing+neanderthals&amp;printsec=frontcover&amp;source=bl&amp;ots=NkC7yxWOLI&amp;sig=V4DcI5h-_tcaTl8W9CVv-mbX15Q&amp;hl=en&amp;ei=ZHBqSoTTBMrBtweP2JzHBQ&amp;sa=X&amp;oi=book_result&amp;ct=result&amp;resnum=6">evolutionary precursor</a> of language, the bridge between monkey calls and our present communications systems.</p>
<p>By quantizing and digitizing information, you make it easier to memorize and replicate it. I find myself humming phrases from the Gregorys&#8217; videos the way I hum Andrew Lloyd Webber. Digitized sound information is easier to memorize, store and copy. The subtle nuances of Katie Couric&#8217;s speech with all the pitches on a continuous spectrum are difficult to remember and imitate, but once it&#8217;s Auto-tuned, it becomes effortless. Digitizing data in any medium makes it much more robust across many generations of copies. DNA is a digital medium &#8211; the G, A, T and C of your genes can be logically expressed as ones and zeros, and ones and zeros can be replicated flawlessly and endlessly.</p>
<p>I find Auto-tune <a href="http://www.ethanhein.com/wp/2008/in-praise-of-autotune/">bottomlessly entertaining</a> to listen to. Jay-Z and many of my friends say they&#8217;re tired of it, but I&#8217;m not. I can understand why you might be getting a little burned out on it if you listen to pop radio. However, there&#8217;s a lot of resistance out there to Auto-tune that&#8217;s too deep and intense to just come from jadedness with a music fad. The <a href="http://www.time.com/time/arts/article/0,8599,1893867,00.html">Time magazine article</a> about the Gregorys allows that Auto-tune &#8220;isn&#8217;t always a way to cheat.&#8221; I find that funny. How can Auto-tune be cheating? How can you cheat at music? It&#8217;s not a competitive sport. I prefer to think of music as more <a href="http://www.ethanhein.com/wp/2009/jazz-jazz-revolution/">like a game.</a> You can play better or worse, but there aren&#8217;t really winners and losers. We&#8217;re adept at coming up with systems of rules for music, but we get carried away with that. Who cares <a href="http://www.ethanhein.com/wp/2009/synth-and-axe/">how you make it</a> so long as it sounds good?</p>
<p>If Auto-tune causes you distress because you care about authenticity in your music, I can understand that. I resisted &#8220;fake&#8221; music through most of my teens and twenties. Now I regret all the effort, but I guess I had a point. I was worried that someone was trying to put something over on me. I gave up my desire for authenticity after it became clear that it&#8217;s an impossible dream. There is no authenticity anywhere.</p>
<p>Ever since the sixties, we urban elites have fetishized the bluegrass of the forties as a pure folk form. But <a href="http://en.wikipedia.org/wiki/Bill_Monroe">Bill Monroe</a> wasn&#8217;t some naive backwoods hick. He designed his music deliberately for its commercial appeal to a particular audience. For instance, all that intense treble was there to cut through radio static and low-tech mics and mixing desks. This doesn&#8217;t make Bill Monroe&#8217;s music any less truthful or good. I commend him for finding a way to reach a mass audience with such idiosyncratic, regionally specific music.</p>
<p>I don&#8217;t think there&#8217;s anything magical or transcendent about good music. It&#8217;s like good food, if you make it with care and attention, then it makes people feel good. Sometimes you&#8217;re cooking for yourself, sometimes you&#8217;re cooking for anyone who walks in the door, sometimes you&#8217;re cooking for paying customers. It depends on the situation which recipes are going to work the best.</p>
<p>The half-life for &#8220;bad&#8221; inauthentic pop music to decay into &#8220;good&#8221; authentic art music seems to about one generation. The <a href="http://www.flickr.com/photos/ethanhein/2315299616/in/set-72157619125916471/">analog synths</a> and <a href="http://www.flickr.com/photos/ethanhein/3618219140/in/set-72157619125916471/">drum machines</a> that sounded so fake and lame in the seventies and eighties are cherished vintage gear today. Even the digital samplers of the eighties have attained authentic status because of the digital crunchiness you get from the low sampling rate. I&#8217;ll bet you anything that future hipsters are going to fetishize Auto-tune once the pop mainstream has safely abandoned it.</p>
<p>Potentially the most offensive but also the least ironic video by the Gregorys is this one:</p>
<p style="text-align: center;"><object width="425" height="344" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" 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://www.youtube.com/v/I0F4iXEzOqY&amp;hl=en&amp;fs=1&amp;" /><param name="allowfullscreen" value="true" /><embed width="425" height="344" type="application/x-shockwave-flash" src="http://www.youtube.com/v/I0F4iXEzOqY&amp;hl=en&amp;fs=1&amp;" allowFullScreen="true" allowscriptaccess="always" allowfullscreen="true" /></object></p>
<p style="text-align: left;"><a href="http://andrewgregorymusic.com/thegregorybrothers/music/MLK.mp3">Here&#8217;s the mp3</a> if you want to download it. It makes me a little uncomfortable, especially the greenscreened backup singer thing, which feels disrespectful. But I can&#8217;t argue with the message. I&#8217;d like to hear a producer with more chops do a version of this, maybe at a mellower tempo with less embellishment. Imagine turning on the news and seeing that speech. Either version.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ethanhein.com/wp/2009/autotune-is-the-news/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
<enclosure url="http://andrewgregorymusic.com/thegregorybrothers/music/MLK.mp3" length="3938673" type="audio/mpeg" />
		</item>
		<item>
		<title>A synthesizer is like an axe</title>
		<link>http://www.ethanhein.com/wp/2009/synth-and-axe/</link>
		<comments>http://www.ethanhein.com/wp/2009/synth-and-axe/#comments</comments>
		<pubDate>Thu, 23 Jul 2009 23:15:55 +0000</pubDate>
		<dc:creator>Ethan</dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Interfaces]]></category>
		<category><![CDATA[Key Musicians]]></category>
		<category><![CDATA[Math]]></category>
		<category><![CDATA[Music]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[computers]]></category>
		<category><![CDATA[drum machines]]></category>
		<category><![CDATA[eighties]]></category>
		<category><![CDATA[electronica]]></category>
		<category><![CDATA[Emotion]]></category>
		<category><![CDATA[funk]]></category>
		<category><![CDATA[herbie hancock]]></category>
		<category><![CDATA[interface]]></category>
		<category><![CDATA[jazz]]></category>
		<category><![CDATA[keybs]]></category>
		<category><![CDATA[quincy jones]]></category>
		<category><![CDATA[sequencing]]></category>
		<category><![CDATA[sesame street]]></category>
		<category><![CDATA[synths]]></category>

		<guid isPermaLink="false">http://www.ethanhein.com/wp/?p=1378</guid>
		<description><![CDATA[I found this picture of Herbie Hancock on a stranger&#8217;s blog. There was no caption or any other context. So I posted it on my Flickr with a note asking if anyone could identify the computer Herbie is sitting in front of. A couple of days later my friend Mike responded with this video of [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: left;">I found this picture of <a href="http://en.wikipedia.org/wiki/Herbie_Hancock">Herbie Hancock</a> on a stranger&#8217;s blog.</p>
<p style="text-align: center;"><a href="http://www.flickr.com/photos/ethanhein/3167770674/in/set-72157619125916471/"><img class="aligncenter" title="Herbie with mysterious old-skool computer" src="http://farm4.static.flickr.com/3133/3167770674_95b2793493.jpg?v=1231095899" alt="" width="400" height="317" /></a></p>
<p style="text-align: left;">There was no caption or any other context. So I posted it on my <a href="http://www.flickr.com/photos/ethanhein/">Flickr</a> with a note asking if anyone could identify the computer Herbie is sitting in front of. A couple of days later my friend <a href="http://www.mikeoliver.org/">Mike</a> responded with this video of Herbie and <a href="http://en.wikipedia.org/wiki/Quincy_Jones">Quincy Jones</a> demonstrating Herbie&#8217;s <a href="http://en.wikipedia.org/wiki/Fairlight_CMI">Fairlight CMI</a> in 1983.<span id="more-1378"></span></p>
<p style="text-align: center;"><object width="425" height="344" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" 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://www.youtube.com/v/n6QsusDS_8A&amp;hl=en&amp;fs=1&amp;" /><param name="allowfullscreen" value="true" /><embed width="425" height="344" type="application/x-shockwave-flash" src="http://www.youtube.com/v/n6QsusDS_8A&amp;hl=en&amp;fs=1&amp;" allowFullScreen="true" allowscriptaccess="always" allowfullscreen="true" /></object></p>
<p style="text-align: left;">There&#8217;s so much to love about this clip, from the <a href="http://en.wikipedia.org/wiki/Light_pen">light pen</a> interface onwards. Youtube doesn&#8217;t provide much context, so I don&#8217;t know who was shooting this or why. But I&#8217;m glad they did. Quincy poetically describes playing a synthesizer as &#8220;sculpting a pure electronic waveform.&#8221; The interviewer observes that the African blood is streaming through the electronics. Quincy laughs and says: &#8220;The funk will prevail.&#8221; Herbie laughs too, and then says probably the wisest thing I&#8217;ve heard anyone say about technology in music:</p>
<blockquote>
<p style="text-align: left;">It&#8217;s interesting, cause you know, these instruments were designed for people to use, for <em>people to use</em>. It&#8217;s just a tool, another tool, the way an axe is a tool, an axe can be a tool to cut wood to build a house, or can be a tool to slaughter your neighbor&#8230; A synthesizer can be a tool to really hurt people&#8217;s ears or interfere with their lives, or can be a tool to make a really nice-sounding instrument that can affect people in a positive way. It all depends on the person who&#8217;s using it&#8230; The machine doesn&#8217;t do anything but sit there until we plug it in&#8230; It doesn&#8217;t program itself. Yet.</p>
</blockquote>
<p style="text-align: left;">Herbie was acknowledging the angst that a lot of his fellow jazz musicians were feeling about synthesizers and other electronic music gadgetry (angst that hasn&#8217;t diminished in the years since.) Herbie titled his album of that year <em><a href="http://www.ethanhein.com/wp/2009/herbie-hancock-gets-future-shock/">Future Shock</a></em> for good reason. But ultimately, he&#8217;s right, the tools aren&#8217;t as important as the people behind them. You couldn&#8217;t ask for a better electronic music manifesto than that.</p>
<p style="text-align: left;">Mike also posted this video of Herbie on Sesame Street demonstrating the Fairlight for a group of kids that included Mohammed Ali&#8217;s daughter Tatiana.</p>
<p style="text-align: center;"><object width="425" height="344" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" 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://www.youtube.com/v/oKoisNv1ftw&amp;hl=en&amp;fs=1&amp;" /><param name="allowfullscreen" value="true" /><embed width="425" height="344" type="application/x-shockwave-flash" src="http://www.youtube.com/v/oKoisNv1ftw&amp;hl=en&amp;fs=1&amp;" allowFullScreen="true" allowscriptaccess="always" allowfullscreen="true" /></object></p>
<p style="text-align: left;">Since these videos were made, the price of digital synths and sequencers has undergone the same extraordinarily rapid plunge as all other computer equipment. The first Fairlight model cost £20,000 in 1979. I have no idea what that is in dollars adjusted for inflation, but it&#8217;s definitely not cheap. You can have an identical setup on any laptop computer for a few hundred dollars today. What was the cutting edge of futuristic exotica in the early eighties has become ordinary.</p>
<p style="text-align: left;">The history of technology has this way of making the strange familiar. The tools advance much faster than our understanding of them, or our ability to make the best use of them. Will the funk prevail? It&#8217;s up to the musicians.</p>
<p style="text-align: left;">
]]></content:encoded>
			<wfw:commentRss>http://www.ethanhein.com/wp/2009/synth-and-axe/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Self-reference in computer programming and hip-hop</title>
		<link>http://www.ethanhein.com/wp/2009/self-reference-in-computer-programming-and-hip-hop/</link>
		<comments>http://www.ethanhein.com/wp/2009/self-reference-in-computer-programming-and-hip-hop/#comments</comments>
		<pubDate>Sun, 31 May 2009 18:31:44 +0000</pubDate>
		<dc:creator>Ethan</dc:creator>
				<category><![CDATA[Composition]]></category>
		<category><![CDATA[Music]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[audio editing]]></category>
		<category><![CDATA[computers]]></category>
		<category><![CDATA[fugees]]></category>
		<category><![CDATA[hip-hop]]></category>
		<category><![CDATA[looping]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[recursion]]></category>
		<category><![CDATA[remixes]]></category>
		<category><![CDATA[Sampling]]></category>
		<category><![CDATA[self-reference]]></category>

		<guid isPermaLink="false">http://www.ethanhein.com/wp/?p=714</guid>
		<description><![CDATA[Like this sentence, computer programs and songs can refer to themselves. Many computer programs and songs are made of loops within loops within loops. Self-reference gives computers their extreme versatility. It also makes for richer, more interesting music. Self-reference and looping in computer programs When I was in fifth grade, we did some programming on [...]]]></description>
			<content:encoded><![CDATA[<p>Like this sentence, computer programs and songs can refer to themselves. Many computer programs and songs are made of loops within loops within loops. Self-reference gives computers their extreme versatility. It also makes for richer, more interesting music.</p>
<p style="text-align: center;"><a href="http://www.flickr.com/photos/jerkhaircut/3538413244/"><img class="aligncenter" src="http://farm3.static.flickr.com/2205/3538413244_6e3759a645.jpg?v=0" alt="http://www.flickr.com/photos/jerkhaircut/3538413244/" width="300" height="225" /></a></p>
<h2><span id="more-714"></span>Self-reference and looping in computer programs</h2>
<p>When I was in fifth grade, we did some programming on Apple IIe computers using <a href="http://en.wikipedia.org/wiki/Logo_(programming_language)">Sprite Logo</a>, a student-friendly version of the venerable programming language <a href="http://en.wikipedia.org/wiki/Lisp_(programming_language)">Lisp</a>. In Sprite Logo, you write commands that move a cartoon turtle around the screen (back in the eighties, it was more just an abstract triangle.) The turtle has a pen attached to its tail, and by specifying its path around the screen, you can make it draw shapes. By default, the turtle begins in the center of the screen, pointed up. Here&#8217;s how you tell the turtle to draw a box one hundred pixels on a side, in Logo-like pseudocode:</p>
<pre style="padding-left: 30px;">go forward 100 pixels
turn left 90 degrees
go forward 100 pixels
turn left 90 degrees
go forward 100 pixels
turn left 90 degrees
go forward 100 pixels
end</pre>
<p>Here&#8217;s how you make the turtle draw an equilateral triangle:</p>
<pre style="padding-left: 30px;">go forward 100 pixels
turn right 120 degrees
go forward 100 pixels
turn right 120 degrees
go forward 100 pixels
end</pre>
<p>You can tell Sprite Logo to repeat parts of the program by having it repeat parts of itself, using notation very similar to <a href="http://www.ethanhein.com/wp/2009/take-it-to-the-bridge/">repeat markers</a> in music. You might draw your square by defining a procedure to draw a single side, and then tell the program to repeat this procedure four times:</p>
<pre style="padding-left: 30px;">repeat 4 times: (go forward 100 pixels, turn left 90 degrees)
end</pre>
<p>Here&#8217;s how you&#8217;d draw the triangle using repeats:</p>
<pre style="padding-left: 30px;">repeat 3 times: (go forward 100 pixels, turn right 120 degrees)
end</pre>
<p>You could draw five triangles spaced two hundred pixels apart like so:</p>
<pre style="padding-left: 30px;">repeat 5 times: (repeat 3 times: (go forward 100 pixels, turn right 120 degrees)), go forward 200 pixels)
end</pre>
<p>A more modern way to draw five triangles is to create procedures called &#8220;square side&#8221; and &#8220;triangle side,&#8221; and then have the program run them a certain number of times:</p>
<pre style="padding-left: 30px;">define 'triangle side' as (go forward 100 pixels, turn right 120 degrees)
define 'triangle' as (repeat 3 ('triangle side'))
repeat 5 ('triangle', go forward 200 pixels)
end</pre>
<p>This kind of nested self-reference is so common in computer programming that it&#8217;s easy to forget how weird it is. Computer programs use the same code for both programs and the data that the programs are acting on. In other words, programs can use themselves as data. They can take their own code as input, and can output code too. You can nest layers of self-reference within self-reference in your programs to whatever depth you want. Such self-referential nesting is considered good programming technique, and most of the software we use every day is full of it.</p>
<h2>Self-reference and looping in music</h2>
<p>Music is full of <a href="http://www.ethanhein.com/wp/2009/take-it-to-the-bridge/">self-referential loops</a>. No form of music is more self-referential than hip-hop. In &#8220;My Melody&#8221; by <a href="http://www.ethanhein.com/wp/2010/eric-b-and-rakim/">Eric B and Rakim</a>, Eric B takes the line &#8220;Check out my melody&#8221; and re-sequences its DNA, live on tape, using a sample of the song itself:</p>
<blockquote><p>Ch-ch-ch-ch-check out, check out check out my melody.<br />
Ch-ch-ch-ch-check out, check out check out my melody.</p></blockquote>
<p>Digital audio supports effortless and endless recursion. You lose a little signal quality duing the encoding process, but once you have your <a href="http://www.ethanhein.com/wp/2008/digital-audio-is-just-long-lists-of-numbers/">list of ones and zeros</a>, you can copy it flawlessly across any different medium, as many times as you you want. It&#8217;s not uncommon for DJs and producers to heavily sample themselves, or their own projects, and it&#8217;s not uncommon to use samples of samples of samples.</p>
<p><img class="aligncenter size-full wp-image-782" title="recursion-in-hiphop1" src="http://69.89.31.66/~ethanhei/wp/wp-content/uploads/2009/06/recursion-in-hiphop1.png" alt="recursion-in-hiphop1" width="425" height="183" /></p>
<p>Any song that samples the ubiquitous <a href="http://www.ethanhein.com/wp/2009/the-natural-history-of-the-funky-drummer-break/">&#8220;Funky Drummer&#8221;</a> remix is already a remix of a remix. This is before we come to the uncountable thousands of samples of tracks based on samples of the remix, or samples of those tracks.</p>
<p>A particularly remarkable knot of self-reference is &#8220;The Score&#8221; by The Fugees, from their album of the same name.</p>
<p style="text-align: center;"><object width="480" height="385" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" 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://www.youtube.com/v/sN5Pb18WySE?fs=1&amp;hl=en_US" /><param name="allowfullscreen" value="true" /><embed width="480" height="385" type="application/x-shockwave-flash" src="http://www.youtube.com/v/sN5Pb18WySE?fs=1&amp;hl=en_US" allowFullScreen="true" allowscriptaccess="always" allowfullscreen="true" /></object></p>
<p>&#8220;The Score&#8221; is based on samples of &#8220;My Melody,&#8221; &#8220;Dove&#8221; by Cymande and &#8220;Planet Rock&#8221; by Afrika Bambaataa, itself based on interlocking excerpts of other tracks. &#8220;The Score&#8221; also includes samples from every other song on the album &#8220;The Score&#8221;, and those songs mostly contain samples of still other songs:</p>
<p style="text-align: center;"><a title="Fugees - &quot;The Score&quot; sample map by Ethan Hein, on Flickr" href="http://www.flickr.com/photos/ethanhein/2803814640/"><img src="http://farm4.static.flickr.com/3277/2803814640_becbe93127_z.jpg" alt="Fugees - &quot;The Score&quot; sample map" width="640" height="361" /></a></p>
<p><a href="http://en.wikipedia.org/wiki/Douglas_Hofstadter">Douglas Hofstadter</a> thinks that <a href="http://en.wikipedia.org/wiki/G%C3%B6del,_Escher,_Bach">self-reference is the key to consciousness</a>. That could explain why it&#8217;s such a source of fascination for me: I&#8217;m seeing a reflection of myself.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ethanhein.com/wp/2009/self-reference-in-computer-programming-and-hip-hop/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Songwriting and computer programming</title>
		<link>http://www.ethanhein.com/wp/2009/take-it-to-the-bridge/</link>
		<comments>http://www.ethanhein.com/wp/2009/take-it-to-the-bridge/#comments</comments>
		<pubDate>Fri, 29 May 2009 01:42:54 +0000</pubDate>
		<dc:creator>Ethan</dc:creator>
				<category><![CDATA[Composition]]></category>
		<category><![CDATA[Math]]></category>
		<category><![CDATA[Music]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[chameleon]]></category>
		<category><![CDATA[computer science]]></category>
		<category><![CDATA[computers]]></category>
		<category><![CDATA[electronica]]></category>
		<category><![CDATA[fractals]]></category>
		<category><![CDATA[herbie hancock]]></category>
		<category><![CDATA[Improvisation]]></category>
		<category><![CDATA[james brown]]></category>
		<category><![CDATA[looping]]></category>
		<category><![CDATA[mandelbrot]]></category>
		<category><![CDATA[music notation]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[recursion]]></category>
		<category><![CDATA[visualization]]></category>

		<guid isPermaLink="false">http://www.ethanhein.com/wp/?p=686</guid>
		<description><![CDATA[Writing a song is a lot like writing a computer program. They both require clever management of loops and control flow. The simplest sheet music reads as a straightforward top-to-bottom list of instructions. You start on measure one and read through to the end sequentially. That&#8217;s fine unless the music is very repetitive, which most [...]]]></description>
			<content:encoded><![CDATA[<p>Writing a song is a lot like writing a computer program. They both require clever management of loops and <a href="http://en.wikipedia.org/wiki/Control_flow">control flow.</a></p>
<p>The simplest sheet music reads as a straightforward top-to-bottom list of instructions. You start on measure one and read through to the end sequentially. That&#8217;s fine unless the music is very <a href="http://en.wikipedia.org/wiki/Repetition_(music)">repetitive</a>, which most popular music is. The loop is the basic compositional unit of nearly every song you could dance to. The problem is that writing loops out sequentially is very tedious.</p>
<p style="text-align: left;">Rather than writing the same passage over and over, you can save yourself a lot of laborious writing by using repeat markers. They&#8217;re like the <a href="http://en.wikipedia.org/wiki/GOTO">GOTO</a> instruction in BASIC. Here are the first four bars of &#8220;Chameleon&#8221; by <a href="http://www.flickr.com/photos/ethanhein/tags/herbiehancock/">Herbie Hancock</a>. This four-bar phrase repeats hundreds of times over the course of the song. You wouldn&#8217;t want to write them all out. With repeat markers, you don&#8217;t have to.<a href="http://www.flickr.com/photos/ethanhein/3563600685/"><img class="aligncenter" title="Chameleon by Herbie Hancock" src="http://farm3.static.flickr.com/2457/3563600685_ebcfb1baa2.jpg" alt="" width="500" height="53" /><span id="more-686"></span></a>The repeat markers are the things on the ends that look like brackets with two little dots inside them. When you get to the closing repeat marker at the end of the passage, you jump to the opening repeat marker.</p>
<p style="text-align: left;">By default, repeat markers tell you to just play the repeated section once. You can also specify any number of multiple repeats. For &#8220;Chameleon&#8221;, that wouldn&#8217;t help much, because if you said repeat 128 or 256 times, no musicians could count that high. For open-ended music, you&#8217;re better off writing &#8220;repeat until cue.&#8221; This leaves it to the performer to decide how many repeats there should be.</p>
<p style="text-align: left;">Repeat markers give sheet music the topology of a clock face. Here&#8217;s how you hear the Chameleon loop. Read clockwise:<a href="http://www.flickr.com/photos/ethanhein/2476843554/in/set-72157609378411245/"><img class="aligncenter" title="You experience repeat markers as loops" src="http://farm4.static.flickr.com/3244/2476843554_cff5ccf437.jpg?v=0" alt="" width="400" height="400" /></a></p>
<p>Western music notation also includes more complex repeats, with different conditional instructions waiting for you depending on whether it&#8217;s your first, second or third pass. Repeats get combined with special jump instructions like <em>DC</em>, short for Da Capo, &#8220;to the head.&#8221; <em>DC</em> tells the performer to jump to the beginning of the piece. <em>Coda</em>, &#8220;tail&#8221;, means &#8220;jump to the ending.&#8221;</p>
<p>Through clever use of repeat markers and jumps, you can fit elaborately complex musical scores onto a sheet or two of paper, which is very convenient if you&#8217;re playing an instrument that makes it hard to turn pages in mid-flight.</p>
<p>Even with its repeats and jumps, European classical music is mostly linear. The scores can be expanded into single rows of measures, like a chain of paper clips. Open-ended loops, the ones marked &#8220;repeat until cue&#8221;, are another story. A linear expansion of a piece containing open-ended loops will be different for every performance. Who knows how many paper clips you&#8217;ll wind up with in your chain?</p>
<p>European classical music can get boring because it isn&#8217;t repetitive enough. Outside of western Europe, open-ended repetition is the central organizational element of music. We in America have been wise to pay attention to this lesson. Jazz, country, rock, funk, hip-hop and dance music of all description use some form of &#8220;repeat until cue&#8221; in almost every song.</p>
<p><a href="http://www.ethanhein.com/wp/tag/james-brown">James Brown</a> in particular was a master of open-ended loops. Usually bandleaders take the musicians in and out of loops through hand signals or eye contact. James Brown preferred to shout instructions to his band out loud in mid-song, and his shouts became a key element of his music. The most famous example is in &#8220;(Get Up I Feel Like Being A) Sex Machine.&#8221;</p>
<p style="text-align: center;"><object width="480" height="385" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" 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://www.youtube.com/v/GrFzB3CvU9M?fs=1&amp;hl=en_US" /><param name="allowfullscreen" value="true" /><embed width="480" height="385" type="application/x-shockwave-flash" src="http://www.youtube.com/v/GrFzB3CvU9M?fs=1&amp;hl=en_US" allowFullScreen="true" allowscriptaccess="always" allowfullscreen="true" /></object></p>
<p>As the band loops on the main E thirteenth chord riff, James Brown and Bobby Byrd debate whether it&#8217;s time to take it to the <a href="http://en.wikipedia.org/wiki/Bridge_(music)">bridge</a>:</p>
<blockquote><p>James Brown: Bobby! Should I take &#8216;em to the bridge?</p>
<p>Bobby Byrd: Go ahead!</p>
<p>James Brown: Take &#8216;em on to the bridge!</p>
<p>Bobby Byrd: Take &#8216;em to the bridge!</p>
<p>James Brown: Should I take &#8216;em to the bridge?</p>
<p>Bobby Byrd: Yeah!</p>
<p>James Brown: Take &#8216;em to the bridge?</p>
<p>Bobby Byrd: Go ahead!</p>
<p>James Brown: Hit me now!</p></blockquote>
<p>The band transitions into a loop on A ninth. They play that loop until James Brown orders them back to the main part. At the end of the song comes another debate:</p>
<blockquote><p>JB: Can we hit it like we did one more time, from the top? Can we hit like that one more time?</p>
<p>BB: One more time!</p>
<p>JB: One more time, let&#8217;s hit it and quit!</p>
<p>BB: Go ahead!</p>
<p>JB: Can we hit it and quit?</p>
<p>BB: Yeah!</p>
<p>JB: Can we hit it and quit?</p>
<p>BB: Yeah!</p>
<p>JB: Can we hit it and quit?</p>
<p>BB: Yeah!</p>
<p>JB: Hit it!</p></blockquote>
<p>Loops are easy to memorize, but not so easy to perform. It takes deep concentration to play James Brown songs. Musicians trained in the Western classical tradition often find reading through a complex linear score to be easier than sustaining an open-ended groove.</p>
<p>Electronic instruments, on the other hand, make looping a breeze. Once you have a drum machine pattern, sample or MIDI sequence set up, you can loop it effortlessly and endlessly. The effort comes in breaking the symmetry, deciding how long the loop should play, when parts should enter or exit. My friend <a href="http://www.scrollmotion.com/whoweare.html">Josh Koppel</a> likes to use the phrase &#8220;a digital thing in analog form.&#8221; In the hands of James Brown, his band functioned as an analog loop and sample player, one that could improvise to boot.</p>
<p>The computer science equivalent of &#8220;repeat until cue&#8221; is the <a href="http://en.wikipedia.org/wiki/For_loop">for loop</a>, also known as the if-then loop. Instead of explicitly telling the computer how many times to repeat a given instruction, you can have it keep repeating until some condition is met. Let&#8217;s say you want the computer to list every number from one to ten thousand. Here&#8217;s one way to do it in pseudocode &#8212; the second to last statements is the if-then loop.</p>
<blockquote><p>Input starts at zero.</p>
<p>Input plus one equals output.</p>
<p>Print output to screen.</p>
<p>If output is less than ten thousand, then take output as the new input and repeat.</p>
<p>If output equals ten thousand, then end.</p></blockquote>
<p>Using a few if-then loops, you can generate huge or even infinite amounts of complexity from very short programs. Fractals like the <a href="http://en.wikipedia.org/wiki/Mandelbrot_set">Mandelbrot set</a> are generated using just a few simple loops.</p>
<p><a href="http://www.flickr.com/photos/ethanhein/2767692001/sizes/l/"><img class="aligncenter" title="Part of the Mandelbrot set - click to embiggen" src="http://farm4.static.flickr.com/3232/2767692001_ac8b7a91ea.jpg" alt="" width="500" height="375" /></a></p>
<p>Computers need to be told explicitly when and how to terminate their loops. Otherwise, they go <a href="http://www.ethanhein.com/wp/2009/soft-failure-and-the-dunder-mifflin-paper-company/">around and around forever</a>, a condition you experience as a crash. <a href="http://www.ethanhein.com/wp/2009/brain-vs-computer-which-is-better">Humans are smarter</a> in this regard: when told to repeat forever, we eventually get bored and stop.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ethanhein.com/wp/2009/take-it-to-the-bridge/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>The desktop metaphor is, like, so five minutes ago</title>
		<link>http://www.ethanhein.com/wp/2009/the-desktop-metaphor-is-like-so-five-minutes-ago/</link>
		<comments>http://www.ethanhein.com/wp/2009/the-desktop-metaphor-is-like-so-five-minutes-ago/#comments</comments>
		<pubDate>Sat, 23 May 2009 21:00:49 +0000</pubDate>
		<dc:creator>Ethan</dc:creator>
				<category><![CDATA[Interfaces]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Video Games]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[computers]]></category>
		<category><![CDATA[desktop]]></category>
		<category><![CDATA[eighties]]></category>
		<category><![CDATA[interface]]></category>
		<category><![CDATA[metaphor]]></category>
		<category><![CDATA[microsoft]]></category>
		<category><![CDATA[nintendo]]></category>
		<category><![CDATA[recursion]]></category>
		<category><![CDATA[super mario bros]]></category>
		<category><![CDATA[visualization]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://www.ethanhein.com/wp/?p=643</guid>
		<description><![CDATA[Update: this was written before I ever touched an iPhone or iPad. These devices are major improvements over the desktop metaphor GUIs I complain about below. When you grow up playing video games, like I did, the primitiveness of office software user interface design comes as a shock. The desktop metaphor was a brilliant stroke [...]]]></description>
			<content:encoded><![CDATA[<p><em>Update: this was written before I ever touched an iPhone or iPad. These devices are major improvements over the desktop metaphor GUIs I complain about below.</em></p>
<p>When you grow up playing video games, like I did, the primitiveness of office software user interface design comes as a shock. The <a href="http://en.wikipedia.org/wiki/Desktop_metaphor">desktop metaphor</a> was a brilliant stroke back in 1970 when they thought it up at Xerox PARC, but I feel like it has outlived its usefulness.</p>
<p>User interfaces are the first and most immediate form of computer instruction, and for many people the only instruction they ever receive. Not every interface designer teaches their own products equally well. The problems mostly emerge from designers&#8217; presuming implicit knowledge from the user that might not really be there. There are plenty of computer science concepts that are common knowledge to programmers and engineers, but that are esoteric or totally opaque to the population at large. For example, the general public uses the terms memory and storage interchangeably, even though they refer to different computer components that function in very different ways. Most normal people don&#8217;t have mental models of a computer program&#8217;s inner workings, and rely entirely on the interface to provide the model.</p>
<p><a href="http://www.flickr.com/photos/ethanhein/2803814672/in/set-72157604970215586/"><img class="aligncenter" title="The user interface is the first and sometimes only computer science teacher" src="http://farm4.static.flickr.com/3243/2803814672_42438b7db6.jpg?v=0" alt="" width="360" height="216" /></a></p>
<p><span id="more-643"></span>The desktop metaphor treats the screen of a computer as if it&#8217;s the top of your desk. Great, except that it&#8217;s vertical instead of horizontal, and the laws of physics mostly don&#8217;t apply. A window in an operating system isn&#8217;t very much like a window in a wall and is even less like a sheet of paper. Typing some text on the screen only very superficially resembles typing it on paper. Unsaved text is in volatile memory that needs to be continuously powered to work. If you turn off the computer, intentionally or not, memory gets instantly blanked, and your text is gone forever. The only way to prevent this tragedy is to make sure to explicitly tell the computer to copy the text <a href="http://www.flickr.com/photos/ethanhein/2777020592/">from memory onto a storage device</a> like the hard disk.</p>
<p>Computer experts sneer at people who don&#8217;t understand the concept of saving, but it&#8217;s wrong to sneer, because there&#8217;s no reason for someone to intuit the difference between volatile memory and non-volatile storage unless they&#8217;ve had it carefully explained to them. We&#8217;re used to making marks on a surface and having them persist unless we take steps to erase them. There is a trend towards auto-saving in software, but it&#8217;s been absurdly slow in coming.</p>
<p>The filing cabinet analogy for hard drives made more sense back in the eighties, when disks were expensive and limited in their storage capacity. The first computer I was in charge of was the one I took to college in 1993. I knew intimately which programs I had installed on it at all times, because if I wanted to install a new one, I had to erase something first. Now the hard disk&#8217;s filing system has to contend with billions of bytes of data. In this era, a big searchable database is a better model than a filing cabinet. Instead of putting a file in a single, unambiguous location, you&#8217;re better off tagging it with descriptive metadata so you&#8217;ll be able to find it in a search later. The filing cabinet analogy has the virtue of accurately representing the file system&#8217;s actual organization, but it&#8217;s not very human-friendly. Our own minds are organized into associative networks, not hierarchical directories.</p>
<p><a title="Cortex by Ethan Hein, on Flickr" href="http://www.flickr.com/photos/ethanhein/2245074770/"><img class="aligncenter" src="http://farm3.static.flickr.com/2393/2245074770_c07eeab438_o.jpg" alt="Cortex" width="288" height="226" /></a></p>
<p>The most annoying aspect of the conventional desktop metaphor is its Escher-like recursiveness. Within the screen representing part of the computer is an icon representing the entire computer. The desktop folder appears to be inside itself. The recursion is interesting from a <a href="http://en.wikipedia.org/wiki/G%C3%B6del,_Escher,_Bach">metaphysical perspective</a>, but deeply confusing if you&#8217;re just trying to understand your file system.</p>
<p><a href="http://www.flickr.com/photos/ethanhein/2679769337/in/set-72157604970179232/"><img class="aligncenter" title="Linux recursion" src="http://farm4.static.flickr.com/3246/2679769337_9eccfeb223.jpg?v=0" alt="" width="500" height="375" /></a></p>
<p>Much as I love the Mac OS, its recursiveness can be even more confusing than Windows. The Mac has two sets of folders called Applications, Documents, Library, and so on. Even though their names are identical, their identities and functions are totally separate.</p>
<p>For non-expert users, probably the most difficult aspect of the graphical user interface is keeping track of the <a href="http://en.wikipedia.org/wiki/Focus_(computing)">keyboard focus</a>. Even the Mac OS doesn&#8217;t always do a wonderful job of making it obvious which text field in which window has the keyboard focus. In the screenshot below, the text cursor could be subtly blinking in any of at least three different places.</p>
<p><a href="http://www.flickr.com/photos/ethanhein/2679768909/in/set-72157604970215586/"><img class="aligncenter" title="Wheres the keyboard focus?" src="http://farm4.static.flickr.com/3048/2679768909_ae91e5430e.jpg?v=0" alt="" width="500" height="375" /></a></p>
<p>As a teacher of novice users, the phrase you hear a lot is: &#8220;I don&#8217;t know where I am, I want to go here.&#8221; This is an interesting phrase to me. No one says, &#8220;I don&#8217;t know which task or process is set to receive text input.&#8221; People intuitively conceptualize computer interfaces as places inhabited by their own bodies. This intuition is misguided &#8211; even when you &#8220;surf&#8221; the web, you&#8217;re not going anywhere, bits are being transmitted to and fro from one computer disk to another. But there&#8217;s no talking people out of their intuition. Computer programs are easier and more fun to use when they present a user illusion that accommodates our instincts.</p>
<p>Windows represents your onscreen avatar as a little arrow, a little cartoon glove or a little hourglass. Macs represent you as an arrow or a psychedelic rotating rainbow ball. Efforts to make the computer into a &#8220;person&#8221; you&#8217;re talking to always fail. Everyone hates Microsoft&#8217;s anthropomorphic paper clip and dog, and people would rather interact with impersonal Google than to ask Jeeves. It would be better to represent the operating system as a place, with the user &#8220;embodied&#8221; by an avatar. It doesn&#8217;t have to be a person, or even humanoid. It can be a bird or a robot or whatever. But you do have to be able to easily control and manipulate it, and it needs to unambiguously represent the keyboard focus.</p>
<p>I think the future of interface design is to be found not in Apple&#8217;s products, but in video games, especially <a href="http://www.flickr.com/photos/ethanhein/tags/eighties/">eighties</a> <a href="http://www.flickr.com/photos/ethanhein/sets/72157602723530275/">video games</a>, most especially the ones by <a href="http://www.flickr.com/photos/ethanhein/tags/nintendo/">Nintendo</a>. The user interface of every Nintendo product has to be intelligible by semi-literate young children in every world culture. For the most part, they succeed heroically. Long before video games had any of their present lavish production values, they conveyed a strong sense of first-person experience that could be instantly grasped by preschool-aged children. This metaphor is as old as human consciousness, and we&#8217;re vastly more adept with it than we are with the metaphors of desktops, file cabinets and disembodied cartoon fingers. If I controlled the universe, I&#8217;d want my computer&#8217;s file system to look like this:</p>
<p><a href="http://www.flickr.com/photos/ethanhein/3552842584/"><img class="aligncenter" title="This how I wish my computers file system looked" src="http://farm4.static.flickr.com/3649/3552842584_176a26bc85.jpg?v=0" alt="" width="500" height="375" /></a></p>
<p><a href="http://www.flickr.com/photos/ethanhein/3557308959/"><img class="aligncenter" title="Super Mario Bros 3 - Skyland" src="http://farm3.static.flickr.com/2429/3557308959_91a3e8848d.jpg?v=0" alt="" width="500" height="418" /></a></p>
<p>The Mario games are models of clarity and graphic economy. One visual metaphor I&#8217;m particularly fond of is the level selection system in <a href="http://en.wikipedia.org/wiki/Super_Mario_64">Super Mario 64</a> &#8212; I&#8217;d include a screenshot but I can&#8217;t find a good one. You start the game in Princess Peach&#8217;s castle. Each level is represented by a painting hanging on the wall. To visit that level, you jump into the painting. I&#8217;m imagining a nice system for pointers and aliases where you could take the paintings off the wall, carry them around with you as you see fit, rearrange them, etc.</p>
<p>Mario 64 is a 3D game, but I&#8217;m not advocating the use of 3D spaces as interfaces generally. I think eighties video games are a better model for interface designers exactly because they&#8217;re limited to 2D spaces with limited attempts at depth. Unless it&#8217;s handled very expertly, illusory projections of 3D spaces onto a 2D screen cause a lot of confusion. Playing a game like Halo or Quake is a poor approximation of our actual 3D experience, it&#8217;s like viewing the world through a cardboard box with a little rectangular hole cut through it, and with only one eye. I think it&#8217;s better to look for creatively optimized plane layouts than to burden the user with a lot of projective geometry.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ethanhein.com/wp/2009/the-desktop-metaphor-is-like-so-five-minutes-ago/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Be brave, go ahead and divide by zero</title>
		<link>http://www.ethanhein.com/wp/2009/be-brave-go-ahead-and-divide-by-zero/</link>
		<comments>http://www.ethanhein.com/wp/2009/be-brave-go-ahead-and-divide-by-zero/#comments</comments>
		<pubDate>Fri, 15 May 2009 00:29:21 +0000</pubDate>
		<dc:creator>Ethan</dc:creator>
				<category><![CDATA[Math]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[anxiety]]></category>
		<category><![CDATA[blue screen of death]]></category>
		<category><![CDATA[buddhism]]></category>
		<category><![CDATA[computers]]></category>
		<category><![CDATA[crashes]]></category>
		<category><![CDATA[fail]]></category>
		<category><![CDATA[meditation]]></category>
		<category><![CDATA[zero]]></category>

		<guid isPermaLink="false">http://www.ethanhein.com/wp/?p=572</guid>
		<description><![CDATA[When you learned division in school, the teacher probably brushed off the issue of dividing by zero in one sentence: you can&#8217;t do it, moving on. You might feel like you got shortchanged by that explanation. Why not? What happens when you divide by zero? You can&#8217;t ask the computer. Computers fail when you ask [...]]]></description>
			<content:encoded><![CDATA[<p>When you learned division in school, the teacher probably brushed off the issue of dividing by zero in one sentence: you can&#8217;t do it, moving on. You might feel like you got shortchanged by that explanation. Why not? What happens when you divide by zero?</p>
<p><span id="more-572"></span>You can&#8217;t ask the computer. Computers fail when you ask them questions with no unambiguous answer. Dividing by zero is just such a question. Folklore suggests that asking the computer to divide by zero makes it spectacularly explode or something. In reality, it returns an error message or the reply <a href="http://en.wikipedia.org/wiki/NaN">Not A Number</a>, or it gives a wrong answer, or the program terminates, or sometimes the machine falls into an <a href="http://www.flickr.com/photos/ethanhein/sets/72157604970179232/">infinite loop</a>.</p>
<p>The internet&#8217;s favorite divide-by-zero error is the one that temporarily crippled the <a href="http://en.wikipedia.org/wiki/USS_Yorktown_(CG-48)">USS Yorktown,</a> a Ticonderoga-class cruiser that was the test bed for the Navy&#8217;s Smart Ship program. When a crew member typed zero into a database field, the computer tried to divide by it, crashing the system badly enough to cripple the ship&#8217;s navigation systems for several hours.</p>
<p>Humans are <a href="http://www.ethanhein.com/wp/2009/brain-vs-computer-which-is-better/">smarter</a> than computers in some ways, and we&#8217;re capable of coming up with creative answers to seemingly unanswerable questions. So what do you get when you divide something by zero? My answer draws heavily on the entertaining <a href="http://en.wikipedia.org/wiki/Divide_by_zero">wikipedia article.</a> For the sake of simplicity, let&#8217;s say we&#8217;re dividing one by zero. The math people have a crafty method for dealing with problems you can&#8217;t approach directly. You can edge closer and closer to the problem and see if you converge on an answer. So instead of dividing one by zero, you could try dividing it by smaller and smaller numbers that approach zero. One divided by one tenth is ten. One divided by one one-hundredth is a hundred. One divided by one one-thousandth is a thousand. Since one divided by one one-gazillionth is one gazillion, logic suggests that one divided by zero is going to be infinity.</p>
<p>It makes sense, but there&#8217;s a problem. We&#8217;ve been approaching zero from above, but we could just as easily approach it from below. When you divide one by negative one tenth, you get negative ten. One divided by negative one one-hundredth is negative one hundred. One divided by negative one gazillionth is negative one gazillion. So you could just as easily say that one divided by zero is negative infinity. Both infinity and negative infinity are equally valid answers. Here it is as a graph.</p>
<p style="text-align: center;"><a href="http://en.wikipedia.org/wiki/Division_by_zero"><img class="aligncenter" title="Approaching zero from above and below" src="http://upload.wikimedia.org/wikipedia/commons/thumb/4/43/Hyperbola_one_over_x.svg/800px-Hyperbola_one_over_x.svg.png" alt="" width="480" height="360" /></a></p>
<p>Some people interpret this graph to say that infinity and negative infinity are <a href="http://en.wikipedia.org/wiki/Real_projective_line">the same number.</a> It&#8217;s not as crazy as it sounds. Let&#8217;s say that instead of being on the computer screen, the graph was drawn on a globe. Imagine the number line wrapped around the equator. Say the spot where the <a href="http://en.wikipedia.org/wiki/Prime_Meridian">Prime Meridian</a> crosses the equator is zero. If you&#8217;re in a rowboat bobbing in that spot in the Atlantic Ocean, enjoying the warm breeze, you can think of the positive numbers as going off along the equator to the east, and the negative numbers going off to the west. Infinity is the farthest possible point away from you on the equator to the east, and negative infinity is the farthest point away from you to the west. On the Earth, positive and negative infinity are the same place, the <a href="http://en.wikipedia.org/wiki/180th_meridian">International Date Line</a> in the Pacific. For this image to be totally accurate, the Earth would have to be infinitely large, but the math guys bracket that. By this thinking, one divided by zero does have a single, unambiguous answer: this mysterious number called unsigned infinity.</p>
<p>When you type &#8220;divide by zero&#8221; into <a href=" http://images.google.com/images?q=divide+by+zero&amp;oe=utf-8&amp;rls=org.mozilla:en-US:official&amp;client=firefox-a&amp;um=1&amp;ie=UTF-8&amp;ei=1KQMSsvAG4yq8gTCi8XQDw&amp;sa=X&amp;oi=image_result_group&amp;resnum=1&amp;ct=title">Google images</a>, you get a lot of stuff like this:</p>
<p style="text-align: center;"><img class="aligncenter" src="http://farm3.static.flickr.com/2424/3876711570_d2b31d1d89.jpg" alt="" width="400" height="314" /></p>
<p>Our European-descended philosophical assumptions are at work here. Western thinkers prefer clear, unambiguous, yes-no dichotomies. Paradoxical and multiply-determined truths make us anxious. Some of the internet cartoons show dividing by zero ripping holes in the space-time continuum, forming black holes, or making your head explode. That much hyperbole has to conceal some pretty intense anxiety. I know these pictures are jokes, but I agree with Freud, on some level there are no jokes.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ethanhein.com/wp/2009/be-brave-go-ahead-and-divide-by-zero/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
	</channel>
</rss>

