<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Sound.extract() rocks!</title>
	<atom:link href="http://blog.joa-ebert.com/2008/05/21/soundextract-rocks/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.joa-ebert.com/2008/05/21/soundextract-rocks/</link>
	<description>Actionscript3, Flash, Scala, Java, C#, C++, Algorithms &#38; Imageprocessing</description>
	<lastBuildDate>Sun, 05 Feb 2012 21:26:20 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: djankey</title>
		<link>http://blog.joa-ebert.com/2008/05/21/soundextract-rocks/comment-page-1/#comment-272608</link>
		<dc:creator>djankey</dc:creator>
		<pubDate>Thu, 27 Oct 2011 22:58:50 +0000</pubDate>
		<guid isPermaLink="false">http://blog.je2050.de/?p=188#comment-272608</guid>
		<description>Hi,

please check this code: http://wonderfl.net/c/gyTW

Try to record more than 2-3 seconds and then listen saved mix. Mixed sound is distorted after couple of seconds of recording 
Wav encoder is working ok...
How to fix this?

Thanks in advance!</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>please check this code: <a href="http://wonderfl.net/c/gyTW" rel="nofollow">http://wonderfl.net/c/gyTW</a></p>
<p>Try to record more than 2-3 seconds and then listen saved mix. Mixed sound is distorted after couple of seconds of recording<br />
Wav encoder is working ok&#8230;<br />
How to fix this?</p>
<p>Thanks in advance!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt Ulrich</title>
		<link>http://blog.joa-ebert.com/2008/05/21/soundextract-rocks/comment-page-1/#comment-188716</link>
		<dc:creator>Matt Ulrich</dc:creator>
		<pubDate>Tue, 23 Mar 2010 07:22:00 +0000</pubDate>
		<guid isPermaLink="false">http://blog.je2050.de/?p=188#comment-188716</guid>
		<description>Joa,

