<?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>bladamir &#187; wav</title>
	<atom:link href="http://www.bladamir.com/tag/wav/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.bladamir.com</link>
	<description>The Math Behind The Motion</description>
	<lastBuildDate>Wed, 25 Jan 2012 01:46:59 +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>looping sound files</title>
		<link>http://www.bladamir.com/2009/06/08/looping-sound-files/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=looping-sound-files</link>
		<comments>http://www.bladamir.com/2009/06/08/looping-sound-files/#comments</comments>
		<pubDate>Mon, 08 Jun 2009 18:44:03 +0000</pubDate>
		<dc:creator>Brad</dc:creator>
				<category><![CDATA[flash]]></category>
		<category><![CDATA[id3 tag]]></category>
		<category><![CDATA[looping]]></category>
		<category><![CDATA[mp3]]></category>
		<category><![CDATA[seamless]]></category>
		<category><![CDATA[sound]]></category>
		<category><![CDATA[wav]]></category>

		<guid isPermaLink="false">http://bladamir.com/?p=20</guid>
		<description><![CDATA[During the 2010 prius site development we came across an interesting sitch with sound files.  we wanted to seamlessly loop small sound files preferably as mp3s.  surprisingly, this is something that none of us ever had experience in doing, but we found some interesting stuff worth sharing since it seems relatively difficult to find answers [...]]]></description>
			<content:encoded><![CDATA[<p>During the 2010 prius site development we came across an interesting sitch with sound files.  we wanted to seamlessly loop small sound files preferably as mp3s.  surprisingly, this is something that none of us ever had experience in doing, but we found some interesting stuff worth sharing since it seems relatively difficult to find answers about.</p>
<p>what we were noticing was the playback of mp3s (or more specifically in our case, flvs with mp3 data embedded) had a some odd millisecond delay at the beginning and/or end of the duration no matter what we tried to do.</p>
<p>this was the breakthrough in our research: <a href="http://www.8bitrocket.com/newsdisplay.aspx?newspage=315">http://www.8bitrocket.com/newsdisplay.aspx?newspage=315</a></p>
<p>the key point to take note in this guy&#8217;s post is the id3 tag stuff. to confirm his findings, this is a display of the spectral frequency of the original uncompressed wav:</p>
<div id="attachment_21" class="wp-caption alignnone" style="width: 460px"><img class="size-medium wp-image-21" title="origwav" src="http://bladamir.com/wp-content/uploads/2009/06/origwav-450x149.jpg" alt="a wav file's spectral frequency" width="450" height="149" /><p class="wp-caption-text">a wav file&#39;s spectral frequency</p></div>
<p>and here is an mp3 compressed directly from the wav (made in soundbooth, also tried soundtrack and itunes/qt):</p>
<div id="attachment_22" class="wp-caption alignnone" style="width: 460px"><img class="size-medium wp-image-22" title="themp3" src="http://bladamir.com/wp-content/uploads/2009/06/themp3-450x147.jpg" alt="an mp3's spectral frequency display" width="450" height="147" /><p class="wp-caption-text">an mp3&#39;s spectral frequency display</p></div>
<p>i&#8217;m pretty sure the black margin at the beginning and end of this file is where the id3 information resides, which is what was giving us the resulting momentary blips of sound, killing our loop.</p>
<p>now, in our case, it made less sense to use the mp3 file format without wrapping it in a flv due to some architectural needs for certain events that flvs can deliver that mp3s cannot.  so rather than experimenting with the flv and seeking to a given frame since this solution would never provide for the level of precision we would need, we opt&#8217;d to utilize our asset swf and embed the the wav and convert it to mp3 within flash.  the conversion to mp3 within flash did not cause us the same problems as the directly loaded mp3 did.  this logically assumes that the flash-native mp3 compression tool does not include id3 tagging in the final output.  regardless, this resolved our looping problem.  yay!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bladamir.com/2009/06/08/looping-sound-files/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->
