{"id":25458,"date":"2015-01-01T09:28:40","date_gmt":"2015-01-01T14:28:40","guid":{"rendered":"http:\/\/www.shamusyoung.com\/twentysidedtale\/?p=25458"},"modified":"2015-01-25T17:55:07","modified_gmt":"2015-01-25T22:55:07","slug":"project-button-masher-phobos-phobia","status":"publish","type":"post","link":"https:\/\/www.shamusyoung.com\/twentysidedtale\/?p=25458","title":{"rendered":"Project Button Masher: Phobos Phobia"},"content":{"rendered":"<p>Happy New Year, you gorgeous internet. Have you lost weight and\/or become more educated and wealthy? You look sexier\/smarter\/richer. I guess your resolutions for the new year are really paying off. Good on you. <\/p>\n<p>A couple of weeks ago <a href=\"?p=25398\" title=\"Bang the Rocks Together\">I got all navel-gaze-y about making music<\/a>, lamenting that my skills are writing prose and code, and not wasting my time with music that I barely understand. <\/p>\n<p>But allow me to argue with me-from-two-weeks-ago: Ten years ago my only skill was coding, but then I wrote a book. Not because it would make me money, but because that&#8217;s where my creativity was taking me. A few years later I branched off some more, and it lead to this website. I seem to have pretty good luck with doing whatever seems fun at the moment. Not all of my projects pan out, but I certainly shouldn&#8217;t refuse to do things because I&#8217;m new to them. If I followed that line of reasoning I wouldn&#8217;t have any of the hobbies that make me so happy today.<\/p>\n<p><!--more--><table width='600'  cellpadding='0' cellspacing='0' border='0' align='center'><tr><td><a href='https:\/\/www.youtube.com\/watch?v=RrJnzBFzEEY'><img src='https:\/\/www.shamusyoung.com\/twentysidedtale\/images\/don_music.jpg' class='insetimage' width='600' alt='Ill never get it! Never! SLAM!' title='Ill never get it! Never! SLAM!'\/><\/a><\/td><\/tr><\/table><\/p>\n<p>So I&#8217;ve been learning about music. It&#8217;s a big topic. It&#8217;s probably just as big and complex as graphics programming, although it&#8217;s a little more gratifying because it probably won&#8217;t take you a couple of years to produce a single piece of work. <\/p>\n<p>I&#8217;ve been hammering away on my own, making tons of crappy little tunes. I throw a lot of them away. (Most of them are stupid or boring or just don&#8217;t work.) But once in a while when I think I&#8217;ve done something good I upload it to my <a href=\"https:\/\/soundcloud.com\/shamusyoung\">Soundcloud<\/a>.<\/p>\n<p>I&#8217;ve found myself getting stuck in a musical rut. My skills and knowledge have hit a plateau and all my stuff is starting to sound the same. All my stuff is built on a nice neat grid and each part is played by exactly one instrument that clearly begins and ends on rigorously enforced borders. I build my songs on top of predictable repeating chord patterns where each chord is of the same length. I&#8217;m becoming very mechanical. Actually, I guess I just started out being mechanical and I&#8217;m failing to break out of it.<\/p>\n<p>This is the point where a reasonable person might seek out a teacher or mentor. But personal interaction is slow and I&#8217;m stubborn and set on learning everything on my own. To be clear, I&#8217;m not saying this is always the most <em>optimal<\/em> way of doing things. But it is the most convenient. (Also the best way of turning the project into blog posts.)<\/p>\n<p>So my plan is to take some game soundtracks that I love and try to emulate their style. If possible, I&#8217;ll get the MIDI version and tear it apart to see how it was constructed. <\/p>\n<div class=\"dmnotes\">Does everyone know what MIDI is? I have no idea. Just in case, here is a super-quick rundown:<\/p>\n<p>A MIDI file is just a collection of notes, with no sound data. Stuff like, &#8220;Push middle C really hard for 3 seconds, now push D4 gently for one second&#8221;, or whatever. The notes are divided into channels. The midi file says what instrument the channel is using (French horn, acoustic guitar, grand piano, bongo drums) and then what notes to play on each channel. But it doesn&#8217;t say how those instruments should sound. That&#8217;s up to your soundcard to figure out. <\/p>\n<p>It&#8217;s a bit like web pages: The same raw HTML will end up looking a little different on Chrome, IE, Firefox, and Safari. And someday that HTML might look completely different on some browser in the future. On the upside, it makes the data very compact. Raw HTML text is going to be incredibly tiny compared to a screen capture of the webpage, and a midi file &#8211; being just a collection of button-presses &#8211; is really tiny compared to an MP3 of the same music.\n<\/p><\/div>\n<p>So my plan is to:<\/p>\n<ol>\n<li>Listen to a videogame soundtrack that I like. If possible, I&#8217;ll look at the music itself.<\/li>\n<li>Identify whatever stylistic quirks give the music its identity.\n<li>Try to capture the style in my own work. Ideally, I&#8217;d like to make a song that could be dropped into the original soundtrack and sound like it belongs there. This is ridiculously ambitious (spoiler: I&#8217;m not going to succeed today) but that&#8217;s fine. I&#8217;m still at the point  where I can learn a lot through failure.\n<li>Assuming I produce something that&#8217;s not horrible to listen to, I&#8217;ll post it here and talk about what I learned. I&#8217;m probably not going to post my disasters, just because I don&#8217;t want to upload horribleness to Soundcloud.\n<\/ol>\n<p><table width='600'  cellpadding='0' cellspacing='0' border='0' align='center'><tr><td><img src='https:\/\/www.shamusyoung.com\/twentysidedtale\/images\/doom2_e1m1.jpg' class='insetimage' width='600' alt='This screenshot is from Doom 2, not Doom. I just realized I no longer own the original game. The floppies died years ago.' title='This screenshot is from Doom 2, not Doom. I just realized I no longer own the original game. The floppies died years ago.'\/><\/td><\/tr><\/table><\/p>\n<p>So that&#8217;s the project. My first subject is the Doom soundtrack. Now, it&#8217;s widely known that the Doom soundtrack is very heavily influenced by the metal tracks of the day. Some people even say the songs are rip-offs. And <a href=\"https:\/\/www.youtube.com\/watch?v=4H3BB2gKKeY\">when you compare them side-by-side<\/a>, the similarities are pretty striking.<\/p>\n<p> I dunno if I want to call these tracks &#8220;rip-offs&#8221;. Especially since the whole point of this project is to do the same dang thing myself. I&#8217;m moving into a brand-new glass house, so now is a terrible time to start throwing stones. <\/p>\n<p>But whatever. This is a good place to start, because the Doom songs are kind of simple, the MIDI files are freely available, and I&#8217;m already familiar with the material. So let&#8217;s focus on one song and see what we learn: <\/p>\n<p><table class='nomargin' cellspacing='0' width='100%' cellpadding='0' align='center' border='0'><tr><td><iframe loading=\"lazy\" width=\"1024\" height=\"576\" src=\"https:\/\/www.youtube.com\/embed\/qlBgN7edLs0\" frameborder=\"0\" allowfullscreen class=\"embed\"><\/iframe><br\/><small><a href='http:\/\/www.youtube.com\/watch?v=qlBgN7edLs0'>Link (YouTube)<\/a><\/small><\/td><\/tr><\/table><\/p>\n<p>This is the music from level 8 of the original Doom. It&#8217;s the point where you get to the end of the first episode and you fight the two Barons. It&#8217;s my favorite tune from the game. Sometimes I&#8217;d just hang around at the start of the level and listen to the music. <\/p>\n<p>Note that the video is a very faithful version of the song. There was this awful craze in the late 90&#8217;s of &#8220;wavetable soundcards&#8221; that replaced the old MIDI sound with sexy new sound samples that resembled real instruments. It was automatic. <em>Just get one of these deluxe soundcards and all your games will sound better!<\/em> That&#8217;s cool, inasmuch as the new stuff sounded much richer and less like someone trying to play rock music on a Nintendo, but it had the side-effect of <em>ruining<\/em> music that had been specifically engineered for the old MIDI. The sound levels would get out of whack and often the &#8220;real&#8221; instruments would have a completely different range compared to the originals. The song would be unrecognizable, and occasionally even intolerable<span class='snote' title='1'>I had a soundcard in the late 90&#8217;s that just ruined the Descent music. It was awful.<\/span>. I was really glad when we all moved to MP3 for our music needs and sound cards stopped trying to &#8220;improve&#8221; old music.<\/p>\n<p><table width='600'  cellpadding='0' cellspacing='0' border='0' align='center'><tr><td><img src='https:\/\/www.shamusyoung.com\/twentysidedtale\/images\/doom_e1m8.jpg' class='insetimage' width='600' alt='Swiped from Google image search. I can tell this was done with cheat codes, because the plasma rifle was not available in the first episode.' title='Swiped from Google image search. I can tell this was done with cheat codes, because the plasma rifle was not available in the first episode.'\/><\/td><\/tr><\/table><\/p>\n<p>So my first step is to take the MIDI music of E1M8<span class='snote' title='2'>Apparently it&#8217;s actually titled &#8220;Sign of Evil&#8221;. I have no idea how you could know this in 1993. It&#8217;s not like games had proper credits.<\/span> and go over the patterns. I tear it apart and rebuild it in <a href=\"?p=24037\" title=\"MAGIX Music Maker\">MAGIX<\/a>. I won&#8217;t bother posting the result. It&#8217;s just the same song with more robust instruments<span class='snote' title='3'>I actually have a terrible time tying to replicate those old MIDI instruments in MAGIX.<\/span> and a bit of minor fiddling. This is the equivalent of tracing a drawing made by a professional. It&#8217;s still educational (particularly at beginner levels) but it&#8217;s not original work.<\/p>\n<p>But then I took what I learned and tried to make something that has the same mood and style, but is an original composition. I did this by selecting similar instruments, and making something in a similar key with similar tempo:<\/p>\n<p><iframe loading=\"lazy\" width=\"100%\" height=\"166\" scrolling=\"no\" frameborder=\"no\" src=\"https:\/\/w.soundcloud.com\/player\/?url=https%3A\/\/api.soundcloud.com\/tracks\/184006928&amp;color=ff5500&amp;auto_play=false&amp;hide_related=false&amp;show_comments=true&amp;show_user=true&amp;show_reposts=false\"><\/iframe><\/p>\n<p>This one isn&#8217;t really a success in my book, because it&#8217;s a bit too on-the-nose. I used an overdriven guitar playing super-long notes, followed by little bursts of short notes, backed by a string-ish instrument that plays octave-spanning chords<span class='snote' title='4'>Take a regular chord, but drop one note an octave and raise a different note an octave.<\/span>.  It&#8217;s more a copy of a specific arrangement than a style.<\/p>\n<p>Stuff I learned:<\/p>\n<ol>\n<li>The E1M8 song has this one instrument that JUST plays friggin middle C, over and over again, throughout the entire song. I would never have thought to do that. It sounds like a dumb idea, but it works. For some reason.<\/li>\n<li>If you have to repeat a chord several times in a row, it&#8217;s good to make the chord jump around on the scales a bit. Maybe pull one note down an octave and another one up an octave. Then flip those around. The longer you&#8217;re going to repeat a chord, the more versions of it you&#8217;ll need.\n<li>The pitch wheel! I never knew what that was all about. It&#8217;s this extra control that lets you &#8220;bend&#8221; notes, basically throwing the MIDI instrument out of tune. You can only move up or down a couple of notes, but if you&#8217;re careful you can make some cool sounds. It&#8217;s really useful to do this for long notes. Holding a middle C for an entire measure is kind of monotonous. But if you hit (say) D and then quickly pitch bend down to C, then back up at the end, it can sound really cool. You can hear it in both E1M8 and in my song, during the long guitar notes.\n<\/ol>\n<p>So that&#8217;s the project. Assuming all goes well, we&#8217;ll do one of these every week in January. Soundtracks I plan to tackle: Deus Ex, System Shock, Descent, Half-Life. <\/p>\n<p>My goal is to make at least one tune that could be dropped into one of those old soundtracks and not sound out of place. It&#8217;s a pretty audacious goal, I&#8217;ll admit. The only way to know for sure if I&#8217;ve succeeded is to post the work here and see how everyone responds.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Happy New Year, you gorgeous internet. Have you lost weight and\/or become more educated and wealthy? You look sexier\/smarter\/richer. I guess your resolutions for the new year are really paying off. Good on you. A couple of weeks ago I got all navel-gaze-y about making music, lamenting that my skills are writing prose and code, [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[468],"tags":[],"class_list":["post-25458","post","type-post","status-publish","format-standard","hentry","category-music"],"_links":{"self":[{"href":"https:\/\/www.shamusyoung.com\/twentysidedtale\/index.php?rest_route=\/wp\/v2\/posts\/25458","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.shamusyoung.com\/twentysidedtale\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.shamusyoung.com\/twentysidedtale\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.shamusyoung.com\/twentysidedtale\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.shamusyoung.com\/twentysidedtale\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=25458"}],"version-history":[{"count":0,"href":"https:\/\/www.shamusyoung.com\/twentysidedtale\/index.php?rest_route=\/wp\/v2\/posts\/25458\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.shamusyoung.com\/twentysidedtale\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=25458"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.shamusyoung.com\/twentysidedtale\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=25458"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.shamusyoung.com\/twentysidedtale\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=25458"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}