<?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>noCreativity.com &#187; MP3</title>
	<atom:link href="http://nocreativity.com/blog/tag/mp3/feed" rel="self" type="application/rss+xml" />
	<link>http://nocreativity.com</link>
	<description>The life and discoveries of a new media artist</description>
	<lastBuildDate>Sat, 07 Jan 2012 17:03:59 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Some more bitmapdata and soundSpectrum progress</title>
		<link>http://nocreativity.com/blog/some-more-bitmapdata-and-soundspectrum-progress</link>
		<comments>http://nocreativity.com/blog/some-more-bitmapdata-and-soundspectrum-progress#comments</comments>
		<pubDate>Sun, 30 Nov 2008 13:17:15 +0000</pubDate>
		<dc:creator>Ronny</dc:creator>
				<category><![CDATA[Actionscript]]></category>
		<category><![CDATA[AS3]]></category>
		<category><![CDATA[Audio]]></category>
		<category><![CDATA[bitmap]]></category>
		<category><![CDATA[Bitmapdata]]></category>
		<category><![CDATA[computeSpectrum]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Generative]]></category>
		<category><![CDATA[MP3]]></category>
		<category><![CDATA[player]]></category>
		<category><![CDATA[Playr]]></category>
		<category><![CDATA[SoundMixer]]></category>
		<category><![CDATA[SoundSpectrum]]></category>
		<category><![CDATA[Visualization]]></category>
		<category><![CDATA[Visualizr]]></category>

		<guid isPermaLink="false">http://nocreativity.com/blog/?p=255</guid>
		<description><![CDATA[Today I found some time to mess around with bitmapdata and computeSpectrum again. I&#8217;ve been playing with this earlier, but didn&#8217;t quite get where I wanted to be. A few weeks ago I came up with a better way of rendering the soundTunnel. That resulted in some crazy cool shit, which I finished off today. [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://nocreativity.com/blog-engine/wp-content/uploads/2008/11/picture-30.jpg"><img class="aligncenter size-full wp-image-267" title="picture-30" src="http://nocreativity.com/blog-engine/wp-content/uploads/2008/11/picture-30.jpg" alt="" width="500" height="297" /></a></p>
<p>Today I found some time to mess around with bitmapdata and computeSpectrum again. I&#8217;ve been playing with this earlier, but didn&#8217;t quite get where I wanted to be. A few weeks ago I came up with a better way of rendering the soundTunnel. That resulted in some crazy cool shit, which I finished off today.</p>
<p>I won&#8217;t go into technical details here (yet). I just wanted you guys to see the result.</p>
<p><strong>Demo</strong></p>
<p>Click <a href="http://labs.nocreativity.com/soundCoolness/Visualizr.html" target="_blank">here</a> <img src='http://nocreativity.com/blog-engine/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
And just to make sure it is actually reacting to the sound, try the following links too</p>
<ul>
<li>Song 1: <a href="http://labs.nocreativity.com/soundCoolness/Visualizr.html?s=1" target="_blank">Click</a></li>
<li>Song 2: <a href="http://labs.nocreativity.com/soundCoolness/Visualizr.html?s=2" target="_blank">Click</a></li>
<li>Song 3: <a href="http://labs.nocreativity.com/soundCoolness/Visualizr.html?s=3" target="_blank">Click</a> (default)<a href="http://labs.nocreativity.com/soundCoolness/Visualizr.html?s=1" target="_blank"><br />
</a></li>
<li>Song 4: <a href="http://labs.nocreativity.com/soundCoolness/Visualizr.html?s=4" target="_blank">Click</a></li>
<li>Song 5: <a href="http://labs.nocreativity.com/soundCoolness/Visualizr.html?s=5" target="_blank">Click</a></li>
</ul>
<p><strong>Controls</strong></p>
<ul>
<li>F: Go full screen</li>
<li>S: Freeze visualization</li>
<li>Click: Change color (happens automatically too)</li>
</ul>
<p><span id="more-255"></span></p>
<p><strong>Screenshots</strong></p>
<p><a href="http://nocreativity.com/blog-engine/wp-content/uploads/2008/11/picture-19.jpg"><img class="aligncenter size-full wp-image-256" title="picture-19" src="http://nocreativity.com/blog-engine/wp-content/uploads/2008/11/picture-19.jpg" alt="" width="500" height="294" /></a></p>
<p><a href="http://nocreativity.com/blog-engine/wp-content/uploads/2008/11/picture-20.jpg"><img class="aligncenter size-full wp-image-257" title="picture-20" src="http://nocreativity.com/blog-engine/wp-content/uploads/2008/11/picture-20.jpg" alt="" width="499" height="298" /></a></p>
<p><a href="http://nocreativity.com/blog-engine/wp-content/uploads/2008/11/picture-211.jpg"><img class="aligncenter size-full wp-image-258" title="picture-211" src="http://nocreativity.com/blog-engine/wp-content/uploads/2008/11/picture-211.jpg" alt="" width="500" height="299" /></a></p>
<p><a href="http://nocreativity.com/blog-engine/wp-content/uploads/2008/11/picture-22.jpg"><img class="aligncenter size-full wp-image-259" title="picture-22" src="http://nocreativity.com/blog-engine/wp-content/uploads/2008/11/picture-22.jpg" alt="" width="499" height="297" /></a></p>
<p><a href="http://nocreativity.com/blog-engine/wp-content/uploads/2008/11/picture-23.jpg"><img class="aligncenter size-full wp-image-260" title="picture-23" src="http://nocreativity.com/blog-engine/wp-content/uploads/2008/11/picture-23.jpg" alt="" width="500" height="293" /></a></p>
<p><a href="http://nocreativity.com/blog-engine/wp-content/uploads/2008/11/picture-24.jpg"><img class="aligncenter size-full wp-image-261" title="picture-24" src="http://nocreativity.com/blog-engine/wp-content/uploads/2008/11/picture-24.jpg" alt="" width="500" height="294" /></a></p>
<p><a href="http://nocreativity.com/blog-engine/wp-content/uploads/2008/11/picture-25.jpg"><img class="aligncenter size-full wp-image-262" title="picture-25" src="http://nocreativity.com/blog-engine/wp-content/uploads/2008/11/picture-25.jpg" alt="" width="500" height="295" /></a></p>
<p><a href="http://nocreativity.com/blog-engine/wp-content/uploads/2008/11/picture-26.jpg"><img class="aligncenter size-full wp-image-263" title="picture-26" src="http://nocreativity.com/blog-engine/wp-content/uploads/2008/11/picture-26.jpg" alt="" width="500" height="297" /></a></p>
<p><a href="http://nocreativity.com/blog-engine/wp-content/uploads/2008/11/picture-27.jpg"><img class="aligncenter size-full wp-image-264" title="picture-27" src="http://nocreativity.com/blog-engine/wp-content/uploads/2008/11/picture-27.jpg" alt="" width="500" height="296" /></a></p>
<p><a href="http://nocreativity.com/blog-engine/wp-content/uploads/2008/11/picture-28.jpg"><img class="aligncenter size-full wp-image-265" title="picture-28" src="http://nocreativity.com/blog-engine/wp-content/uploads/2008/11/picture-28.jpg" alt="" width="500" height="297" /></a></p>
<p><a href="http://nocreativity.com/blog-engine/wp-content/uploads/2008/11/picture-29.jpg"><img class="aligncenter size-full wp-image-266" title="picture-29" src="http://nocreativity.com/blog-engine/wp-content/uploads/2008/11/picture-29.jpg" alt="" width="500" height="299" /></a></p>
<p><a href="http://nocreativity.com/blog-engine/wp-content/uploads/2008/11/picture-31.jpg"><img class="aligncenter size-full wp-image-268" title="picture-31" src="http://nocreativity.com/blog-engine/wp-content/uploads/2008/11/picture-31.jpg" alt="" width="499" height="297" /></a></p>
<p><a href="http://nocreativity.com/blog-engine/wp-content/uploads/2008/11/picture-32.jpg"><img class="aligncenter size-full wp-image-269" title="picture-32" src="http://nocreativity.com/blog-engine/wp-content/uploads/2008/11/picture-32.jpg" alt="" width="500" height="298" /></a></p>
<p><a href="http://nocreativity.com/blog-engine/wp-content/uploads/2008/11/picture-33.jpg"><img class="aligncenter size-full wp-image-270" title="picture-33" src="http://nocreativity.com/blog-engine/wp-content/uploads/2008/11/picture-33.jpg" alt="" width="500" height="297" /></a></p>
<p><a href="http://nocreativity.com/blog-engine/wp-content/uploads/2008/11/picture-34.jpg"><img class="aligncenter size-full wp-image-271" title="picture-34" src="http://nocreativity.com/blog-engine/wp-content/uploads/2008/11/picture-34.jpg" alt="" width="500" height="297" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://nocreativity.com/blog/some-more-bitmapdata-and-soundspectrum-progress/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PlayrDiscovr: De playlist.xml bouwer!</title>
		<link>http://nocreativity.com/blog/playrdiscovr-de-playlistxml-bouwer</link>
		<comments>http://nocreativity.com/blog/playrdiscovr-de-playlistxml-bouwer#comments</comments>
		<pubDate>Fri, 15 Aug 2008 16:02:46 +0000</pubDate>
		<dc:creator>Ronny</dc:creator>
				<category><![CDATA[Download]]></category>
		<category><![CDATA[Open-source]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[ID3]]></category>
		<category><![CDATA[MP3]]></category>
		<category><![CDATA[Playr]]></category>

		<guid isPermaLink="false">http://nocreativity.com/blog/?p=130</guid>
		<description><![CDATA[Enkele dagen geleden heb ik een oproep gedaan om tips en suggesties te krijgen in verband met de nieuwe Playr class. Jarne heeft een geautomatiseerde playlist.xml generator voorgesteld. Ik heb hier al vaker aan gedacht, maar altijd de hoop opgegeven als ik moest denken aan de ID3 tags&#8230; Ik ben geen PHP guru, waardoor ik [...]]]></description>
			<content:encoded><![CDATA[<p>Enkele dagen geleden heb ik een <a href="http://nocreativity.com/blog/playr-20-is-coming-what-do-you-want">oproep gedaan</a> om tips en suggesties te krijgen in verband met de nieuwe Playr class. <a href="http://www.cencrea.be/Jarne/Fortunedesign" target="_blank" target="_blank">Jarne</a> heeft een <a href="http://nocreativity.com/blog/playr-20-is-coming-what-do-you-want#comment-1115">geautomatiseerde playlist.xml generator</a> voorgesteld.</p>
<p>Ik heb hier al vaker aan gedacht, maar altijd de hoop opgegeven als ik moest denken aan de ID3 tags&#8230; Ik ben geen PHP guru, waardoor ik nooit echt heb beginnen zoeken.<br />
Nu heb ik mij vandaag toch opeens afgevraagd of er nog geen ID3 support in PHP zit&#8230;<br />
Daar heb ik in feite geen antwoord op gevonden, maar ik heb wel gevonden wat ik zocht: Een open-source project waarmee de ID3 tags van MP3 bestanden (en meer) kunnen gelezen en gebruikt worden, namelijk <a href="http://getid3.sourceforge.net/" target="_blank" target="_blank">getID3</a>.</p>
<p>Sinds dit het moeilijkste van het hele automatiseren was kon ik meteen aan de slag. Ik ben echt positief verrast over hoe simpel getID3 in te zetten is, en hoeveel informatie daarmee op te halen was.</p>
<p>Om een lang verhaal kort te maken heb ik dus nu een geautomatiseerde versie van de playlist.xml gebouwd.<br />
Het leuke is dat je nu zelf de lengte van de track niet meer moet uitrekenen (wat op zich het meest storende van het hele playlist.xml gebeuren was). En natuurlijk: <strong>Nooit meer playlists updaten!</strong></p>
<h3>PlayrDiscovr</h3>
<p><a href="http://nocreativity.com/Playr/PlayrDiscovr.zip">Download</a></p>
<p><strong>Gebruik</strong></p>
<p>Gewoon PlayrDiscovr unzippen, en de inhoud van de map uploaden naar je server.<br />
De MP3 bestanden komen in de &#8216;music&#8217; folder te staan.<br />
In Flash moet je nog even de URL naar je playlist aanpassen van &#8216;playlist.xml&#8217; naar &#8216;playlist.php&#8217;, en je bent klaar. Nooit meer playlists updaten!<br />
PlayrDiscovr haalt alle info over de tracks op vanuit de ID3v2 tag. Als deze dus in orde is, is zijn je playlists automatisch aangepast, vanaf dat je een liedje op de server hebt upgeload.</p>
<p>Veel plezier!</p>
]]></content:encoded>
			<wfw:commentRss>http://nocreativity.com/blog/playrdiscovr-de-playlistxml-bouwer/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Open-source MP3 Player Class: MusicPlayer (Beta release)</title>
		<link>http://nocreativity.com/blog/open-source-mp3-player-class-musicplayer-beta-release</link>
		<comments>http://nocreativity.com/blog/open-source-mp3-player-class-musicplayer-beta-release#comments</comments>
		<pubDate>Sun, 30 Dec 2007 00:45:35 +0000</pubDate>
		<dc:creator>Ronny</dc:creator>
				<category><![CDATA[Actionscript]]></category>
		<category><![CDATA[Download]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Open-source]]></category>
		<category><![CDATA[ActionScript 3]]></category>
		<category><![CDATA[AIR]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[MP3]]></category>
		<category><![CDATA[MusicPlayer]]></category>
		<category><![CDATA[Playr]]></category>

		<guid isPermaLink="false">http://nocreativity.com/blog/open-source-mp3-player-class-musicplayer-beta-release</guid>
		<description><![CDATA[Update: Er is een nieuwe versie van deze klasse die je hier kan vinden. De download van deze versie heb ik verwijderd om die reden. Na lang wachten heb ik vandaag eindelijk al mijn ditjes en datjes in mijn MusicPlayer class kunnen afwerken. De player beschikt nu over de volgende properties: Autoplay Playlist laden (XML) [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Update:</strong> <em>Er is <a href="http://nocreativity.com/blog/playr-20-is-here">een nieuwe versie</a> van deze klasse die je hier kan vinden. De download van deze versie heb ik verwijderd om die reden.</em></p>
<p>Na lang wachten heb ik vandaag eindelijk al mijn ditjes en datjes in mijn MusicPlayer class kunnen afwerken.</p>
<p>De player beschikt nu over de volgende properties:</p>
<ul>
<li>Autoplay</li>
<li>Playlist laden (<a href="http://nocreativity.com/MusicPlayer/playlist.xml"title="Bekijk een voorbeeld van de playlist.xml" >XML</a>)</li>
<li>De buttonacties instellen</li>
<li> 2 progress events (Vooruitgang van inladen van de track, alsook de vooruitgang van de track zelf)</li>
<li>Enkele track inladen</li>
<li>Repeat</li>
<li>ID3 ondersteuning</li>
</ul>
<p>Wat nog op het programma staat:</p>
<ul>
<li>Shuffle</li>
<li>Visualisatie module</li>
</ul>
<p>Er zijn een aantal wijzigingen in de class gebeurd, waardoor je waarschijnlijk je code zult moeten aanpassen in je huidige projecten. Zo is de import regel iets gewijzigd, gezien de MusicPlayer class zijn eigen events nodig heeft (PlayerEvents). Ik heb de hiërarchie dan ook ietje gewijzigd zodat je geen meerdere imports moet uitvoeren.</p>
<p>De code ziet er voortaan zo uit:</p>

<div class="wp_syntax"><div class="code"><pre class="actionscript3" style="font-family:monospace;"><span style="color: #0033ff; font-weight: bold;">import</span> com<span style="color: #000066; font-weight: bold;">.</span>nocreativity<span style="color: #000066; font-weight: bold;">.</span>playr<span style="color: #000066; font-weight: bold;">.*;</span>
<span style="color: #6699cc; font-weight: bold;">var</span> myPlayer<span style="color: #000066; font-weight: bold;">:</span>Playr = <span style="color: #0033ff; font-weight: bold;">new</span> Playr<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>
myPlayer<span style="color: #000066; font-weight: bold;">.</span>autoPlay=<span style="color: #0033ff; font-weight: bold;">true</span><span style="color: #000066; font-weight: bold;">;</span>
myPlayer<span style="color: #000066; font-weight: bold;">.</span>repeat = <span style="color: #0033ff; font-weight: bold;">true</span><span style="color: #000066; font-weight: bold;">;</span>
myPlayer<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">volume</span> = <span style="color: #000000; font-weight:bold;">100</span><span style="color: #000066; font-weight: bold;">;</span>
myPlayer<span style="color: #000066; font-weight: bold;">.</span>loadPlaylist<span style="color: #000000;">&#40;</span><span style="color: #990000;">&quot;playlist.xml&quot;</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>
myPlayer<span style="color: #000066; font-weight: bold;">.</span>registerPlayButton<span style="color: #000000;">&#40;</span>btnPlay<span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>
myPlayer<span style="color: #000066; font-weight: bold;">.</span>registerStopButton<span style="color: #000000;">&#40;</span>btnStop<span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>
myPlayer<span style="color: #000066; font-weight: bold;">.</span>registerPauseButton<span style="color: #000000;">&#40;</span>btnPause<span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>
myPlayer<span style="color: #000066; font-weight: bold;">.</span>registerNextButton<span style="color: #000000;">&#40;</span>btnNext<span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>
myPlayer<span style="color: #000066; font-weight: bold;">.</span>registerPreviousButton<span style="color: #000000;">&#40;</span>btnPrevious<span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>
myPlayer<span style="color: #000066; font-weight: bold;">.</span>registerMuteButton<span style="color: #000000;">&#40;</span>btnMute<span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>
myPlayer<span style="color: #000066; font-weight: bold;">.</span>ID3SourceEnabled =<span style="color: #0033ff; font-weight: bold;">true</span><span style="color: #000066; font-weight: bold;">;</span>
&nbsp;
myPlayer<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">addEventListener</span><span style="color: #000000;">&#40;</span>PlayerEvent<span style="color: #000066; font-weight: bold;">.</span>SONGINFO<span style="color: #000066; font-weight: bold;">,</span>infoHandler<span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>
myPlayer<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">addEventListener</span><span style="color: #000000;">&#40;</span>PlayerEvent<span style="color: #000066; font-weight: bold;">.</span>SONG_PROGRESS<span style="color: #000066; font-weight: bold;">,</span>songprogressHandler<span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>
myPlayer<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">addEventListener</span><span style="color: #000000;">&#40;</span>PlayerEvent<span style="color: #000066; font-weight: bold;">.</span>LOAD_PROGRESS<span style="color: #000066; font-weight: bold;">,</span>loadprogressHandler<span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>
&nbsp;
<span style="color: #339966; font-weight: bold;">function</span> songprogressHandler<span style="color: #000000;">&#40;</span>e<span style="color: #000066; font-weight: bold;">:</span>PlayerEvent<span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">:</span><span style="color: #0033ff; font-weight: bold;">void</span><span style="color: #000000;">&#123;</span>
txtSongProgress<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">text</span> = <span style="color: #990000;">&quot;song progress: &quot;</span> <span style="color: #000066; font-weight: bold;">+</span> e<span style="color: #000066; font-weight: bold;">.</span>songprogress<span style="color: #000066; font-weight: bold;">;</span>
<span style="color: #000000;">&#125;</span>
<span style="color: #339966; font-weight: bold;">function</span> loadprogressHandler<span style="color: #000000;">&#40;</span>e<span style="color: #000066; font-weight: bold;">:</span>PlayerEvent<span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">:</span><span style="color: #0033ff; font-weight: bold;">void</span><span style="color: #000000;">&#123;</span>
txtLoadProgress<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">text</span> = <span style="color: #990000;">&quot;load progress: &quot;</span> <span style="color: #000066; font-weight: bold;">+</span> e<span style="color: #000066; font-weight: bold;">.</span>loadprogress<span style="color: #000066; font-weight: bold;">;</span>
<span style="color: #000000;">&#125;</span>
&nbsp;
<span style="color: #339966; font-weight: bold;">function</span> infoHandler<span style="color: #000000;">&#40;</span>e<span style="color: #000066; font-weight: bold;">:</span>PlayerEvent<span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">:</span><span style="color: #0033ff; font-weight: bold;">void</span><span style="color: #000000;">&#123;</span>
txtTrackInfo<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">text</span> = myPlayer<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">artist</span><span style="color: #000066; font-weight: bold;">;</span>
txtTrackInfo<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">appendText</span><span style="color: #000000;">&#40;</span><span style="color: #990000;">&quot; - &quot;</span> <span style="color: #000066; font-weight: bold;">+</span> myPlayer<span style="color: #000066; font-weight: bold;">.</span>trackName<span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>
txtTrackInfo<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">appendText</span><span style="color: #000000;">&#40;</span><span style="color: #990000;">&quot; (&quot;</span> <span style="color: #000066; font-weight: bold;">+</span>myPlayer<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">album</span><span style="color: #000066; font-weight: bold;">+</span><span style="color: #990000;">&quot;)&quot;</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>
txtTrackInfo<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">appendText</span><span style="color: #000000;">&#40;</span><span style="color: #990000;">&quot; | &quot;</span> <span style="color: #000066; font-weight: bold;">+</span> myPlayer<span style="color: #000066; font-weight: bold;">.</span>trackDuration<span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>
<span style="color: #000000;">&#125;</span></pre></div></div>

<p>In het bovenstaande voorbeeld is ook de <em>ID3SourceEnabled</em> gebruikt: deze boolean laat je kiezen of je de ID3tag van je MP3 bestanden wilt gebruiken als bron voor de artist, album en trackName eigenschappen. Als je deze waarde op <em>true</em> zet wordt de <em>artist</em>, <em>album</em> en <em>title</em> tag uit je XML bestand genegeerd, en kun je je XML bestand dus gewoon korter maken. Zet je dit op <em>false</em> wordt je XML bestand als bron van deze eigenschappen gebruikt. Dus als je ID3tags niet naar behoren zijn ingevuld is dit een secundaire oplossing.</p>
<p>Ook de XML heeft een kleine wijziging ondergaan: Er is een nieuwe tag bijgekomen (totalTime): de totale tijd (in seconden) die het betreffende liedje duurt. Dus in geval van een track van 3 minuten en 28 seconden komt dat op 208 (3*60+28) uit. Deze waarde moet handmatig ingegeven worden. Het kan ook via ID3tag maar is precies omslachtig&#8230; Als iemand de gouden tip heeft is dit welkom.</p>
<h3>Download:</h3>
<p style="padding: 10px 10px 10px 20px; background-color: #dfffff">De huidige versie kun je <a href="http://nocreativity.com/MusicPlayer/MusicPlayer_1.0_Beta_1.zip"title="Download de zip met de class bestanden" >hier</a> downloaden.<br />
Een voorbeeld hoe de XML er moet uitzien staat <a href="http://nocreativity.com/MusicPlayer/playlist.xml"title="Bekijk een voorbeeld van de playlist.xml" >hier</a>.<br />
Een voorbeeld kun je <a href="http://nocreativity.com/MusicPlayer/voorbeeld.zip"title="Download een voorbeeld van het gebruik van de MusicPlayer class" >hier</a> downloaden.<br />
De documentatie heb ik nog niet geupdate, maar dat komt er zo snel mogelijk aan.</p>
<p><img src="http://creativecommons.nl/wp-content/themes/ccnl/img/licenses/BY-SA.png" border="0" alt="Naamsvermelding &amp; Gelijk delen" width="69" height="32" /> <span style="font-size: 10px">Ik release de MusicPlayer class en de PlayerEvent class onder de <a href="http://creativecommons.org/licenses/by-sa/3.0/nl/legalcode"title="Naams vermelding &amp; gelijk delen"  target="_blank">Creative Commons</a> license. Dat wil zeggen dat je alles in deze classes mag aanpassen zolang je er een verwijzing naar de originele auteur ( ik dus <img src='http://nocreativity.com/blog-engine/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> ) in laat staan, en je deze classes met dezelfde rechten verder verdeeld.</span></p>
]]></content:encoded>
			<wfw:commentRss>http://nocreativity.com/blog/open-source-mp3-player-class-musicplayer-beta-release/feed</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
	</channel>
</rss>

