<?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 for benbritten.com</title>
	<atom:link href="http://benbritten.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://benbritten.com</link>
	<description>Software should be simple.</description>
	<lastBuildDate>Mon, 30 Aug 2010 10:00:49 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Comment on openAL sound on the iPhone by iPhone Programming Part 4 : Audio &#124; Anima Entertainment GmbH</title>
		<link>http://benbritten.com/2008/11/06/openal-sound-on-the-iphone/comment-page-1/#comment-331</link>
		<dc:creator>iPhone Programming Part 4 : Audio &#124; Anima Entertainment GmbH</dc:creator>
		<pubDate>Mon, 30 Aug 2010 10:00:49 +0000</pubDate>
		<guid isPermaLink="false">http://benbritten.com/?p=216#comment-331</guid>
		<description>[...] basics you should know about. Hopefully with success.  First I have to say this article is based on this [...]</description>
		<content:encoded><![CDATA[<p>[...] basics you should know about. Hopefully with success.  First I have to say this article is based on this [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Fun with Unity by jpiphonedeveloper</title>
		<link>http://benbritten.com/2009/05/19/fun-with-unity/comment-page-1/#comment-330</link>
		<dc:creator>jpiphonedeveloper</dc:creator>
		<pubDate>Tue, 10 Aug 2010 13:27:24 +0000</pubDate>
		<guid isPermaLink="false">http://benbritten.com/?p=358#comment-330</guid>
		<description>Hi,

Is there any other samples Ripple mesh deformation using unity3d or iPhone variant.Sorry for asking like this.At this time i am looking same Water ripple effects using Unity 3d or iPhone[But above mentioned project is Mac version].If anybody having any samples or ideas please reply....


Thanks in Advance,</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Is there any other samples Ripple mesh deformation using unity3d or iPhone variant.Sorry for asking like this.At this time i am looking same Water ripple effects using Unity 3d or iPhone[But above mentioned project is Mac version].If anybody having any samples or ideas please reply&#8230;.</p>
<p>Thanks in Advance,</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on openAL sound on the iPhone by links for 2010-07-08 &#171; andrewskinner.name</title>
		<link>http://benbritten.com/2008/11/06/openal-sound-on-the-iphone/comment-page-1/#comment-329</link>
		<dc:creator>links for 2010-07-08 &#171; andrewskinner.name</dc:creator>
		<pubDate>Fri, 09 Jul 2010 01:02:44 +0000</pubDate>
		<guid isPermaLink="false">http://benbritten.com/?p=216#comment-329</guid>
		<description>[...] openAL sound on the iPhone &#124; benbritten.com Pow,pow,pow &#8211; zap, zap, zap!!! (tags: openal tutorial objective-c sound development audio) [...]</description>
		<content:encoded><![CDATA[<p>[...] openAL sound on the iPhone | benbritten.com Pow,pow,pow &#8211; zap, zap, zap!!! (tags: openal tutorial objective-c sound development audio) [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on openAL sound on the iPhone by iPhone Programming Part 4 : Constructor / Destructor &#124; Anima Entertainment GmbH</title>
		<link>http://benbritten.com/2008/11/06/openal-sound-on-the-iphone/comment-page-1/#comment-328</link>
		<dc:creator>iPhone Programming Part 4 : Constructor / Destructor &#124; Anima Entertainment GmbH</dc:creator>
		<pubDate>Tue, 29 Jun 2010 14:27:38 +0000</pubDate>
		<guid isPermaLink="false">http://benbritten.com/?p=216#comment-328</guid>
		<description>[...] I have to say that this article is based one this [...]</description>
		<content:encoded><![CDATA[<p>[...] I have to say that this article is based one this [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Streaming in OpenAL by Ben</title>
		<link>http://benbritten.com/2010/05/04/streaming-in-openal/comment-page-1/#comment-327</link>
		<dc:creator>Ben</dc:creator>
		<pubDate>Fri, 11 Jun 2010 10:22:10 +0000</pubDate>
		<guid isPermaLink="false">http://benbritten.com/?p=994#comment-327</guid>
		<description>Hey Phetsana,

in the not so distant past I would probably just tell you to totally avoid any sort of software decompression on the iphone since doing that generally totally screws your performance.  However, with the advent of the iPhone 4, we now have three very popular devices (ie 3gs,iPad,iphone4) that are probably more than capable of doing some real-time software decompression.

As for how you implement it:  it is exactly like doing it for uncompressed, only you have to uncompress the mp3 before playing :-)  Now decompressing mp3s(or aacs) is kinda a pain in the ass, you need to find a decent open source decompression lib, (or go with OGG/libogg/libvorbis they are fairly decent) and, if you are streaming then you need to decompress the file in small buffer-sized chunks, making the decompression that much more complicated....

you know what, I still stand by my original thought: just dont do it. (or just go get FMOD and forget OpenAL)

If you need to play long music files (which will generally be mp3 or aac or some other compressed format) then just play those through the hardware decompressor via the AudioToolkit.  

What I generally do is break my sounds up into two categories:  sounds that will be pretty small when uncompressed and sounds that will be fooking gargantuan when uncompressed.  The latter category gets converted to mp3 or mp4 and played back via audio toolkit, the uncompressed ones get played back via OpenAL.  (cuz OpenAL is soooo much more responsive)

If you absolutely must have streaming mp3s and you absolutely must have access to the buffer data for some reason, then you are stuck doing the long yards to implement a proper software decompression system.  (but I am lazy and would never do that, i would either change my requirements or get FMOD)

Cheers!
-B</description>
		<content:encoded><![CDATA[<p>Hey Phetsana,</p>
<p>in the not so distant past I would probably just tell you to totally avoid any sort of software decompression on the iphone since doing that generally totally screws your performance.  However, with the advent of the iPhone 4, we now have three very popular devices (ie 3gs,iPad,iphone4) that are probably more than capable of doing some real-time software decompression.</p>
<p>As for how you implement it:  it is exactly like doing it for uncompressed, only you have to uncompress the mp3 before playing :-)  Now decompressing mp3s(or aacs) is kinda a pain in the ass, you need to find a decent open source decompression lib, (or go with OGG/libogg/libvorbis they are fairly decent) and, if you are streaming then you need to decompress the file in small buffer-sized chunks, making the decompression that much more complicated&#8230;.</p>
<p>you know what, I still stand by my original thought: just dont do it. (or just go get FMOD and forget OpenAL)</p>
<p>If you need to play long music files (which will generally be mp3 or aac or some other compressed format) then just play those through the hardware decompressor via the AudioToolkit.  </p>
<p>What I generally do is break my sounds up into two categories:  sounds that will be pretty small when uncompressed and sounds that will be fooking gargantuan when uncompressed.  The latter category gets converted to mp3 or mp4 and played back via audio toolkit, the uncompressed ones get played back via OpenAL.  (cuz OpenAL is soooo much more responsive)</p>
<p>If you absolutely must have streaming mp3s and you absolutely must have access to the buffer data for some reason, then you are stuck doing the long yards to implement a proper software decompression system.  (but I am lazy and would never do that, i would either change my requirements or get FMOD)</p>
<p>Cheers!<br />
-B</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Streaming in OpenAL by phetsana</title>
		<link>http://benbritten.com/2010/05/04/streaming-in-openal/comment-page-1/#comment-326</link>
		<dc:creator>phetsana</dc:creator>
		<pubDate>Fri, 11 Jun 2010 08:57:55 +0000</pubDate>
		<guid isPermaLink="false">http://benbritten.com/?p=994#comment-326</guid>
		<description>Hi Ben,

Thank you for this very useful report on OpenAL streaming ;)

You use for your example uncompressed format but can you tell me if it is possible to use OpenAL streaming with compressed format like mp3 or aac in simply way ?

Thanks,

Phetsana.</description>
		<content:encoded><![CDATA[<p>Hi Ben,</p>
<p>Thank you for this very useful report on OpenAL streaming ;)</p>
<p>You use for your example uncompressed format but can you tell me if it is possible to use OpenAL streaming with compressed format like mp3 or aac in simply way ?</p>
<p>Thanks,</p>
<p>Phetsana.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Streaming in OpenAL by Ben</title>
		<link>http://benbritten.com/2010/05/04/streaming-in-openal/comment-page-1/#comment-325</link>
		<dc:creator>Ben</dc:creator>
		<pubDate>Wed, 09 Jun 2010 07:16:22 +0000</pubDate>
		<guid isPermaLink="false">http://benbritten.com/?p=994#comment-325</guid>
		<description>Hey Goat,

I guess it depends on what kinds of filters you want.  There are not many built-in AUs on the iphone and if you already know how to do the DSP enough to write your own AU, then you might as well just do it in OpenAL, it is much the same.  If the AU you want is already available, then it is may be worth the effort to just go to CoreAudio.  

Cheers!
-B</description>
		<content:encoded><![CDATA[<p>Hey Goat,</p>
<p>I guess it depends on what kinds of filters you want.  There are not many built-in AUs on the iphone and if you already know how to do the DSP enough to write your own AU, then you might as well just do it in OpenAL, it is much the same.  If the AU you want is already available, then it is may be worth the effort to just go to CoreAudio.  </p>
<p>Cheers!<br />
-B</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Streaming in OpenAL by goat</title>
		<link>http://benbritten.com/2010/05/04/streaming-in-openal/comment-page-1/#comment-324</link>
		<dc:creator>goat</dc:creator>
		<pubDate>Wed, 09 Jun 2010 07:04:05 +0000</pubDate>
		<guid isPermaLink="false">http://benbritten.com/?p=994#comment-324</guid>
		<description>Ugh. Sounds messy.  I have everything else set up how I want it, except for basic (real time changing) filtering.

I&#039;ve seen a lot of stuff around about using Audio Units for DSP.  I&#039;m not really interested in re-writing my sound engine to lower level code just to get a filter - but the filter is vital to my app.

Do you think I&#039;m better off re-writing the sound engine to use Audio Units (major pain) or just attempting to filter using OpenAl/buffers?

Thanks - Goat</description>
		<content:encoded><![CDATA[<p>Ugh. Sounds messy.  I have everything else set up how I want it, except for basic (real time changing) filtering.</p>
<p>I&#8217;ve seen a lot of stuff around about using Audio Units for DSP.  I&#8217;m not really interested in re-writing my sound engine to lower level code just to get a filter &#8211; but the filter is vital to my app.</p>
<p>Do you think I&#8217;m better off re-writing the sound engine to use Audio Units (major pain) or just attempting to filter using OpenAl/buffers?</p>
<p>Thanks &#8211; Goat</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Streaming in OpenAL by Ben</title>
		<link>http://benbritten.com/2010/05/04/streaming-in-openal/comment-page-1/#comment-323</link>
		<dc:creator>Ben</dc:creator>
		<pubDate>Wed, 09 Jun 2010 06:23:22 +0000</pubDate>
		<guid isPermaLink="false">http://benbritten.com/?p=994#comment-323</guid>
		<description>Hey Goat,

with OpenAl you are pretty much on your own as far as filtering goes.  You have to do all the bit twiddling yourself.
With the streaming buffers your best bet is to apply the filters as you load in the buffers (ie load a buffer, run your filter algo on it, queue it up, rinse repeat.) Many DSP filters rely on a window of data, so you may need to keep the previous and post buffers around just for data continuity etc.. 

if your filters are changing in near real time, then you will want to make your buffer size smaller so that you can be more responsive to the filter changes.  (but if you make them really small, then you may underrun, so you might need more buffers etc.. )

Good luck!

Cheers!
-B</description>
		<content:encoded><![CDATA[<p>Hey Goat,</p>
<p>with OpenAl you are pretty much on your own as far as filtering goes.  You have to do all the bit twiddling yourself.<br />
With the streaming buffers your best bet is to apply the filters as you load in the buffers (ie load a buffer, run your filter algo on it, queue it up, rinse repeat.) Many DSP filters rely on a window of data, so you may need to keep the previous and post buffers around just for data continuity etc.. </p>
<p>if your filters are changing in near real time, then you will want to make your buffer size smaller so that you can be more responsive to the filter changes.  (but if you make them really small, then you may underrun, so you might need more buffers etc.. )</p>
<p>Good luck!</p>
<p>Cheers!<br />
-B</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Streaming in OpenAL by goat</title>
		<link>http://benbritten.com/2010/05/04/streaming-in-openal/comment-page-1/#comment-322</link>
		<dc:creator>goat</dc:creator>
		<pubDate>Wed, 09 Jun 2010 06:16:46 +0000</pubDate>
		<guid isPermaLink="false">http://benbritten.com/?p=994#comment-322</guid>
		<description>Hi Ben,

I actually stopped being lazy and did exactly as you suggested and got everything running as I wanted.  Thanks for your excellent tutorials.

My next problem is applying some basic DSP (filters etc) to the stream.  Do you have any pointers on that?

Thanks again!</description>
		<content:encoded><![CDATA[<p>Hi Ben,</p>
<p>I actually stopped being lazy and did exactly as you suggested and got everything running as I wanted.  Thanks for your excellent tutorials.</p>
<p>My next problem is applying some basic DSP (filters etc) to the stream.  Do you have any pointers on that?</p>
<p>Thanks again!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
