<?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>Classical Convert &#187; visualization</title>
	<atom:link href="http://classicalconvert.com/category/visualization/feed/" rel="self" type="application/rss+xml" />
	<link>http://classicalconvert.com</link>
	<description>A beginners guide to classical music, by someone who switched at 23</description>
	<lastBuildDate>Thu, 21 Oct 2010 03:44:06 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Transformational</title>
		<link>http://classicalconvert.com/2009/03/transformational/</link>
		<comments>http://classicalconvert.com/2009/03/transformational/#comments</comments>
		<pubDate>Thu, 12 Mar 2009 04:40:18 +0000</pubDate>
		<dc:creator>Me</dc:creator>
				<category><![CDATA[classical music]]></category>
		<category><![CDATA[shostakovich]]></category>
		<category><![CDATA[visualization]]></category>
		<category><![CDATA[youtube]]></category>
		<category><![CDATA[animation]]></category>
		<category><![CDATA[shostakovich wav2png]]></category>
		<category><![CDATA[spectrogram]]></category>

		<guid isPermaLink="false">http://classicalconvert.com/?p=1014</guid>
		<description><![CDATA[My laptop is scorching my lap. It&#8217;s pushing 70C on both cores. Like me, it gets hot and confused when forced to think too hard about math all in one go. Unlike me, it doesn&#8217;t scribble all over it&#8217;s work and swear at the obnoxiously curly integral symbols. Why the laptop torture sesh? Well, I&#8217;m [...]]]></description>
			<content:encoded><![CDATA[<p>My laptop is scorching my lap. It&#8217;s pushing 70C on both cores. Like me, it gets hot and confused when forced to think too hard about math all in one go. Unlike me, it doesn&#8217;t scribble all over it&#8217;s work and swear at the obnoxiously curly integral symbols.</p>
<p>Why the laptop torture sesh? Well, I&#8217;m back on the wildly careening Fast! Fourier! Transform! bandwagon (the exclamation marks are for extra excitement). FFTs are a way to break down a raw chunk of sound (for example, an MP3) into all of its individual frequencies. So for example, if you had a recording of a pure C chord, running an FFT on it would show that it had C, E and G tones in it.</p>
<p>It looks a lot more interesting when there is more stuff going on than that&#8230;</p>
<p style="text-align: center;"><p><a href="http://classicalconvert.com/2009/03/transformational/"><em>Click here to view the embedded video.</em></a></p></p>
<p style="text-align: left;">&#8230;but than it is also harder to see what is happening.</p>
<p style="text-align: left;">I&#8217;m excited about this <a href="http://classicalconvert.com/2008/04/how-to-visualize-music-using-animated-spectrograms-with-open-source-everything/">again</a> because I came across <a href="http://www.freesound.org/blog/?p=10">this page</a>, in which they have an algorithm that can calculate the spectrograms waaaay faster than my old crummy one. I haven&#8217;t had time to pick apart why that is yet, but it&#8217;ll for SURE result in some sexy animations. Otherwise I want all my money back.</p>
]]></content:encoded>
			<wfw:commentRss>http://classicalconvert.com/2009/03/transformational/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Score Processing, Part III</title>
		<link>http://classicalconvert.com/2008/12/score-processing-part-iii/</link>
		<comments>http://classicalconvert.com/2008/12/score-processing-part-iii/#comments</comments>
		<pubDate>Wed, 03 Dec 2008 22:12:44 +0000</pubDate>
		<dc:creator>Me</dc:creator>
				<category><![CDATA[beethoven]]></category>
		<category><![CDATA[classical music]]></category>
		<category><![CDATA[visualization]]></category>
		<category><![CDATA[youtube]]></category>
		<category><![CDATA[score analysis]]></category>

		<guid isPermaLink="false">http://classicalconvert.com/?p=655</guid>
		<description><![CDATA[Here is the latest product of my epic battle to nicely animate a score to music: (widescreen here) The motivation here was to get a program to work out when notes were being hit, just by looking at the volume. The idea is that when the volume suddenly increases, a note is being played. If [...]]]></description>
			<content:encoded><![CDATA[<p>Here is the latest product of my epic battle to nicely animate a score to music:</p>
<p style="text-align: center;"><p><a href="http://classicalconvert.com/2008/12/score-processing-part-iii/"><em>Click here to view the embedded video.</em></a></p></p>
<p style="text-align: left;">(widescreen <a href="http://www.youtube.com/watch?v=KKI1ZG2HMOI&amp;fmt=18">here</a>)</p>
<p style="text-align: left;">The motivation here was to get a program to work out when notes were being hit, just by looking at the volume. The idea is that when the volume suddenly increases, a note is being played. If I can work out exactly when all the notes are being hit in a recording, then I can map the <a href="http://classicalconvert.com/2008/11/score-processing-part-ii/">analyzed score</a> (that is, the raw notes from the sheet music) onto the timings, and make a neat animation.</p>
<p style="text-align: left;">The video shows a moving plot of the volume. Well sort of. It&#8217;s the absolute value (i.e., all negative values are made positive) of the amplitude of the waveform. You know how when you look at a speaker cone real close you can see it vibrating? The amplitude tells you how how far it is moving. If the amplitude is large, it is compressing a lot of air, which sounds loud. If the amplitude is very small, the speaker is barely moving, and we can hardly hear anything. This doesn&#8217;t exactly correspond to what we hear as volume, because there are lots of <a href="http://en.wikipedia.org/wiki/Loudness">psychological effects</a> which affect our perception (for example, hearing low and high pitches differently).</p>
<p style="text-align: left;">As you can see, it works pretty well when not much is happening, like during the first few minutes. It is interesting to see how the sound slowly drops off after each note is struck. When things get more hectic it gets way harder to separate the notes, since the sound level is continuously fairly high. Quieter notes get lost in the sustains from previous ones.</p>
<p style="text-align: left;">Imagine hitting a low C on the piano and then immediately hitting a high one, much more quietly. We could probably hear both because they have such different frequencies, despite the volumes. But if instead of hitting the high C you quietly hit the low one again, it would be really hard to hear. That&#8217;s pretty much what is happening here. We are not using any of the pitch information.</p>
<p style="text-align: left;">There is a <a href="http://en.wikipedia.org/wiki/Spectrogram">way to do that</a>, but it is much trickier to program.</p>
]]></content:encoded>
			<wfw:commentRss>http://classicalconvert.com/2008/12/score-processing-part-iii/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Score Processing, Part II</title>
		<link>http://classicalconvert.com/2008/11/score-processing-part-ii/</link>
		<comments>http://classicalconvert.com/2008/11/score-processing-part-ii/#comments</comments>
		<pubDate>Sun, 30 Nov 2008 03:50:17 +0000</pubDate>
		<dc:creator>Me</dc:creator>
				<category><![CDATA[classical music]]></category>
		<category><![CDATA[visualization]]></category>
		<category><![CDATA[youtube]]></category>
		<category><![CDATA[animation]]></category>
		<category><![CDATA[beethoven]]></category>
		<category><![CDATA[score analysis]]></category>

		<guid isPermaLink="false">http://classicalconvert.com/?p=617</guid>
		<description><![CDATA[No-one exists here. We are still within the midst (or midsts? Which is it? Well, given that it is from the 15th century I guess I can get away with either. That&#8217;s how they used to roll.) of thanksgiving. No-one is here. Except me. I think my supervisor would have murdered me if I left [...]]]></description>
			<content:encoded><![CDATA[<p>No-one exists here. We are still within the midst (or midsts? Which is it? Well, given that it is from the <a href="http://www.merriam-webster.com/dictionary/midst">15th century</a> I guess I can get away with either. That&#8217;s how they used to roll.) of thanksgiving. No-one is here. Except me. I think my supervisor would have murdered me if I left this weekend, given that I was skipping around NYC for most of last week.</p>
<p>I did have some time to play around a bit more with the score processing. Here&#8217;s my standard guinea-pig type piece, Beethoven Op. 111:</p>
<p style="text-align: center;"><p><a href="http://classicalconvert.com/2008/11/score-processing-part-ii/"><em>Click here to view the embedded video.</em></a></p></p>
<p style="text-align: left;">Do you love the glorious widescreen? Oh wait&#8230; the embedded player doesn&#8217;t work with widescreen yet. Well, if you (like me) are hot for 16:9 you can watch the full thing <a href="http://www.youtube.com/watch?v=1flE9KYpvS0">here</a>. HOWEVER. It still won&#8217;t have any audio. Why not? It turns out that synchronizing the audio is actually the real crux of this score analysis malarkey.</p>
<p style="text-align: left;">You see, the notes in the video are a literal transcription of the score (extracted from MusicXML versions of MIDI files), but no-one ever plays a literal transcription of the score. The tempos vary all the time. So making the audio match the notes is a much more difficult problem than getting the notes themselves. I have about five different ideas for getting this to work, but all of them are several day long programming sessions.</p>
<p style="text-align: left;">Still, the video looks kind of pretty, right?</p>
]]></content:encoded>
			<wfw:commentRss>http://classicalconvert.com/2008/11/score-processing-part-ii/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>More Open-Source Music</title>
		<link>http://classicalconvert.com/2008/11/more-open-source-music/</link>
		<comments>http://classicalconvert.com/2008/11/more-open-source-music/#comments</comments>
		<pubDate>Wed, 19 Nov 2008 20:46:41 +0000</pubDate>
		<dc:creator>Me</dc:creator>
				<category><![CDATA[classical music]]></category>
		<category><![CDATA[visualization]]></category>
		<category><![CDATA[animation]]></category>
		<category><![CDATA[orchestra]]></category>

		<guid isPermaLink="false">http://classicalconvert.com/?p=587</guid>
		<description><![CDATA[Hooray! Free sheet music for all! I only just came across this site, even though all the drama of it reappearing happened half a year ago. I didn&#8217;t notice it back then because my visits into sheetmusicland only occur rarely. In fact I only go in search of scores for one of about, errr, two [...]]]></description>
			<content:encoded><![CDATA[<p>Hooray! <a href="http://imslp.org/wiki/Main_Page">Free sheet music</a> for all!</p>
<p>I only just came across <a href="http://imslp.org/wiki/Main_Page">this</a> site, even though all the drama of it reappearing happened half a year ago. I didn&#8217;t notice it back then because my visits into sheetmusicland only occur rarely. In fact I only go in search of scores for one of about, errr, two reasons:</p>
<ul>
<li>I&#8217;ve decided to try and play the piano again.</li>
<li>I am obsessing about a particular passage in a piece of music, and want to know the key, or time-signature, or which instrument is making that funny noise (like that weird buzzing in Shostakovich 4)</li>
</ul>
<p>Well hang onto your three-cornered hats, because today it was for another reason. The reason of animation. I had this totally awesome idea for animating a piece of classical music in which you&#8217;d have an orchestra layout:</p>
<p style="text-align: center;"><a href="http://classicalconvert.com/wp-content/uploads/2008/11/orchestrachart.gif"><img class="aligncenter size-full wp-image-588" title="Orchestra Layout" src="http://classicalconvert.com/wp-content/uploads/2008/11/orchestrachart.gif" alt="" width="434" height="247" /></a></p>
<p style="text-align: left;">And then the different sections would light up when they were playing. I thought it&#8217;d be interesting to get a visual feel for how the melodies are getting passed around, like you do with a live performance. Of course, in order to do this you need a copy of the score (or an insanely good ear and lots of time).</p>
<p style="text-align: left;">Instead of doing it manually &#8212; that is, looking at the score and by hand turning that into frames of animation &#8212; I want to automate it, at least a little bit. In the most basic version you don&#8217;t even need to try and work out which exact notes are being played. All you need to do is draw a line (or rather, a rectangular box) vertically across the clef and see how many black pixels there are inside. When a note is being played it will be darker than average. If you do this for the whole score you should have a pretty good indication of when notes are being played by each instrument.</p>
<p style="text-align: left;">Of course, things like this are always way easier to describe then to actually accomplish, but I&#8217;m gonna give it a shot when I get a bit of free time that isn;t spent playing on teh internets.</p>
]]></content:encoded>
			<wfw:commentRss>http://classicalconvert.com/2008/11/more-open-source-music/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Music Information Retrieval in a Post Bedtime Environment</title>
		<link>http://classicalconvert.com/2008/09/music-information-retrieval-in-a-post-bedtime-environment/</link>
		<comments>http://classicalconvert.com/2008/09/music-information-retrieval-in-a-post-bedtime-environment/#comments</comments>
		<pubDate>Mon, 08 Sep 2008 06:07:07 +0000</pubDate>
		<dc:creator>Me</dc:creator>
				<category><![CDATA[classical music]]></category>
		<category><![CDATA[visualization]]></category>
		<category><![CDATA[youtube]]></category>
		<category><![CDATA[music information retrieval]]></category>

		<guid isPermaLink="false">http://classicalconvert.com/?p=411</guid>
		<description><![CDATA[Oh dear, instead of being asleep I/we/me are perusing this guys thesis (PDF warning). His PhD project centered on writing software that can automatically identify the identity of a singer by analyzing a recording of their performance. The really neat thing is that it works for recordings which have other instruments in them, so he [...]]]></description>
			<content:encoded><![CDATA[<p>Oh dear, instead of being asleep I/we/me are perusing <a href="http://home.earthlink.net/~bartscma/bartsch_thesis_final.pdf">this guys thesis</a> (PDF warning). His PhD project centered on writing software that can automatically identify the identity of a singer by analyzing a recording of their performance. The really neat thing is that it works for recordings which have other instruments in them, so he had to come up with a way to determine whether certain sounds we&#8217;re voice-like or instrument-like.</p>
<p>This thesis reading came about due to me taking another poke at my <a href="http://www.youtube.com/watch?v=Hwa2CMkw5hc">previous attempts</a> at music visualization (or more fancy-schmancily: MIR &#8211; Music Information Retrieval). Like so many research related items, although the general concept is fairly well-defined and straightforward the devil is definitely in the heapings of details.</p>
<p>There are all kinds of issues that rapidly start cropping up after the basics have been sort of sorted out.</p>
<p>For example, humans are pretty good at picking a melody. It&#8217;s hard to tell a computer to do that. As soon as you have more than one note being played at a time it&#8217;s a very non-trivial problem to work out which notes belong to the melody and which to the accompaniment. Particularly if you have, for example, a melody which switches from high to low notes, or passes between instruments, or has sharp changes in its dynamics.</p>
<p>In short, this means it is pretty easy to extract the melody from a monophonic performance of &#8220;Mary Had a Little Lamb&#8221;, but nearly impossible to extract it from anything else. At least automatically.</p>
<p>However, this brings up an interesting point. Can people even accurately identify which notes form the melody in a piece of music? Here&#8217;s a quote from the above thesis which alludes to what I&#8217;m getting at, which in this case is talking about automatically identifying musical instruments:</p>
<blockquote><p>Martin [41] examines the classification of isolated samples from 37 instruments using<br />
hand-picked features as inputs to a quadratic classifier &#8230; best-case accuracy is reported at 71.6%.</p></blockquote>
<blockquote><p>Martin [41] and Brown [51] also cite human performance for instrument identification tasks. Brown notes that human performance on isolated tones for her two-instrument identification task is comparable to her system&#8217;s performance. <strong>Martin finds that humans score much worse than his system</strong> (i.e., 50-67% versus 71.6%) <strong>on the instrument identification task and with comparable accuracy for instrument family identification.</strong></p></blockquote>
<p>Some MIR goals might not actually be possible. This is possibly true for 100% accurate two-instrument identification, but I bet it&#8217;s definitely true for melody extraction. In fact, the more I consider this problem the more I realize that it would be frickin&#8217; impossible to say which of the notes in a piece from part of the melody.</p>
<p>It&#8217;s like when you try whistling a famous piece. Whistling should be a perfect example of melody recall, right? We whistle the melodies we have extracted from music, it&#8217;s our best attempt at melody identification. Well, anyway, when I try to do this the first part usually goes pretty well, you can sometimes make it all the way through the exposition without getting too confused. However, as soon as you hit the development section you&#8217;re basically screwed. You try to whistle three parts at once and it falls apart like a&#8230; a&#8230; <a href="http://www.youtube.com/watch?v=QsCUhL623oE">buttercup</a>.</p>
<p>At least, that&#8217;s what happens when I try. Now I&#8217;ll probably get smarmy eMails from music majors who can whistle every orchestral part of Beethoven&#8217;s Ninth all the way through. At once.</p>
]]></content:encoded>
			<wfw:commentRss>http://classicalconvert.com/2008/09/music-information-retrieval-in-a-post-bedtime-environment/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Spiral Tonality</title>
		<link>http://classicalconvert.com/2008/05/spiraltonality/</link>
		<comments>http://classicalconvert.com/2008/05/spiraltonality/#comments</comments>
		<pubDate>Wed, 28 May 2008 04:17:33 +0000</pubDate>
		<dc:creator>Me</dc:creator>
				<category><![CDATA[classical music]]></category>
		<category><![CDATA[visualization]]></category>
		<category><![CDATA[music]]></category>
		<category><![CDATA[tonality]]></category>

		<guid isPermaLink="false">http://classicalconvert.com/?p=364</guid>
		<description><![CDATA[Evening all. One nice feature of having a decent collection of blog posts up and active is that every now and then someone leaves you a nice comment on a piece you had pretty much forgotten about. Today this was a comment from chaika, who commented on this post back from the depths of last [...]]]></description>
			<content:encoded><![CDATA[<p>Evening all.</p>
<p>One nice feature of having a decent collection of blog posts up and active is that every now and then someone leaves you a nice comment on a piece  you had pretty much forgotten about. Today this was a comment from <em>chaika</em>, who commented on <a href="http://classicalconvert.com/2007/05/automatically-understanding-the-emotional-content-of-music/">this post</a> back from the depths of last year in which I really, really wanted a piece of software which would automatically display the tonality of a piece of music as it progresses.</p>
<p>Miss/Mister commenter provided me an excellent lead on the subject: <a href="http://www-rcf.usc.edu/~echew/">Elaine Chew</a> at USC has published a bunch of papers which attempt to do exactly that. Not only are her papers relevant, but via her references I can now work out all the other important writings on the subject. Awesome.</p>
<p>So far it seems that her method for determining tonality is based on a spiral:</p>
<p><a href="http://classicalconvert.com/wp-content/uploads/2008/05/spiraltonality.jpg"><img class="aligncenter size-full wp-image-365" title="spiraltonality" src="http://classicalconvert.com/wp-content/uploads/2008/05/spiraltonality.jpg" alt="" /></a></p>
<p>In which each point on the spiral is a <a href="http://en.wikipedia.org/wiki/Perfect_fifth">major fifth</a> higher than the last (and so each point vertically above ends up being a third higher, which is why those chords look like triangles, because it&#8217;s a point connected to a spiral-neighbor and a vertical-neighbor) That spiral looks kinda complicated, I know, and I&#8217;m feeling the pain a bit because I only know the most basic music theory. However, I&#8217;m fairly determined to get to grips with the ideas in this paper, and it&#8217;s actually a rather interesting (and effective) way to learn the theory for me: backward from the math.</p>
]]></content:encoded>
			<wfw:commentRss>http://classicalconvert.com/2008/05/spiraltonality/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Hot Tuesday Linkage</title>
		<link>http://classicalconvert.com/2008/05/hot-tuesday-linkage/</link>
		<comments>http://classicalconvert.com/2008/05/hot-tuesday-linkage/#comments</comments>
		<pubDate>Wed, 07 May 2008 03:38:30 +0000</pubDate>
		<dc:creator>Me</dc:creator>
				<category><![CDATA[classical music]]></category>
		<category><![CDATA[visualization]]></category>
		<category><![CDATA[janacek]]></category>

		<guid isPermaLink="false">http://classicalconvert.com/?p=348</guid>
		<description><![CDATA[Janacek would be proud. No, wait a sec, Janácek (check out the text decoration on that bad-boy&#8230; except the c doesn&#8217;t work properly. Darn.) would be proud. Someone (namely a dude called Ranjit) has a proposal for an installation piece which you can see in the following video: installation proposal for artbots 2008 from ranjit [...]]]></description>
			<content:encoded><![CDATA[<p>Janacek would be proud. No, wait a sec, Janácek (check out the text decoration on that bad-boy&#8230; except the c doesn&#8217;t work properly. Darn.) would be proud. Someone (namely a dude called Ranjit) has a proposal for an installation piece which you can see in the following video:</p>
<p><object type="application/x-shockwave-flash" width="400" height="302" data="http://www.vimeo.com/moogaloop.swf?clip_id=960978&amp;server=www.vimeo.com&amp;fullscreen=1&amp;show_title=1&amp;show_byline=0&amp;show_portrait=0&amp;color=00ADEF"><param name="quality" value="best" /><param name="allowfullscreen" value="true" /><param name="scale" value="showAll" /><param name="movie" value="http://www.vimeo.com/moogaloop.swf?clip_id=960978&amp;server=www.vimeo.com&amp;fullscreen=1&amp;show_title=1&amp;show_byline=0&amp;show_portrait=0&amp;color=00ADEF" /></object><br /><a href="http://www.vimeo.com/960978?pg=embed&#038;sec=960978">installation proposal for artbots 2008</a> from <a href="http://www.vimeo.com/ranjit?pg=embed&#038;sec=960978">ranjit</a> on <a href="http://vimeo.com?pg=embed&#038;sec=960978">Vimeo</a>.</p>
<p>It&#8217;s a robot which translates vocal patterns into musical sounds which it performs on a modified electric guitar and various pieces of percussion equipment. In the video linked above you can see how it interprets a brief scene from Citizen Kane. This is exactly the kind of thing that Janacek <a href="http://en.wikipedia.org/wiki/Leo%C5%A1_Jan%C3%A1%C4%8Dek#Style">was into</a>, apparently; trying to mimic the cadences of the human voice using instruments. Except without the electric guitar and microchips. Probably.</p>
<p>Additionally, reader Yvonne forwarded me a recent story about an attempt to <a href="http://www.sciencedaily.com/releases/2008/04/080417142454.htm">geometrically visualize </a>the structure of musical works. As regular readers are probably sick to death of hearing, I&#8217;m <a href="http://classicalconvert.com/2008/04/how-to-visualize-music-using-animated-spectrograms-with-open-source-everything/">totally in love</a> with the concept of theoretically-well-grounded visualization techniques. It&#8217;s a fairly holy grail. This press piece is tantalizingly light on exact details, but one of the most interesting tidbits for me was:</p>
<blockquote><p>To some extent, we can represent the history of music as a long process of exploring different symmetries and different geometries.</p></blockquote>
<p>Which I&#8217;m a tad suspicious of due to the &#8220;certain extent&#8221;, and might just mean that they got some pretty pictures which sort of look similar, but could be really neat. If I feel brave enough I&#8217;ll try and dig up the actual paper sometime this week and wade through acres of musical and mathematical theory which I do not understand. I can pretend to though. I&#8217;m getting really good at that after four years in grad school.</p>
]]></content:encoded>
			<wfw:commentRss>http://classicalconvert.com/2008/05/hot-tuesday-linkage/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Visualization Via Video</title>
		<link>http://classicalconvert.com/2007/12/visualization-via-video/</link>
		<comments>http://classicalconvert.com/2007/12/visualization-via-video/#comments</comments>
		<pubDate>Mon, 17 Dec 2007 05:54:27 +0000</pubDate>
		<dc:creator>Me</dc:creator>
				<category><![CDATA[beethoven]]></category>
		<category><![CDATA[classical music]]></category>
		<category><![CDATA[visualization]]></category>
		<category><![CDATA[youtube]]></category>

		<guid isPermaLink="false">http://classicalconvert.com/2007/12/visualization-via-video/</guid>
		<description><![CDATA[Yuck, been sick these last few days with not-wanting-to-eat feelings thrusting their unpleasant paths through my abdomen. Bastards. Now it&#8217;s magically altered itself (or they &#8230; themselves, the plurality of this anthropomorphizing is not well defined) into an annoying pain of a pain in my hip. Clearly I am a wreck and destined to be [...]]]></description>
			<content:encoded><![CDATA[<p>Yuck, been sick these last few days with not-wanting-to-eat feelings thrusting their unpleasant paths through my abdomen. Bastards. Now it&#8217;s magically altered itself (or they &#8230; themselves, the plurality of this anthropomorphizing is not well defined) into an annoying pain of a pain in my hip. Clearly I am a wreck and destined to be crumpled into glue ever so soon. Anyway, not to skip around the topic of choice: I&#8217;ve updated the previous visualization work into video form. Check this out:</p>
<p><a href="http://classicalconvert.com/2007/12/visualization-via-video/"><em>Click here to view the embedded video.</em></a></p>
<p>It&#8217;s at least passably interesting, isn&#8217;t it? Mostly I&#8217;m just relishing and wallowing gleefully in a minimal amount of proudness for working out how to animate a bunch of pictures with a line down the middle&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://classicalconvert.com/2007/12/visualization-via-video/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My (less disappointing!) Visualization Efforts</title>
		<link>http://classicalconvert.com/2007/12/my-less-disappointing-visualization-efforts/</link>
		<comments>http://classicalconvert.com/2007/12/my-less-disappointing-visualization-efforts/#comments</comments>
		<pubDate>Thu, 13 Dec 2007 01:35:07 +0000</pubDate>
		<dc:creator>Me</dc:creator>
				<category><![CDATA[classical music]]></category>
		<category><![CDATA[visualization]]></category>

		<guid isPermaLink="false">http://classicalconvert.com/2007/12/my-less-disappointing-visualization-efforts/</guid>
		<description><![CDATA[Aha! This round of music visualization is going somewhat better than then last incarnation. Instead of a crappy bunch of graphs I now have a totally official and fancy-pantsy looking spectrogram going on, albeit in a static not-yet-animated form. Here is what the first 120 seconds or so of the second movement Beethoven&#8217;s piano sonata [...]]]></description>
			<content:encoded><![CDATA[<p>Aha! This round of music visualization is going somewhat better than then <a href="http://classicalconvert.com/2007/12/my-somewhat-disappointing-visualization-efforts/">last incarnation</a>. Instead of a crappy bunch of graphs I now have a totally official and fancy-pantsy looking <a href="http://en.wikipedia.org/wiki/Spectrogram">spectrogram</a> going on, albeit in a static not-yet-animated form. Here is what the first 120 seconds or so of the second movement Beethoven&#8217;s piano sonata op. 111 look like (click for the full version, the image below is a small section at the start):</p>
<p><a href="http://classicalconvert.com/wp-content/uploads/2007/12/spectrogram.png"></a></p>
<p style="text-align: center"><a href="http://classicalconvert.com/wp-content/uploads/2007/12/spectrogram.png"><img src="http://classicalconvert.com/wp-content/uploads/2007/12/spectrogramsmall.png" alt="spectrogramsmall.png" /></a></p>
<p>This shows the dominant sound frequencies present in the music, over a period of time. These frequencies correspond in a not completely linear way to the notes which are being played. This lets you see the shapes of the melodies as the piece progresses (from left to right in the spectrogram). I think with cleverer coloring, and animation, this will become much more apparent. Still, not bad for a first, errr, second try!</p>
<p>The recording I am using is from the <a href="http://commons.wikimedia.org/wiki/Beethoven#Music">wikimedia page</a> on Beethoven. The software I am using to create it is all open-source: <a href="http://sox.sourceforge.net/">sox</a>, <a href="http://www.python.org">python</a>, <a href="http://numpy.scipy.org/">numpy</a>, <a href="http://www.pythonware.com/products/pil/">pil</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://classicalconvert.com/2007/12/my-less-disappointing-visualization-efforts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My (somewhat disappointing) Visualization Efforts</title>
		<link>http://classicalconvert.com/2007/12/my-somewhat-disappointing-visualization-efforts/</link>
		<comments>http://classicalconvert.com/2007/12/my-somewhat-disappointing-visualization-efforts/#comments</comments>
		<pubDate>Mon, 10 Dec 2007 06:27:09 +0000</pubDate>
		<dc:creator>Me</dc:creator>
				<category><![CDATA[classical music]]></category>
		<category><![CDATA[visualization]]></category>

		<guid isPermaLink="false">http://classicalconvert.com/2007/12/my-somewhat-disappointing-visualization-efforts/</guid>
		<description><![CDATA[Hmmm. Music visualization is a pain in the arse. I&#8217;m simultaneously attempting to produce a real-time frequency visualizer type dealie, and learn Python (which is what all the cool kids are using for programming) making it way, way harder than it should be. Since it takes flipping ages to calculate all the necessary Fourier transforms [...]]]></description>
			<content:encoded><![CDATA[<p>Hmmm. Music visualization is a pain in the arse. I&#8217;m simultaneously attempting to produce a real-time frequency visualizer type dealie, and learn Python (which is what all the cool kids are using for programming) making it way, way harder than it should be. Since it takes flipping ages to calculate all the necessary Fourier transforms it seems best to produce videos of the visualization, instead of trying to do it in real time. Which is probably impossible. Currently they look pretty, errr, lacking. Prettying things up is probably going to be the largest part of the problem.</p>
<p>At the moment each video frame looks like this:</p>
<p><img src="http://classicalconvert.com/wp-content/uploads/2007/12/frame_2640.jpg" alt="frame_2640.jpg" height="384" width="480" /></p>
<p>See what I mean? In the next few days I&#8217;ll play around with graphics routines to try and generate a proper <a href="http://en.wikipedia.org/wiki/Spectrogram">spectrogram</a>. Then we&#8217;ll be in a bit more business.</p>
]]></content:encoded>
			<wfw:commentRss>http://classicalconvert.com/2007/12/my-somewhat-disappointing-visualization-efforts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

