<?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; audio</title>
	<atom:link href="http://www.ethanhein.com/wp/tag/audio/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ethanhein.com/wp</link>
	<description>Music, Technology, Evolution</description>
	<lastBuildDate>Mon, 06 Feb 2012 02:26:15 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<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>The Beatles were an electronica band</title>
		<link>http://www.ethanhein.com/wp/2009/beatles-electronica/</link>
		<comments>http://www.ethanhein.com/wp/2009/beatles-electronica/#comments</comments>
		<pubDate>Wed, 26 Aug 2009 00:27:06 +0000</pubDate>
		<dc:creator>Ethan</dc:creator>
				<category><![CDATA[Key Musicians]]></category>
		<category><![CDATA[Music]]></category>
		<category><![CDATA[Recording]]></category>
		<category><![CDATA[Sampling]]></category>
		<category><![CDATA[Video Games]]></category>
		<category><![CDATA[abbey road]]></category>
		<category><![CDATA[analog]]></category>
		<category><![CDATA[audio]]></category>
		<category><![CDATA[audio editing]]></category>
		<category><![CDATA[beatles]]></category>
		<category><![CDATA[common]]></category>
		<category><![CDATA[divorce]]></category>
		<category><![CDATA[hip-hop]]></category>
		<category><![CDATA[john lennon]]></category>
		<category><![CDATA[kanye west]]></category>
		<category><![CDATA[mellotron]]></category>
		<category><![CDATA[memes]]></category>
		<category><![CDATA[mixtapes]]></category>
		<category><![CDATA[multitracking]]></category>
		<category><![CDATA[paul mccartney]]></category>
		<category><![CDATA[prince]]></category>
		<category><![CDATA[remixes]]></category>
		<category><![CDATA[rock]]></category>
		<category><![CDATA[rock band]]></category>
		<category><![CDATA[tape]]></category>
		<category><![CDATA[tape editing]]></category>

		<guid isPermaLink="false">http://www.ethanhein.com/wp/?p=2020</guid>
		<description><![CDATA[Why are the Beatles still so cool? By which I mean the late Beatles, Revolver onwards. I like Please Please Me as much as the next guy, but it isn&#8217;t why the Beatles are cool now. No, I mean the last few records, especially Sgt Pepper, the White Album and Abbey Road. If any of [...]]]></description>
			<content:encoded><![CDATA[<p>Why are the Beatles still so cool? By which I mean the late Beatles, <em>Revolver</em> onwards. I like <em> Please Please Me</em> as much as the next guy, but it isn&#8217;t why the Beatles are cool now. No, I mean the last few records, especially <em> Sgt Pepper,</em> the White Album and <em>Abbey Road.</em> If any of these albums were released next week, Pitchfork would go ballistic over them. Three quarters of the indie rock of the past ten years descends directly from <em>Abbey Road.</em> Why do we all still care so much?</p>
<p style="text-align: center;"><a href="http://en.wikipedia.org/wiki/Abbey_Road_%28album%29"><img class="aligncenter" title="Abbey Road" src="http://upload.wikimedia.org/wikipedia/en/4/42/Beatles_-_Abbey_Road.jpg" alt="" width="288" height="288" /></a></p>
<p><span id="more-2020"></span>Let&#8217;s say you&#8217;d never heard of the Beatles, and I played you &#8220;Lucy In The Sky With Diamonds,&#8221; &#8220;Within You Without You,&#8221; and &#8220;When I&#8217;m Sixty-Four.&#8221; You wouldn&#8217;t have any reason to think they were written and recorded by the same people. They weren&#8217;t. The three songs are effectively solo John Lennon, George Harrison and Paul McCartney tunes, respectively. It&#8217;s wonderful to imagine that a single group of humans working together could have produced such wildly disparate sounds, and it was a royal bummer for me to find out that during long stretches of the <em>Sgt Pepper&#8217;s</em> sessions, the Beatles weren&#8217;t even talking to each other.</p>
<p>I think the late Beatles are still so relevant because they remind people my age and younger of our divorced parents. Their albums are extremely well-made art produced by a group of people in a failed and dysfunctional relationship. Yet the product bears a collective name, creating the illusion of a unified creative team. For legal reasons, the songwriting credits are mostly Lennon/McCartney, even after the two stopped writing and recording in the same room. It&#8217;s like how my mom retains my dad&#8217;s last name decades after their divorce and remarriage to other people. The mental process of trying to resolve the jagged stylistic contradictions in <em>Sgt Pepper</em> is familiar to me, it&#8217;s like squaring the conflicting values and loyalties of my parents and stepparents. Late Beatles albums are more like mixtapes than albums by a band.</p>
<p>I was always was more of a Beatles guy than a Stones guy. Like me, the Beatles didn&#8217;t remotely hate their parents. Not the way rock stars usually do; not the way the Stones did. The Beatles revered their parents. They wrote songs for and about them. It&#8217;s mostly McCartney doing these songs, but my favorite John Lennon song ever is about his mother Julia. The Beatles were kid-friendly, too. Could you imagine the Stones writing &#8220;Yellow Submarine&#8221; or &#8220;Octopus&#8217; Garden&#8221;?</p>
<p>Most rock musicians turn their angst into hedonistic defiance or anger. The Beatles turned most of their angst into wistfulness. Even when their music pushed boundaries, it mostly did so in a relatively polite, restrained way. Maybe the band kept so much composure in their later years because instead of playing in rowdy bars, they were performing for George Martin and the BBC engineers in their coats and ties. These straightlaced British civil servants were the only listeners present for most of the band&#8217;s live music-making after 1965, along with Yoko Ono. The Beatles&#8217; poker face is uptight by rock standards, but it makes perfect sense for professionals in a high-tech work setting.</p>
<p style="text-align: left;">The advances in recording technology that gave the late Beatles albums so much of their imaginative sweep also contributed to their feeling of alienation. In the early years, the band recorded by getting together in a room and playing live to single-track tape. By the end, Paul McCartney could use multitracking to play every instrument on &#8220;Back In The USSR&#8221; and &#8220;Birthday&#8221;, as if he was <a href="http://www.ethanhein.com/wp/2009/prince/">Prince</a> recording &#8220;When Doves Cry.&#8221; The tape collage stuff like &#8220;Revolution 9&#8243; and the end of &#8220;Strawberry Fields Forever&#8221; is more like Aphex Twin than Chuck Berry. And the instrumentation moved steadily into synth and sampler territory. The flutes at the beginning of &#8220;Strawberry Fields&#8221; aren&#8217;t real, they&#8217;re tape samples in a <a href="http://en.wikipedia.org/wiki/Mellotron">Mellotron.</a> Here&#8217;s a video about this early <a href="http://www.ethanhein.com/wp/2009/sampling-keybs">sampling keyboard</a> &#8211; thanks, <a href="http://nickseaver.net/hssp/sampling.html">Nick Seaver.</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/yrXtmKGkSa4&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/yrXtmKGkSa4&amp;hl=en&amp;fs=1&amp;" allowFullScreen="true" allowscriptaccess="always" allowfullscreen="true" /></object></p>
<p>The famous medley that ends <em>Abbey Road</em> is a sixteen-minute DJ mix of leftovers from the White Album and <em>Let It Be.</em> It was carefully edited into a seamless suite by McCartney and George Martin. The medley can&#8217;t exist outside of the recording medium. The Beatles never played it live, and to my knowledge no one else has either. How would you even approach it? I learned the first chunk on the guitar and it was a whole music education unto itself, but my rendition is not going to make you forget the original.</p>
<p>Given how electronic their sound was, it&#8217;s a shame that the Beatles have never allowed anyone to sample them. If they had been born twenty years later, they might well have tried their hand at loops and breakbeats. Their early songs are collages of Chuck Berry and Carl Perkins and Buddy Holly. The later, more ambitious songs feel more &#8220;original&#8221; only because the source material for the collaged is more diverse. <a title="Because (The Beatles song)" href="http://en.wikipedia.org/wiki/Because_%28The_Beatles_song%29">Wikipedia says:</a></p>
<blockquote>
<p style="text-align: left;">According to Lennon, &#8220;Because&#8221; was inspired by <a title="Ludwig van Beethoven" href="http://en.wikipedia.org/wiki/Ludwig_van_Beethoven">Ludwig van Beethoven</a>&#8216;s &#8220;<a title="Piano Sonata No. 14 (Beethoven)" href="http://en.wikipedia.org/wiki/Piano_Sonata_No._14_%28Beethoven%29">Moonlight Sonata</a>&#8220;. &#8220;<a title="Yoko Ono" href="http://en.wikipedia.org/wiki/Yoko_Ono">Yoko</a> was playing Beethoven&#8217;s &#8216;Moonlight Sonata&#8217; on the piano &#8230; I said, &#8216;Can you play those chords backwards?&#8217;, and wrote &#8216;Because&#8217; around them.</p>
</blockquote>
<p>Another Beatles classical remix is &#8220;Blackbird.&#8221; It includes a fragment of <a title="Bach" href="http://en.wikipedia.org/wiki/Bach">Bach</a>&#8216;s <em><a title="BourrÃ©e in E minor" href="http://en.wikipedia.org/wiki/Bourr%C3%A9e_in_E_minor">BourrÃ©e in E minor</a></em>. It&#8217;s the ascending G major part, a loop that runs through the song. These guys are a narural fit for sample culture.</p>
<p>Not like people are waiting for permission to sample the Beatles. The white half of <a href="http://www.gnarlsbarkley.com/">Gnarls Barkley</a>, <a href="http://www.dangermousesite.com/">Danger Mouse</a>, made his first big splash by combining <a href="http://www.amazon.com/Album-Jay-Z/dp/B0000DZFL0">Jay-Z</a>&#8216;s <a href="http://www.amazon.com/Album-Jay-Z/dp/B0000DZFL0">Black Album</a> with the White Album into his breathtakingly copyright-infringing <em><a href="http://en.wikipedia.org/wiki/Grey_Album">Grey Album</a>.</em> While no one is officially allowed to sample the Fab Four, some people have been allowed to use pieces of cover versions.</p>
<p style="text-align: center;"><a href="http://en.wikipedia.org/wiki/Finding_Forever"><img class="aligncenter" title="Common - Finding Forever" src="http://farm3.static.flickr.com/2121/2245777420_2fbcf45aa0.jpg" alt="" width="300" height="240" /></a></p>
<p><a href="http://en.wikipedia.org/wiki/Common_%28rapper%29">Common&#8217;s</a> song &#8220;Forever Begins&#8221;, produced by Kanye West, samples a cover of <a title="She's Leaving Home" href="http://en.wikipedia.org/wiki/She%27s_Leaving_Home">&#8220;She&#8217;s Leaving Home&#8221;</a> by <a title="Syreeta" href="http://en.wikipedia.org/wiki/Syreeta">Syreeta</a>. The line &#8220;Father snores as his wife gets into&#8230;&#8221; loops under the verses. The sample cuts off &#8220;her dressing gown.&#8221; It&#8217;s a strange thing to rap over, but it works. (The track also uses another perfect sample, Steve Gadd&#8217;s snare drum intro to <a title="50 Ways to Leave Your Lover" href="http://en.wikipedia.org/wiki/50_Ways_to_Leave_Your_Lover">&#8220;Fifty Ways to Leave Your Lover&#8221;</a> by <a title="Paul Simon" href="http://en.wikipedia.org/wiki/Paul_Simon">Paul Simon.)</a></p>
<p>Here&#8217;s a screen shot of <em>Beatles Rock Band</em> &#8211; click through to see the fascinating vocal notation more clearly. It&#8217;s a combination of <a href="http://www.ethanhein.com/wp/2009/in-the-sequencer-the-notation-is-the-performance/">MIDI and standard music notation.</a></p>
<p style="text-align: left;"><a href="http://www.ethanhein.com/wp/2009/real-guitars/"><img class="aligncenter" title="Beatles Rock Band" src="http://wayneandwax.com/wp/images/beatles-rock-band.jpg" alt="" width="360" height="203" /></a>So what do you say, Beatles copyright holders? How about loosening up the restrictions a little? People are remixing the tunes anyway. Why not get in front of the situation and put the stems on iTunes or Amazon? Nothing can ever replace those albums, but why should the story end there? &#8220;Forever Begins&#8221; doesn&#8217;t take anything away from &#8220;She&#8217;s Leaving Home&#8221; any more than &#8220;Because&#8221; takes away from the Moonlight Sonata. We the fans have been remixing the songs in our heads for years anyway. Why not let us do it with computers too?</p>
<p style="text-align: left;">Here&#8217;s a remix/cover/mashup of the Beatles&#8217; &#8220;Tomorrow Never Knows&#8221; combined with &#8220;Galang&#8221; by M.I.A. and &#8220;Slide&#8221; by Missy Elliot. Vocals by Babsy Singer, production and <a href="http://www.ethanhein.com/wp/2009/game-controller-midi/">game controller synth</a> by me.</p>
<p><object height="81" width="100%"><param name="movie" value="http://player.soundcloud.com/player.swf?url=http%3A%2F%2Fapi.soundcloud.com%2Ftracks%2F23697251"></param><param name="allowscriptaccess" value="always"></param> <embed allowscriptaccess="always" height="81" src="http://player.soundcloud.com/player.swf?url=http%3A%2F%2Fapi.soundcloud.com%2Ftracks%2F23697251" type="application/x-shockwave-flash" width="100%"></embed></object>  <span><a href="http://soundcloud.com/ethanhein/tomorrow-never-knows">Tomorrow Never Knows</a> by <a href="http://soundcloud.com/ethanhein">ethanhein</a></span> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.ethanhein.com/wp/2009/beatles-electronica/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Sampling keyboards</title>
		<link>http://www.ethanhein.com/wp/2009/sampling-keybs/</link>
		<comments>http://www.ethanhein.com/wp/2009/sampling-keybs/#comments</comments>
		<pubDate>Sat, 08 Aug 2009 00:21:41 +0000</pubDate>
		<dc:creator>Ethan</dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Interfaces]]></category>
		<category><![CDATA[Music]]></category>
		<category><![CDATA[Sampling]]></category>
		<category><![CDATA[audio]]></category>
		<category><![CDATA[beatles]]></category>
		<category><![CDATA[eighties]]></category>
		<category><![CDATA[ferris bueller]]></category>
		<category><![CDATA[grateful dead]]></category>
		<category><![CDATA[jazz]]></category>
		<category><![CDATA[john hughes]]></category>
		<category><![CDATA[keybs]]></category>
		<category><![CDATA[mellotron]]></category>
		<category><![CDATA[midi]]></category>
		<category><![CDATA[reason]]></category>
		<category><![CDATA[Recording]]></category>
		<category><![CDATA[recursion]]></category>
		<category><![CDATA[synths]]></category>
		<category><![CDATA[tape]]></category>
		<category><![CDATA[yello]]></category>

		<guid isPermaLink="false">http://www.ethanhein.com/wp/?p=1669</guid>
		<description><![CDATA[One of the greatest weirdnesses of electronic music is the sampling keyboard. You press a key and any sound recording you want pops out, at whatever pitch. The recent passing of John Hughes made me think of the scene in Ferris Bueller&#8217;s Day Off when Ferris samples his coughing and puking on an E-mu Emulator [...]]]></description>
			<content:encoded><![CDATA[<p>One of the greatest weirdnesses of electronic music is the sampling keyboard. You press a key and any sound recording you want pops out, at whatever pitch. The recent passing of John Hughes made me think of the scene in <a href="http://en.wikipedia.org/wiki/Ferris_Bueller%27s_Day_Off"><em>Ferris Bueller&#8217;s Day Off</em></a> when Ferris samples his coughing and puking on an<a href="http://en.wikipedia.org/wiki/E-mu_Emulator"> E-mu Emulator II</a>, and plays them back to the tune of the Blue Danube waltz. The exact same technology is used on the soundtrack by Yello for their song <a href="http://en.wikipedia.org/wiki/Oh_Yeah_%28Yello_song%29">&#8220;Oh Yeah.&#8221;</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/gqU_0xpILIU&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/gqU_0xpILIU&amp;hl=en&amp;fs=1&amp;" allowFullScreen="true" allowscriptaccess="always" allowfullscreen="true" /></object></p>
<p>Vocalist <a href="http://en.wikipedia.org/wiki/Dieter_Meier">Dieter Meier</a> recorded the words &#8220;oh oh, chicka chicka&#8221; and &#8220;oh yeah&#8221; at a relatively normal pitch into the sampler, and keyboardist <a href="http://en.wikipedia.org/wiki/Boris_Blank_%28musician%29">Boris Blank</a> played them back lower and slowed down. There are also some cool sampled Tarzan yells and Lord Of The Rings synthesized men&#8217;s chorus. This track could have been recorded last week.</p>
<p><span id="more-1669"></span>We think of sampling as this high-tech modern practice, but analog sampling keyboards go back to the early fifties. The first one was the <a href="http://en.wikipedia.org/wiki/Chamberlin">Chamberlin.</a> It played short tape recordings of a few different instruments when you pressed the keys. The Chamberlin has a much more famous descendant (some might say ripoff), the <a href="http://en.wikipedia.org/wiki/Mellotron">Mellotron</a>. Here&#8217;s a little branding 101: don&#8217;t name your invention after yourself, unless you have a cool name like <a href="http://en.wikipedia.org/wiki/Robert_Moog">Robert Moog.</a> Pick something retrofuture and groovy. The Mellotron sounds like something from <a href="http://en.wikipedia.org/wiki/Sleeper_%28film%29"><em>Sleeper</em></a> that you use between the Orb and the Orgasmatron. The intro of the Beatles&#8217; <a href="http://en.wikipedia.org/wiki/Strawberry_Fields_Forever"> &#8220;Strawberry Fields Forever&#8221;</a> is Paul McCartney playing sampled flutes on a Mellotron.</p>
<p>Analog tape isn&#8217;t a great sample medium. The mechanisms are delicate and bulky. The tape decays over time. The little motors have to be running at exactly the right speed for the notes to play back in tune. Sampling keyboards didn&#8217;t really take off until the invention of inexpensive <a href="http://www.ethanhein.com/wp/2008/digital-audio-is-just-long-lists-of-numbers/">digital audio.</a> Now that computers can play back audio recordings and perform all kinds of strange mathematical operations on them in real time, anything with a processor and a sound card can act as a sampler. Even high-end cell phones can perform the same functions as Ferris Bueller&#8217;s E-mu.</p>
<p>Some sampled instruments work better than others. A <a href="http://en.wikipedia.org/wiki/Midi">MIDI</a> interface can only capture certain aspects of your performance: which note you played, how loud you played it, how long you held it. You can add some other performance data with the sustain pedal, with the pitch or mod wheels, and maybe with a few other parameters. That&#8217;s not nearly enough data dimensionality to convey all the infinitesimal nuances of the way a violin bow or guitar pick grips and releases a string. Stringed instruments sound extremely fake when played on a sampling keyboard. The fakeness has its own charms, but that&#8217;s a whole different instrument unto itself. Piano works well as a MIDI instrument since it practically was one to begin with. Any keyboard instrument translates well to MIDI. Massed orchestral instruments work better than solo ones. Horn samples can work okay if you don&#8217;t mind monotonous phrasing. Again, sometimes the robotic sound has its own quality. I mostly prefer more purely electronic sounds like abstract synths and <a href="http://www.ethanhein.com/wp/2009/samples-and-dna/">samples of other songs</a>.</p>
<p>One of my most entertaining experiments with sampling was called the Sikoratron. It&#8217;s a Reason patch I made using samples of <a href="http://www.catherinesikora.com/">Catherine Sikora</a>, who I played with in a jazz group. To build my sample library, I recorded every member of the horn section doing solo improvisations. Catherine recorded these long, angular Coltrane-esque sax lines. By mapping different phrases to different regions of the keyboard, I could play my own far-out Catherine solos. The results were unpredictable, since the tonality of the phrases didn&#8217;t necessarily match the key that triggered them. The Sikoratron gave the best results when my non-keyboard playing friends explored it intuitively with their index fingers.</p>
<p>The full surrealism of MIDI is only just revealing itself. You can map sampled sounds to just about any physical action. Jerry Garcia used a MIDI guitar to play synthesized flute and such with the Grateful Dead. MIDI guitar such a cool idea in theory, since the guitar is <a href="http://www.ethanhein.com/wp/2009/jimi-hendrix-electronic-musician/">already an amazing analog synth controller</a>. Unfortunately, you can&#8217;t just slap a MIDI pickup unto an electric guitar, because it won&#8217;t track as accurately as you would want. You need to get an expensive special guitar made of a futuristic carbon composite. Fine if you&#8217;re Jerry Garcia, lame if you&#8217;re a normal person.</p>
<p>When I play <a href="http://www.ethanhein.com/wp/computer-music/">electronic music</a> live, I do my sample triggering with a <a href="http://www.flickr.com/photos/ethanhein/2995793499/in/set-72157619125916471/">video game controller.</a> It&#8217;s more limited than a full MIDI keyboard, but for my stuff that&#8217;s a virtue. I see the future of MIDI belonging to <a href="http://www.ethanhein.com/wp/cold-tech-hot-beats/music-games/">game controllers</a>. Check out <a href="http://www.synthtopia.com/content/2008/04/28/the-worlds-strangest-midi-controllers/">this Synthtopia post</a> on the world&#8217;s strangest MIDI controllers. Behold the Drumpants:</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="src" value="http://www.youtube.com/v/g2BK4deK7HM&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/g2BK4deK7HM&amp;hl=en&amp;fs=1&amp;" allowfullscreen="true" /></object></p>
<p>Other videos show people controlling synths and samples using pennies, a laser, a robotic exoskeleton, a sheet of paper, a driver&#8217;s license, hamsters and other odd things. Music looks like it&#8217;s going to continue to be fun in the future.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ethanhein.com/wp/2009/sampling-keybs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Learning music theory with Auto-tune</title>
		<link>http://www.ethanhein.com/wp/2009/learning-music-theory-with-autotune/</link>
		<comments>http://www.ethanhein.com/wp/2009/learning-music-theory-with-autotune/#comments</comments>
		<pubDate>Mon, 04 May 2009 19:41:33 +0000</pubDate>
		<dc:creator>Ethan</dc:creator>
				<category><![CDATA[Math]]></category>
		<category><![CDATA[Music]]></category>
		<category><![CDATA[Music Teaching]]></category>
		<category><![CDATA[Music Theory]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[audio]]></category>
		<category><![CDATA[autotune]]></category>
		<category><![CDATA[binary]]></category>
		<category><![CDATA[electronica]]></category>
		<category><![CDATA[harmony]]></category>
		<category><![CDATA[hip-hop]]></category>
		<category><![CDATA[informationtheory]]></category>
		<category><![CDATA[john coltrane]]></category>
		<category><![CDATA[kanye west]]></category>
		<category><![CDATA[lil wayne]]></category>
		<category><![CDATA[pro tools]]></category>

		<guid isPermaLink="false">http://www.ethanhein.com/wp/?p=543</guid>
		<description><![CDATA[Auto-tune makes producing music easier. It can also make understanding music theory easier. The way you dial up different keys and scales doesn&#8217;t just guide your ear, it also guides your eye. Your voice can produce a smooth continuum of pitches. To sing, you eliminate most of those possibilities, vibrating your mouth and throat only [...]]]></description>
			<content:encoded><![CDATA[<p>Auto-tune makes <a href="http://www.ethanhein.com/wp/2008/in-praise-of-autotune/">producing music easier.</a> It can also make understanding music theory easier. The way you dial up different keys and scales doesn&#8217;t just guide your ear, it also guides your eye.</p>
<p><a href="http://www.flickr.com/photos/ethanhein/3502143494/"><img class="aligncenter" title="Autotune screenshot" src="http://farm4.static.flickr.com/3575/3502143494_0ac1001cd8.jpg?v=0" alt="" width="500" height="349" /></a></p>
<p>Your voice can produce a smooth continuum of pitches. To sing, you eliminate most of those possibilities, vibrating your mouth and throat only at certain frequencies, the pitches of the melody. Auto-tune helps by shifting the voice&#8217;s frequency to the closest desired piano-key pitch.</p>
<p><span id="more-543"></span>Towards the bottom left is a knob labeled Retune Speed. Even the best singers waver around their intended pitch for a few milliseconds before converging on it. If you correct away that wavering, the result sounds artificial. So Auto-tune can be set to delay its effects. Slower retune speeds allow more human-sounding shakiness to pass through the filter. If you set the retune speed to zero, there&#8217;s no wavering allowed, and you get the robo-vocal sound beloved by <a href="http://www.ethanhein.com/wp/2009/autotune-on-the-phone">T-Pain</a>, <a href="http://www.ethanhein.com/wp/2009/kanye">Kanye West</a> and <a href="http://www.ethanhein.com/wp/2009/lil-waynes-productivity-secrets">Lil Wayne.</a> It&#8217;s more widely known as the Cher Effect, because a lot of people first encountered it in her song <a href="http://www.youtube.com/watch?v=B5xsiKBJGW4">&#8220;Believe.&#8221;</a></p>
<p>Hear the Cher Effect at work in my mashup of the Beatles, M.I.A. and Missy Elliot with vocals by <a href="http://www.revivalrevival.com">Barbara Singer</a>. The exotic melisma comes from Auto-tuning Barbara to the <a href="http://en.wikipedia.org/wiki/Mixolydian_mode">mixolydian mode</a>.</p>
<p><object width="100%" height="81" 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="allowscriptaccess" value="always" /><param name="src" value="http://player.soundcloud.com/player.swf?url=http%3A%2F%2Fapi.soundcloud.com%2Ftracks%2F23697251" /><embed width="100%" height="81" type="application/x-shockwave-flash" src="http://player.soundcloud.com/player.swf?url=http%3A%2F%2Fapi.soundcloud.com%2Ftracks%2F23697251" allowscriptaccess="always" /></object> <a href="http://soundcloud.com/ethanhein/tomorrow-never-knows">Tomorrow Never Knows</a> by <a href="http://soundcloud.com/ethanhein">ethanhein</a></p>
<p>There&#8217;s a persistent and false story that Cher used a <a href="http://en.wikipedia.org/wiki/Vocoder">vocoder</a> for &#8220;Believe.&#8221; The producers lied in interviews, not wanting to give away their trade secret. Auto-tune isn&#8217;t exactly a software vocoder, but it&#8217;s <a href="http://en.wikipedia.org/wiki/Phase_vocoder">based on the same math</a>.</p>
<p>Music-theoretically, the interesting part of Auto-tune is the center of the window, listing the twelve pitches on a piano. By default, Auto-tune is set to the chromatic scale, all the piano keys, starting on C:</p>
<p><a href="http://www.flickr.com/photos/ethanhein/4043598819/"><img class="aligncenter" title="C natural minor" src="http://farm3.static.flickr.com/2669/4043598791_66ac530226_o.jpg" alt="" width="243" height="288" /></a></p>
<p>To Auto-tune yourself in <a href="http://www.ethanhein.com/wp/2011/meet-the-major-scale/">C major</a>, you need to remove C sharp, D sharp, F sharp, G sharp and A sharp. (There are no flats for some reason.)</p>
<p style="text-align: center;"><a href="http://www.ethanhein.com/wp/2011/meet-the-major-scale/"><img class="aligncenter" title="C major scale" src="http://farm3.static.flickr.com/2694/4044344492_7a6b3a4ffb_o.jpg" alt="" width="237" height="288" /></a></p>
<p>This is a lot like the way you set up a xylophone or marimba for a beginner. By taking the bars for the undesired notes off, you make it impossible to play anything wrong.</p>
<p>A bit of fun for music nerds: the notes you omit from the C major scale, the black keys on the piano, form the F sharp major pentatonic and E flat minor pentatonic scales.</p>
<p>To make the C natural minor scale,  you omit C sharp, E, F sharp, A and B.</p>
<p><a href="http://www.flickr.com/photos/ethanhein/4043598819/in/set-72157620012903578"><img class="aligncenter" title="C natural minor" src="http://farm3.static.flickr.com/2528/4043598819_6d9c19d40f_o.jpg" alt="" width="240" height="288" /></a></p>
<p>To get the other minor scales, you&#8217;d just need to toggle the sixth and seventh notes differently. For C dorian you&#8217;d leave A in and remove G#.</p>
<p>Here&#8217;s how you&#8217;d set up the C blues scale:</p>
<p><a href="http://www.flickr.com/photos/ethanhein/4044344356/"><img class="aligncenter" title="C blues" src="http://farm4.static.flickr.com/3493/4044344356_6eea1851e5_o.jpg" alt="" width="241" height="288" /></a></p>
<p><a href="http://www.ethanhein.com/wp/tag/coltrane">&#8220;A Love Supreme&#8221;</a> by John Coltrane starts with <a href="Love_Supreme_%20fanfare.mp3">this fanfare on the notes B, E and F sharp.</a></p>
<p>In the key of C, the fanfare&#8217;s three pitches are C, F and G.</p>
<p><a href="http://www.flickr.com/photos/ethanhein/4043598749/in/photostream"><img class="aligncenter" title="A Love Supreme fanfare" src="http://farm3.static.flickr.com/2628/4043598749_0af63e0a63_o.jpg" alt="" width="242" height="288" /></a></p>
<p>This is one of my favorite Auto-tune settings. It sounds <a href="http://www.ethanhein.com/wp/2009/autotune-is-the-news">amazing on speech.</a></p>
<p>It&#8217;s even more fun to strip the pitch set down even further, taking out the F and even the G for maximum posthuman warbling. Being limited to a smaller group of pitches forces you to concentrate on rhythmic patterns. Check out how cool it sounds when we Auto-tune Barbara to just the root note for the second verse, or just the fifth on the outtro:</p>
<p><object width="100%" height="81" 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="allowscriptaccess" value="always" /><param name="src" value="http://player.soundcloud.com/player.swf?url=http%3A%2F%2Fapi.soundcloud.com%2Ftracks%2F434948" /><embed width="100%" height="81" type="application/x-shockwave-flash" src="http://player.soundcloud.com/player.swf?url=http%3A%2F%2Fapi.soundcloud.com%2Ftracks%2F434948" allowscriptaccess="always" /> </object> <a href="http://soundcloud.com/ethanhein/revival-revival-those-shoes-never-scared">Revival Revival &#8211; Those Shoes Never Scared</a> by <a href="http://soundcloud.com/ethanhein">ethanhein</a></p>
<p>Auto-tune&#8217;s binary representation of the combinational possibilities of music theory is similar to the way I learned how to conceive my chords and scales in jazz training. You can derive any scale or chord by starting with the chromatic scale and omitting the wrong notes.</p>
<p>Sometimes you want to be constrained to a traditional scale, but more often the blend of pitches you want is more idiosyncratic. In major keys, you very often want to use the minor third and sometimes minor sixth. For a blues feel in any key, you can include the flat fifth. Omitting the fourth and seventh from a major or minor scale makes a dissonance-free pentatonic.</p>
<p>Here&#8217;s how you can build your own scales, chords and pitch groups in the key of C, in or out of Auto-tune.</p>
<p style="padding-left: 30px;">C: The root or tonic. Probably leave it on.</p>
<p style="padding-left: 30px;">C#: The flat second. Leave on for Middle Eastern music, turn off for Western.</p>
<p style="padding-left: 30px;">D: Second. Usually leave on, except for Middle Eastern music.</p>
<p style="padding-left: 30px;">D#: Minor third. Leave on for tragedy and blues.</p>
<p style="padding-left: 30px;">E: Major third. Leave on for happy, turn off for sad.</p>
<p style="padding-left: 30px;">F: Fourth. Probably leave on unless you&#8217;re making major pentatonic.</p>
<p style="padding-left: 30px;">F#: Flat fifth, sharp fourth. Leave on for blues and exotica.</p>
<p style="padding-left: 30px;">G: Fifth. Probably leave on, though try turning it off for fun.</p>
<p style="padding-left: 30px;">G#: Minor sixth. Leave on for tragic feel.</p>
<p style="padding-left: 30px;">A: Major sixth. Leave on for bright/happy feel.</p>
<p style="padding-left: 30px;">A#: Minor seventh. Leave on for blues, minor, rock, or mixolydian.</p>
<p style="padding-left: 30px;">B: Major seventh. Leave on for major and harmonic minor, brightness, and suspense.</p>
<p>See <a href="http://www.ethanhein.com/wp/2010/scales-and-emotions">more scales in Auto-tune representation.</a></p>
<p>Symmetry and patterns register on the ears and eyes differently, but there&#8217;s substantial and intriguing overlap. If you illuminate every other note on the list, you get the whole tone scale. If you alternate skipping a note, not skipping the next one, skipping the one after that and so on, you get the diminished scale. The symmetries of those scales announce themselves to the ear immediately, though you may not be able to figure out what specifically the symmetries are.</p>
<p>I&#8217;m pretty psyched about the convergence of the mind&#8217;s eye and the mind&#8217;s ear. All digital music-making tools have <a href="../2009/in-the-sequencer-the-notation-is-the-performance/">a synaesthetic element.</a> For visual thinkers like me, the computer&#8217;s music visualization tools have opened up some big new swaths of sonic terrain.</p>
<p>Any interesting related music visualization systems out there? Hit me in the comments.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ethanhein.com/wp/2009/learning-music-theory-with-autotune/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Digital audio is just long lists of numbers</title>
		<link>http://www.ethanhein.com/wp/2008/digital-audio-is-just-long-lists-of-numbers/</link>
		<comments>http://www.ethanhein.com/wp/2008/digital-audio-is-just-long-lists-of-numbers/#comments</comments>
		<pubDate>Mon, 08 Dec 2008 17:53:32 +0000</pubDate>
		<dc:creator>Ethan</dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Math]]></category>
		<category><![CDATA[Music]]></category>
		<category><![CDATA[audio]]></category>
		<category><![CDATA[audio editing]]></category>
		<category><![CDATA[binary]]></category>
		<category><![CDATA[electronica]]></category>
		<category><![CDATA[imaginarynumbers]]></category>
		<category><![CDATA[perception]]></category>
		<category><![CDATA[pro tools]]></category>
		<category><![CDATA[Recording]]></category>
		<category><![CDATA[visualization]]></category>

		<guid isPermaLink="false">http://www.ethanhein.com/wp/?p=209</guid>
		<description><![CDATA[How do you get sound in and out of a computer? There are two steps. You have to turn the sound into electricity, and then you have to turn the electricity into numbers. Turning sound into electricity At the physical level, a sound is a rhythmic vibration of air molecules. Your ears can detect subtle [...]]]></description>
			<content:encoded><![CDATA[<p>How do you get sound in and out of a computer? There are two steps. You have to turn the sound into electricity, and then you have to turn the electricity into numbers.</p>
<h3 style="text-align: left;"><a href="http://www.flickr.com/photos/ethanhein/3122169743/sizes/l/"><img class="aligncenter" title="Click to embiggen" src="http://farm4.static.flickr.com/3225/3122169743_4309ee67e8.jpg?v=1244823989" alt="" width="406" height="500" /></a>Turning sound into electricity</h3>
<p>At the physical level, a sound is a rhythmic vibration of air molecules. Your ears can detect subtle changes in the air pressure, and can reconstruct good guesses about what might be agitating the air to produce those changes. When the air pressure fluctuates in a steady sine-wave pattern, you hear a musical pitch. The faster the fluctuation, the higher the pitch. This video by Vi Hart explains:</p>
<p style="text-align: center;"><script type='text/javascript'>  
window.onload = document.write("<iframe width='480' height='360' marginwidth='0' marginheight='0' scrolling='auto' frameborder='0'  src='http://www.youtube.com/embed/i_0DXxNeaQ0' ></iframe> "); 
 </script></p>
<p>Microphones work a lot like your ears. They contain pieces of metal that vibrate in response to the vibrations of the air, generating a fluctuating electromagnetic disturbance.</p>
<p><a href="http://en.wikipedia.org/wiki/Microphone"><img class="aligncenter" title="Condensor microphone" src="http://upload.wikimedia.org/wikipedia/commons/thumb/1/11/Microphone_U87.jpg/170px-Microphone_U87.jpg" alt="" width="170" height="255" /></a></p>
<p>Analog recording media store the fluctuating electric current as fluctuations in something else. In a vinyl record, the fluctuations are encoded in the squiggly physical shape of the sides of the groove. Magnetic tape stores the fluctuations in the alignment of tiny magnetic particles embedded in the plastic.</p>
<h2>Turning electricity into numbers</h2>
<p>The computer takes in fluctuating electric current and turns it into numbers. Long, long, lists of numbers. It does this with a specialized device called an analog-to-digital converter.</p>
<p><a href="http://en.wikipedia.org/wiki/Analog-to-digital_converter"><img class="aligncenter" title="Analog-to-digital converter" src="http://upload.wikimedia.org/wikipedia/commons/thumb/a/a9/WM_WM8775SEDS-AB.jpg/250px-WM_WM8775SEDS-AB.jpg" alt="" width="250" height="188" /></a></p>
<p>The analog-to-digital converter in the computer&#8217;s sound card has a <a href="http://en.wikipedia.org/wiki/Clock_signal">clock</a>, like the one synchronizing the activities of the computer generally. At each clock pulse, the converter takes a reading of the current on the input wire and finds the closest numerical value out of a finite set of choices. The more choices the converter has, the more accurately it can represent the input signal. A two-bit converter would only be able to tell if the input wire was on or off. A four-bit converter could sixteen different possible readings. An eight-bit converter could store 256 different readings. The more bits you have, the more accurately your digital readings can represent the original input signal. The standard for CD-quality audio is 16 bits, which means that each reading can take one of 65,536 different values. Higher bit depths are also possible &#8212; very fancy equipment can record 24-bit, 48-bit or even 96-bit audio.</p>
<p>Bit depth is only one factor in determining the quality of your digital audio. The other is sampling rate, the frequency with which the converter takes its readings.  If the converter takes its readings more often, it gets more accurate results. Standard CD-quality audio is recorded at 44,100 samples per second. This sounds like an incredible speed, but CPU clocks routinely operate thousands of times faster than that.</p>
<p>The image below shows a four-bit analog-to-digital converter in action.</p>
<p><a href="http://en.wikipedia.org/wiki/PCM"><img class="aligncenter" style="margin-top: 10px; margin-bottom: 10px;" title="Digital audio encoding" src="http://farm3.static.flickr.com/2166/2378146633_946ff8f146.jpg?v=0" alt="" width="400" height="300" /></a>The red line shows the amplitude of the input wire&#8217;s voltage over time. The sixteen horizontal grey lines are the different voltage levels the converter can detect. It takes four bits of data to specify the sixteen different possible values. The tick marks on the horizontal axis are clock pulses. Each reading gets stored as a binary number. The list of numbers makes up the digital audio file.</p>
<p>To play digital sounds, the computer sends its list of numbers to a <a href="http://en.wikipedia.org/wiki/Digital-to-analog_converter">digital-to-analog converter</a>. To produce sound on speakers or headphones, the converter sends pulses at the appropriate voltages out on the wires, which your ear averages out into a pretty good reconstruction of the original sine wave.</p>
<h3>Digital audio editing</h3>
<p>Once you have your current stored as numbers, you can do a lot of cool stuff. Any sound in any digital medium is basically a spreadsheet with two extremely long columns, one for each stereo channel. In 16-bit audio, the numbers in the columns range from zero to 65,535 (2^16 &#8211; 1.) One second of stereo CD-quality audio is two lists of 44,100 numbers each. If the values of the numbers range smoothly along a sine wave that cycles four hundred forty times per second, you hear a computery beep playing concert A. If the numbers fluctuate along the pattern you get from superimposing the sine wave with another one that cycles six hundred sixty times per second, you hear two computery beeps a perfect fifth apart. Add in another sine wave doing eight hundred eighty cycles per second and you get the I-V-I power chord beloved by rock and roll.</p>
<p style="text-align: center;"><a href="http://www.flickr.com/photos/ethanhein/2441692002/"><img class="aligncenter" title="Your ear can &quot;see&quot; sine waves interfering." src="http://farm4.static.flickr.com/3002/2441692002_ee7aa7176c_o.jpg" alt="" width="483" height="347" /></a></p>
<p>All of the audio editing and processing that happens in Pro Tools and programs like it boils down to systematic mathematical operations on your lists of numbers. <a href="http://www.ethanhein.com/wp/2008/in-praise-of-autotune/">Auto-tune</a> looks for sine wave patterns and alters them so they snap to the closest piano-key frequency. At the <a href="http://www.ethanhein.com/wp/2009/how-transistors-think/">transistor</a> level, Auto-tune is no different from Microsoft Excel, except that it acts a lot faster on bigger lists of numbers. Copying and pasting repeated sounds is the same procedure for the computer as copying and pasting a list of numbers or a string of text.</p>
<p>You need a fast computer with a capacious storage capacity to do serious audio work, but we&#8217;re lucky enough to live in an era when even a garden-variety laptop can handle stupendously complex audio tasks.</p>
<p>The great miracle of music for me is not any particular technique or piece or performer, but just the fact that it exists at all. A single linear wave can encode all the rich complexity of all the sounds we hear. This wave is as easily translated into numbers as dollars can be translated into pizzas. The complete works of <a href="http://en.wikipedia.org/wiki/Bach">Bach</a> or <a href="http://www.flickr.com/photos/ethanhein/tags/johncoltrane/">Coltrane</a> can be encoded as simple two-dimensional waveforms. All that music is two-dimensional curves, voltage vs time, or air pressure or guitar body flexion vs time.</p>
<p>Our brains are stupendously adept at detecting patterns of patterns of patterns in the linear waveform of air pressure, deconstructing and comparing the component sounds that went into it. If there are multiple frequencies present simultaneously in the <a href="http://www.ethanhein.com/wp/2009/tuning-the-quantum-guitar/">pattern of vibrations</a>, we can distinguish them and, with a little training, detect the ratios between them. I feel like we&#8217;ve barely begun to scratch the surface of the artistic possibilities of mathematical operations on numerical audio data.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ethanhein.com/wp/2008/digital-audio-is-just-long-lists-of-numbers/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>