I don`t know if you were refering to mp3s created within the Flash IDE, but if so, you were right!  Apparently Flash does add silence to mp3s as well!  It doesn`t show up if you loop a sound using sound.play(), but if you try and extract the sound into a byteArray, around 1000ms of silence is extrracted along with it.  To solve the problem, I just calculate the total number of samples when the sounds are first loaded, and then I use this number within the processSound() function to check if the extract position has exceeded (totalSamples - 2048).  If it has, I then execute the looping code.</description>
		<content:encoded><![CDATA[<p>Joa,</p>
<p>I don`t know if you were refering to mp3s created within the Flash IDE, but if so, you were right!  Apparently Flash does add silence to mp3s as well!  It doesn`t show up if you loop a sound using sound.play(), but if you try and extract the sound into a byteArray, around 1000ms of silence is extrracted along with it.  To solve the problem, I just calculate the total number of samples when the sounds are first loaded, and then I use this number within the processSound() function to check if the extract position has exceeded (totalSamples &#8211; 2048).  If it has, I then execute the looping code.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt Ulrich</title>
		<link>http://blog.joa-ebert.com/2008/05/21/soundextract-rocks/comment-page-1/#comment-188098</link>
		<dc:creator>Matt Ulrich</dc:creator>
		<pubDate>Mon, 15 Mar 2010 02:19:18 +0000</pubDate>
		<guid isPermaLink="false">http://blog.je2050.de/?p=188#comment-188098</guid>
		<description>Thanks for the reply Joa.

My sounds are .wav files that have been embedded in the library and converted to mp3s from within Flash.  Using your code on only one sound loops it perfectly with no gap.  It`s only when I try processing 10 at a time, in a for loop, that the gap starts showing up!

I can`t figure it out and it`s driving me crazy!  Increasing the &quot;buffer size&quot; doesn`t make a difference.  It has to be a small error on my side.  I can send/post the code - only if you have time, of course.</description>
		<content:encoded><![CDATA[<p>Thanks for the reply Joa.</p>
<p>My sounds are .wav files that have been embedded in the library and converted to mp3s from within Flash.  Using your code on only one sound loops it perfectly with no gap.  It`s only when I try processing 10 at a time, in a for loop, that the gap starts showing up!</p>
<p>I can`t figure it out and it`s driving me crazy!  Increasing the &#8220;buffer size&#8221; doesn`t make a difference.  It has to be a small error on my side.  I can send/post the code &#8211; only if you have time, of course.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: joa</title>
		<link>http://blog.joa-ebert.com/2008/05/21/soundextract-rocks/comment-page-1/#comment-188054</link>
		<dc:creator>joa</dc:creator>
		<pubDate>Sun, 14 Mar 2010 17:47:14 +0000</pubDate>
		<guid isPermaLink="false">http://blog.je2050.de/?p=188#comment-188054</guid>
		<description>MP3 files are not loopable by default. This is a problem of the format since a short amount of silence is added to the audio. If you want to have seamless loops you should take a look at Ogg/Vorbis or google for &quot;mp3 encoder delay&quot;.</description>
		<content:encoded><![CDATA[<p>MP3 files are not loopable by default. This is a problem of the format since a short amount of silence is added to the audio. If you want to have seamless loops you should take a look at Ogg/Vorbis or google for &#8220;mp3 encoder delay&#8221;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt Ulrich</title>
		<link>http://blog.joa-ebert.com/2008/05/21/soundextract-rocks/comment-page-1/#comment-188049</link>
		<dc:creator>Matt Ulrich</dc:creator>
		<pubDate>Sun, 14 Mar 2010 16:21:04 +0000</pubDate>
		<guid isPermaLink="false">http://blog.je2050.de/?p=188#comment-188049</guid>
		<description>Joa,

Thank you for this!

What I am particularly interested in is your looping code.  I am building a 10-channel mixer and am doing the mix-down processing in Pixel Bender.  Everything works great, but the full extent of the mp3 is not getting played because it is only playing TotalSamples/BufferSize and then looping back. I tried to implement your code, and it worked, however there is a short delay at the end of each loop.  This delay/skip is the same even if I increase the buffer size.  Is there anything I can do to improve it and remove the skip?

Thank you for any help you can give.  There aren`t many people doing this sort of thing with audio, so it can often be hard to find answers.  I`m just waiting for you and Andre to someday write a book on Flash audio programming!

Matt</description>
		<content:encoded><![CDATA[<p>Joa,</p>
<p>Thank you for this!</p>
<p>What I am particularly interested in is your looping code.  I am building a 10-channel mixer and am doing the mix-down processing in Pixel Bender.  Everything works great, but the full extent of the mp3 is not getting played because it is only playing TotalSamples/BufferSize and then looping back. I tried to implement your code, and it worked, however there is a short delay at the end of each loop.  This delay/skip is the same even if I increase the buffer size.  Is there anything I can do to improve it and remove the skip?</p>
<p>Thank you for any help you can give.  There aren`t many people doing this sort of thing with audio, so it can often be hard to find answers.  I`m just waiting for you and Andre to someday write a book on Flash audio programming!</p>
<p>Matt</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ramon Fritsch</title>
		<link>http://blog.joa-ebert.com/2008/05/21/soundextract-rocks/comment-page-1/#comment-173519</link>
		<dc:creator>Ramon Fritsch</dc:creator>
		<pubDate>Wed, 29 Jul 2009 13:01:49 +0000</pubDate>
		<guid isPermaLink="false">http://blog.je2050.de/?p=188#comment-173519</guid>
		<description>Yep! 

Its very very awesome :)</description>
		<content:encoded><![CDATA[<p>Yep! </p>
<p>Its very very awesome :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shui</title>
		<link>http://blog.joa-ebert.com/2008/05/21/soundextract-rocks/comment-page-1/#comment-164655</link>
		<dc:creator>Shui</dc:creator>
		<pubDate>Tue, 27 Jan 2009 12:36:57 +0000</pubDate>
		<guid isPermaLink="false">http://blog.je2050.de/?p=188#comment-164655</guid>
		<description>I can&#039;t hear a thing :&#124;</description>
		<content:encoded><![CDATA[<p>I can&#8217;t hear a thing :|</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: joa</title>
		<link>http://blog.joa-ebert.com/2008/05/21/soundextract-rocks/comment-page-1/#comment-113587</link>
		<dc:creator>joa</dc:creator>
		<pubDate>Wed, 28 May 2008 13:13:58 +0000</pubDate>
		<guid isPermaLink="false">http://blog.je2050.de/?p=188#comment-113587</guid>
		<description>Samples in the popforge library are represented using the Sample class. Therefore you have to read the floating point values and feed those into Sample objects. That&#039;s about it.</description>
		<content:encoded><![CDATA[<p>Samples in the popforge library are represented using the Sample class. Therefore you have to read the floating point values and feed those into Sample objects. That&#8217;s about it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: atom</title>
		<link>http://blog.joa-ebert.com/2008/05/21/soundextract-rocks/comment-page-1/#comment-112809</link>
		<dc:creator>atom</dc:creator>
		<pubDate>Mon, 26 May 2008 23:47:25 +0000</pubDate>
		<guid isPermaLink="false">http://blog.je2050.de/?p=188#comment-112809</guid>
		<description>hey joa,

You say &quot;I just had to convert the sample data into a format for popforge.&quot;

Any chance you could outline the steps?

tia,

atom</description>
		<content:encoded><![CDATA[<p>hey joa,</p>
<p>You say &#8220;I just had to convert the sample data into a format for popforge.&#8221;</p>
<p>Any chance you could outline the steps?</p>
<p>tia,</p>
<p>atom</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: {Code}Trip &#187; Astro - FileReference + Sound API</title>
		<link>http://blog.joa-ebert.com/2008/05/21/soundextract-rocks/comment-page-1/#comment-110632</link>
		<dc:creator>{Code}Trip &#187; Astro - FileReference + Sound API</dc:creator>
		<pubDate>Sat, 24 May 2008 03:48:19 +0000</pubDate>
		<guid isPermaLink="false">http://blog.je2050.de/?p=188#comment-110632</guid>
		<description>[...] Sound.extract() rocks!, por Joa Ebert [...]</description>
		<content:encoded><![CDATA[<p>[...] Sound.extract() rocks!, por Joa Ebert [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: spender</title>
		<link>http://blog.joa-ebert.com/2008/05/21/soundextract-rocks/comment-page-1/#comment-110256</link>
		<dc:creator>spender</dc:creator>
		<pubDate>Fri, 23 May 2008 19:48:57 +0000</pubDate>
		<guid isPermaLink="false">http://blog.je2050.de/?p=188#comment-110256</guid>
		<description>Hey Joa,

Take a look at our site now. :)</description>
		<content:encoded><![CDATA[<p>Hey Joa,</p>
<p>Take a look at our site now. :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: spender</title>
		<link>http://blog.joa-ebert.com/2008/05/21/soundextract-rocks/comment-page-1/#comment-110163</link>
		<dc:creator>spender</dc:creator>
		<pubDate>Fri, 23 May 2008 17:14:22 +0000</pubDate>
		<guid isPermaLink="false">http://blog.je2050.de/?p=188#comment-110163</guid>
		<description>Don&#039;t worry. I&#039;m on it!</description>
		<content:encoded><![CDATA[<p>Don&#8217;t worry. I&#8217;m on it!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: joa</title>
		<link>http://blog.joa-ebert.com/2008/05/21/soundextract-rocks/comment-page-1/#comment-110077</link>
		<dc:creator>joa</dc:creator>
		<pubDate>Fri, 23 May 2008 14:37:06 +0000</pubDate>
		<guid isPermaLink="false">http://blog.je2050.de/?p=188#comment-110077</guid>
		<description>Hey Spender,

that is pretty cool. Why are you not sharing your code? I think everyone would appreciate it.


Cheers</description>
		<content:encoded><![CDATA[<p>Hey Spender,</p>
<p>that is pretty cool. Why are you not sharing your code? I think everyone would appreciate it.</p>
<p>Cheers</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: spender</title>
		<link>http://blog.joa-ebert.com/2008/05/21/soundextract-rocks/comment-page-1/#comment-110045</link>
		<dc:creator>spender</dc:creator>
		<pubDate>Fri, 23 May 2008 13:28:40 +0000</pubDate>
		<guid isPermaLink="false">http://blog.je2050.de/?p=188#comment-110045</guid>
		<description>I&#039;ve cracked the mp3 FileReference loading. Take a look here:

http://www.flexiblefactory.co.uk/flexible/

Gimme a shout if you want more info...</description>
		<content:encoded><![CDATA[<p>I&#8217;ve cracked the mp3 FileReference loading. Take a look here:</p>
<p><a href="http://www.flexiblefactory.co.uk/flexible/" rel="nofollow">http://www.flexiblefactory.co.uk/flexible/</a></p>
<p>Gimme a shout if you want more info&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Richard</title>
		<link>http://blog.joa-ebert.com/2008/05/21/soundextract-rocks/comment-page-1/#comment-109187</link>
		<dc:creator>Richard</dc:creator>
		<pubDate>Thu, 22 May 2008 11:24:11 +0000</pubDate>
		<guid isPermaLink="false">http://blog.je2050.de/?p=188#comment-109187</guid>
		<description>Ok, AudioBuffer.as ist der Anfang.
Aber wie das Zusammenspiel zwischen AudioBuffer und Mod-Format funktioniert weiss ich noch nicht, da ich null Ahnung vom Mod-Format habe.

Gruß,
Richie</description>
		<content:encoded><![CDATA[<p>Ok, AudioBuffer.as ist der Anfang.<br />
Aber wie das Zusammenspiel zwischen AudioBuffer und Mod-Format funktioniert weiss ich noch nicht, da ich null Ahnung vom Mod-Format habe.</p>
<p>Gruß,<br />
Richie</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Richard</title>
		<link>http://blog.joa-ebert.com/2008/05/21/soundextract-rocks/comment-page-1/#comment-109043</link>
		<dc:creator>Richard</dc:creator>
		<pubDate>Thu, 22 May 2008 00:03:44 +0000</pubDate>
		<guid isPermaLink="false">http://blog.je2050.de/?p=188#comment-109043</guid>
		<description>Hallo Joa,
ich habe in den letzten Tagen mit 8bitboy rumgespielt und komme nun auf die Idee Geräusche damit zu machen.
Also anhand von kurzen Mods will ich kleine Geräusche durch Mausklicks abspielen.
Hab bis dahin auch alles hinbekommen, leider ist die Zeit zwischen Klick und Soundstart zu lang, dass&#039;s wiederum kein Spass mehr macht.
Wie kann ich meinen kleinen Mod in voller Länge vorher auf SWF drucken, so dass ich nachher einfach SWF.play() abspielen lassen kann?

Falls die Erklärung dazu zu lang wird, kannst du mir auch einfach die entsprechende Klasse/n oder Funktion/en nennen.

Vielen Dank und Lob fürs Engagement für die Community,
Richie</description>
		<content:encoded><![CDATA[<p>Hallo Joa,<br />
ich habe in den letzten Tagen mit 8bitboy rumgespielt und komme nun auf die Idee Geräusche damit zu machen.<br />
Also anhand von kurzen Mods will ich kleine Geräusche durch Mausklicks abspielen.<br />
Hab bis dahin auch alles hinbekommen, leider ist die Zeit zwischen Klick und Soundstart zu lang, dass&#8217;s wiederum kein Spass mehr macht.<br />
Wie kann ich meinen kleinen Mod in voller Länge vorher auf SWF drucken, so dass ich nachher einfach SWF.play() abspielen lassen kann?</p>
<p>Falls die Erklärung dazu zu lang wird, kannst du mir auch einfach die entsprechende Klasse/n oder Funktion/en nennen.</p>
<p>Vielen Dank und Lob fürs Engagement für die Community,<br />
Richie</p>
]]></content:encoded>
	</item>
</channel>
</rss>

