<?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>my digital playground &#187; Music Player</title>
	<atom:link href="http://blog.vogel.vu/tag/music-player/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.vogel.vu</link>
	<description>photography &#124; computers &#124; daily things</description>
	<lastBuildDate>Wed, 12 Jan 2011 17:36:42 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.5</generator>
		<item>
		<title>Music player and fourier analysis with Processing</title>
		<link>http://blog.vogel.vu/2009/10/03/music-player-and-fourier-analysis-with-processing/</link>
		<comments>http://blog.vogel.vu/2009/10/03/music-player-and-fourier-analysis-with-processing/#comments</comments>
		<pubDate>Sat, 03 Oct 2009 10:13:37 +0000</pubDate>
		<dc:creator>Reto Vogel</dc:creator>
				<category><![CDATA[HSLU]]></category>
		<category><![CDATA[Multimediatechnik]]></category>
		<category><![CDATA[Processing]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[FFT]]></category>
		<category><![CDATA[Music Player]]></category>

		<guid isPermaLink="false">http://blog.vogel.vu/?p=194</guid>
		<description><![CDATA[Today&#8217;s processing task was about programming a music player. There are several ways to implement music tasks (playing, recording etc.). I took the Minim library. Another one is the Ess audio library. I heard from my colleague Jürg Stalder that Minim didn&#8217;t work on his Mac Book and therefore he realized it with Ess &#8211; [...]]]></description>
			<content:encoded><![CDATA[<p>Today&#8217;s processing task was about programming a music player. There are several ways to implement music tasks (playing, recording etc.). I took the <a href="http://code.compartmental.net/tools/minim/" title="Minim audio library" target="_blank" class="liexternal">Minim library</a>. Another one is the <a href="http://www.tree-axis.com/Ess/" title="Ess audio library" target="_blank" class="liexternal">Ess audio library</a>. I heard from my colleague <a href="http://user.enterpriselab.ch/~tcstalde/wordpress/?p=41" title="Jürg's MMT Blog" target="_blank" class="liexternal">Jürg Stalder</a> that Minim didn&#8217;t work on his Mac Book and therefore he realized it with Ess &#8211; and as we can see, it works too.<br />
<span id="more-194"></span>I implemeted a play/pause function which can be used by pressing the spacebar. With the two methods</p>
<blockquote><p>getMetaData().author();<br />
player.getMetaData().title();</p></blockquote>
<p>it is quite simple to get and display the ID3 tag of the song.</p>
<p>In addition I implemented the FFT (Fast Fourier Transformation) and a waveform which represent the song&#8217;s frequencies, volume etc. On the top behind the artist and the songtitle is a progressbar displayed.</p>
<p style="text-align: center;"><a href="http://blog.vogel.vu/wp-content/uploads/2009/10/mp3play_processing.png" class="lightview" rel="gallery[194]" class="liimagelink" title="MP3 Player in Processing"><img class="size-full wp-image-202 aligncenter" title="MP3 Player in Processing" src="http://blog.vogel.vu/wp-content/uploads/2009/10/mp3play_processing.png" alt="MP3 Player in Processing" width="500" height="321" /></a></p>
<p>Download Source Code here: <a href="http://blog.vogel.vu/wp-content/uploads/2009/10/Aufgabe_4.java" class="liinternal">Aufgabe_4.java</a> <a href="http://blog.vogel.vu/wp-content/uploads/2009/10/Aufgabe_4.pde" class="liinternal">Aufgabe_4.pde</a></p>
<p>Demo: <a href="http://blog.vogel.vu/wp-content/uploads/2009/10/mp3player/index.html" class="lightview" title="MP3 player implemented in Processing :: Please wait, until the Java Applet is loaded :: width: 560, height: 510" target="_blank">here</a></p>


Bookmark, print, and share:


	<a rel="nofollow"  target="_blank" href="http://www.printfriendly.com/print?url=http%3A%2F%2Fblog.vogel.vu%2F2009%2F10%2F03%2Fmusic-player-and-fourier-analysis-with-processing%2F&amp;partner=sociable" title="Print"><img src="http://blog.vogel.vu/wp-content/plugins/sociable/images/printfriendly.png" title="Print" alt="Print" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.printfriendly.com/print?url=http%3A%2F%2Fblog.vogel.vu%2F2009%2F10%2F03%2Fmusic-player-and-fourier-analysis-with-processing%2F&amp;partner=sociable" title="PDF"><img src="http://blog.vogel.vu/wp-content/plugins/sociable/images/pdf.png" title="PDF" alt="PDF" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="javascript:AddToFavorites();" title="Add to favorites"><img src="http://blog.vogel.vu/wp-content/plugins/sociable/images/addtofavorites.png" title="Add to favorites" alt="Add to favorites" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fblog.vogel.vu%2F2009%2F10%2F03%2Fmusic-player-and-fourier-analysis-with-processing%2F&amp;title=Music%20player%20and%20fourier%20analysis%20with%20Processing&amp;bodytext=Today%27s%20processing%20task%20was%20about%20programming%20a%20music%20player.%20There%20are%20several%20ways%20to%20implement%20music%20tasks%20%28playing%2C%20recording%20etc.%29.%20I%20took%20the%20Minim%20library.%20Another%20one%20is%20the%20Ess%20audio%20library.%20I%20heard%20from%20my%20colleague%20J%C3%BCrg%20Stalder%20that%20Mini" title="Digg"><img src="http://blog.vogel.vu/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fblog.vogel.vu%2F2009%2F10%2F03%2Fmusic-player-and-fourier-analysis-with-processing%2F&amp;t=Music%20player%20and%20fourier%20analysis%20with%20Processing" title="Facebook"><img src="http://blog.vogel.vu/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Fblog.vogel.vu%2F2009%2F10%2F03%2Fmusic-player-and-fourier-analysis-with-processing%2F&amp;title=Music%20player%20and%20fourier%20analysis%20with%20Processing&amp;notes=Today%27s%20processing%20task%20was%20about%20programming%20a%20music%20player.%20There%20are%20several%20ways%20to%20implement%20music%20tasks%20%28playing%2C%20recording%20etc.%29.%20I%20took%20the%20Minim%20library.%20Another%20one%20is%20the%20Ess%20audio%20library.%20I%20heard%20from%20my%20colleague%20J%C3%BCrg%20Stalder%20that%20Mini" title="del.icio.us"><img src="http://blog.vogel.vu/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fblog.vogel.vu%2F2009%2F10%2F03%2Fmusic-player-and-fourier-analysis-with-processing%2F&amp;title=Music%20player%20and%20fourier%20analysis%20with%20Processing" title="StumbleUpon"><img src="http://blog.vogel.vu/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.myspace.com/Modules/PostTo/Pages/?u=http%3A%2F%2Fblog.vogel.vu%2F2009%2F10%2F03%2Fmusic-player-and-fourier-analysis-with-processing%2F&amp;t=Music%20player%20and%20fourier%20analysis%20with%20Processing" title="MySpace"><img src="http://blog.vogel.vu/wp-content/plugins/sociable/images/myspace.png" title="MySpace" alt="MySpace" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="https://favorites.live.com/quickadd.aspx?marklet=1&amp;url=http%3A%2F%2Fblog.vogel.vu%2F2009%2F10%2F03%2Fmusic-player-and-fourier-analysis-with-processing%2F&amp;title=Music%20player%20and%20fourier%20analysis%20with%20Processing" title="Live"><img src="http://blog.vogel.vu/wp-content/plugins/sociable/images/live.png" title="Live" alt="Live" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fblog.vogel.vu%2F2009%2F10%2F03%2Fmusic-player-and-fourier-analysis-with-processing%2F&amp;title=Music%20player%20and%20fourier%20analysis%20with%20Processing&amp;annotation=Today%27s%20processing%20task%20was%20about%20programming%20a%20music%20player.%20There%20are%20several%20ways%20to%20implement%20music%20tasks%20%28playing%2C%20recording%20etc.%29.%20I%20took%20the%20Minim%20library.%20Another%20one%20is%20the%20Ess%20audio%20library.%20I%20heard%20from%20my%20colleague%20J%C3%BCrg%20Stalder%20that%20Mini" title="Google Bookmarks"><img src="http://blog.vogel.vu/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a>


<br/><br/>]]></content:encoded>
			<wfw:commentRss>http://blog.vogel.vu/2009/10/03/music-player-and-fourier-analysis-with-processing/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

