<?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: New Sound Manager Version</title>
	<atom:link href="http://www.71squared.com/2010/01/new-sound-manager-version/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.71squared.com/2010/01/new-sound-manager-version/</link>
	<description>iPhone Game Development - Web Development</description>
	<lastBuildDate>Wed, 28 Jul 2010 17:12:50 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: mike</title>
		<link>http://www.71squared.com/2010/01/new-sound-manager-version/comment-page-3/#comment-2505</link>
		<dc:creator>mike</dc:creator>
		<pubDate>Fri, 22 Jan 2010 14:21:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.71squared.com/?p=1124#comment-2505</guid>
		<description>Hi Jeff

It looks like you are loading a sound affect but then trying to play a music track.  They are two different things in the sound manager.  To play a sound affect you need to use playSoundWithKey rather than playMusicWithKey.

If that is not the problem let me know.

I am going to be posting a new version of the sound manager very soon which also has the memory leaks fixed as well.  So keep an eye out for that.

Mike</description>
		<content:encoded><![CDATA[<p>Hi Jeff</p>
<p>It looks like you are loading a sound affect but then trying to play a music track.  They are two different things in the sound manager.  To play a sound affect you need to use playSoundWithKey rather than playMusicWithKey.</p>
<p>If that is not the problem let me know.</p>
<p>I am going to be posting a new version of the sound manager very soon which also has the memory leaks fixed as well.  So keep an eye out for that.</p>
<p>Mike</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JeffHod</title>
		<link>http://www.71squared.com/2010/01/new-sound-manager-version/comment-page-3/#comment-2498</link>
		<dc:creator>JeffHod</dc:creator>
		<pubDate>Thu, 21 Jan 2010 16:56:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.71squared.com/?p=1124#comment-2498</guid>
		<description>Hey,

No my sound manager still isnt working. 

On init:
INFO - SoundManager: Loaded sound with key &#039;laser&#039; into buffer &#039;2416&#039;

On call:
ERROR - SoundManager: The music key &#039;laser&#039; could not be found

Can someone provide a complete implementation with some example code? Would be greatly appreciated.

Also its sooooo leaky!! Has anyone else found this?

Jeff</description>
		<content:encoded><![CDATA[<p>Hey,</p>
<p>No my sound manager still isnt working. </p>
<p>On init:<br />
INFO &#8211; SoundManager: Loaded sound with key &#8216;laser&#8217; into buffer &#8217;2416&#8242;</p>
<p>On call:<br />
ERROR &#8211; SoundManager: The music key &#8216;laser&#8217; could not be found</p>
<p>Can someone provide a complete implementation with some example code? Would be greatly appreciated.</p>
<p>Also its sooooo leaky!! Has anyone else found this?</p>
<p>Jeff</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: benoitr007</title>
		<link>http://www.71squared.com/2010/01/new-sound-manager-version/comment-page-3/#comment-2471</link>
		<dc:creator>benoitr007</dc:creator>
		<pubDate>Tue, 19 Jan 2010 16:56:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.71squared.com/?p=1124#comment-2471</guid>
		<description>Hi Paul,

Yes, I had performance issues with mp3&#039;s in Ambient audio. Only uncompressed caf&#039;s made the game run smoothly.</description>
		<content:encoded><![CDATA[<p>Hi Paul,</p>
<p>Yes, I had performance issues with mp3&#8242;s in Ambient audio. Only uncompressed caf&#8217;s made the game run smoothly.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: HK-Paul</title>
		<link>http://www.71squared.com/2010/01/new-sound-manager-version/comment-page-3/#comment-2468</link>
		<dc:creator>HK-Paul</dc:creator>
		<pubDate>Tue, 19 Jan 2010 08:30:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.71squared.com/?p=1124#comment-2468</guid>
		<description>Hi Mike,
I have some updates to the sound manager too - just wondering what&#039;s the best way I could share that - e.g stopSound/stopAllSounds/updateALSourcePosition.

Benoit - were you using CAF files for background music then? Is that because MP3 was being software decoded causing a performance issue? I&#039;ve been able to use MP3 with no issues with the latest sound manager that Mike posted (although I made some changes as I&#039;m working with C++ and needed the stopSounds functionality).
I also experienced some troubles getting some CAFF samples to play - having to re-record and convert some of them.. couldn&#039;t figure out what was the problem.

BTW, anybody, if the openAL on iPhone supports 32 sources, is that 32 stereo sources? or 32 mono sources? 
I&#039;ve been using stereo effects sounds and have been able to use the positioning functionality of openAl without issue.


Mike, finally, I would like to plug my new (and first ever) blog - www.2d-cubed.com (it&#039;s a bit basic - unfortunately I don&#039;t have a lot of time to make it prettier).
I&#039;m going to be talking about my iPhone game development there, and will be mentioning 71 Squared.com, as I&#039;ve gotten some excellent tips from here - thanks again.
I&#039;m hoping to release a game shortly I&#039;ll also be using my blog to post pictures / videos and info about that in the coming weeks.
I may also be seeking some beta testers for my game, especially anybody who is interested in reciprocal help of that nature from myself and also because I don&#039;t have a 3GS device - so don&#039;t know how it will perform on those.

Thanks,
Paul.</description>
		<content:encoded><![CDATA[<p>Hi Mike,<br />
I have some updates to the sound manager too &#8211; just wondering what&#8217;s the best way I could share that &#8211; e.g stopSound/stopAllSounds/updateALSourcePosition.</p>
<p>Benoit &#8211; were you using CAF files for background music then? Is that because MP3 was being software decoded causing a performance issue? I&#8217;ve been able to use MP3 with no issues with the latest sound manager that Mike posted (although I made some changes as I&#8217;m working with C++ and needed the stopSounds functionality).<br />
I also experienced some troubles getting some CAFF samples to play &#8211; having to re-record and convert some of them.. couldn&#8217;t figure out what was the problem.</p>
<p>BTW, anybody, if the openAL on iPhone supports 32 sources, is that 32 stereo sources? or 32 mono sources?<br />
I&#8217;ve been using stereo effects sounds and have been able to use the positioning functionality of openAl without issue.</p>
<p>Mike, finally, I would like to plug my new (and first ever) blog &#8211; <a href="http://www.2d-cubed.com" rel="nofollow">http://www.2d-cubed.com</a> (it&#8217;s a bit basic &#8211; unfortunately I don&#8217;t have a lot of time to make it prettier).<br />
I&#8217;m going to be talking about my iPhone game development there, and will be mentioning 71 Squared.com, as I&#8217;ve gotten some excellent tips from here &#8211; thanks again.<br />
I&#8217;m hoping to release a game shortly I&#8217;ll also be using my blog to post pictures / videos and info about that in the coming weeks.<br />
I may also be seeking some beta testers for my game, especially anybody who is interested in reciprocal help of that nature from myself and also because I don&#8217;t have a 3GS device &#8211; so don&#8217;t know how it will perform on those.</p>
<p>Thanks,<br />
Paul.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mike</title>
		<link>http://www.71squared.com/2010/01/new-sound-manager-version/comment-page-3/#comment-2463</link>
		<dc:creator>mike</dc:creator>
		<pubDate>Mon, 18 Jan 2010 23:04:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.71squared.com/?p=1124#comment-2463</guid>
		<description>Hi benoitr007

Your change sounds really good in identifying if the iPod is playing or not and setting the sound category as necessary.  I will have to look at adding that to my sound class.  I&#039;ve JUST started to use background sound that is MP3 and so change the sound category to SoloAmbient to get the performance I need.  It does make a difference using a compressed file for the music which is very useful.

Thanks for the feedback benoitr007.  That is going to be really useful for people.

Simon, sorry for missing your post.  I will be covering something like score on screen as soon as possbile.

Mike</description>
		<content:encoded><![CDATA[<p>Hi benoitr007</p>
<p>Your change sounds really good in identifying if the iPod is playing or not and setting the sound category as necessary.  I will have to look at adding that to my sound class.  I&#8217;ve JUST started to use background sound that is MP3 and so change the sound category to SoloAmbient to get the performance I need.  It does make a difference using a compressed file for the music which is very useful.</p>
<p>Thanks for the feedback benoitr007.  That is going to be really useful for people.</p>
<p>Simon, sorry for missing your post.  I will be covering something like score on screen as soon as possbile.</p>
<p>Mike</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: benoitr007</title>
		<link>http://www.71squared.com/2010/01/new-sound-manager-version/comment-page-3/#comment-2462</link>
		<dc:creator>benoitr007</dc:creator>
		<pubDate>Mon, 18 Jan 2010 22:12:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.71squared.com/?p=1124#comment-2462</guid>
		<description>Hey Mike,

I&#039;ve done some progress. First I have fixed all the problems I had with SoloAmbient sessions by modifying the sound manager class. It creates a SoloAmbient session unless the iPod is playing when the app is launched (in which case it creates an Ambient session and doesn&#039;t play my music). The music resumes just fine after unlocking the phone, and I have absolutely no lag problems. I recommend you this method because it permits the use of compressed MP3 files which are about 500% smaller than uncompressed CAF&#039;s!

Also I discovered that since you updated the sound manager class, Instruments reports &quot;AudioToolBox&quot; leaks on both the device and the simulator... Just wondering!

Thanks,

Benoit</description>
		<content:encoded><![CDATA[<p>Hey Mike,</p>
<p>I&#8217;ve done some progress. First I have fixed all the problems I had with SoloAmbient sessions by modifying the sound manager class. It creates a SoloAmbient session unless the iPod is playing when the app is launched (in which case it creates an Ambient session and doesn&#8217;t play my music). The music resumes just fine after unlocking the phone, and I have absolutely no lag problems. I recommend you this method because it permits the use of compressed MP3 files which are about 500% smaller than uncompressed CAF&#8217;s!</p>
<p>Also I discovered that since you updated the sound manager class, Instruments reports &#8220;AudioToolBox&#8221; leaks on both the device and the simulator&#8230; Just wondering!</p>
<p>Thanks,</p>
<p>Benoit</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mike</title>
		<link>http://www.71squared.com/2010/01/new-sound-manager-version/comment-page-3/#comment-2447</link>
		<dc:creator>mike</dc:creator>
		<pubDate>Fri, 15 Jan 2010 13:53:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.71squared.com/?p=1124#comment-2447</guid>
		<description>Hi guys

I have been away on business this week and just catching up on the comments.  I&#039;ll go through them later in detail and get some responses done.

Cheers

Mike</description>
		<content:encoded><![CDATA[<p>Hi guys</p>
<p>I have been away on business this week and just catching up on the comments.  I&#8217;ll go through them later in detail and get some responses done.</p>
<p>Cheers</p>
<p>Mike</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Benoit</title>
		<link>http://www.71squared.com/2010/01/new-sound-manager-version/comment-page-2/#comment-2444</link>
		<dc:creator>Benoit</dc:creator>
		<pubDate>Fri, 15 Jan 2010 03:08:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.71squared.com/?p=1124#comment-2444</guid>
		<description>JeffHod, I tried these files on my end. Using the new sound manager class on the device, mylaser.wav never plays, but laser.caf does. :S

Also, Mike, my CAF music is HUGE in terms of file size (approximately 15 MB). I&#039;m not sure this is good for my app, if you see what I mean. By chance, do you have any idea how I could make it smaller (maybe decrease the quality a bit, or another format) while keeping it quickly decodable? At the moment I&#039;m stuck between 2 options: make it small and have lag problems or all sorts of sound-related issues, or make it huge.

Thanks!</description>
		<content:encoded><![CDATA[<p>JeffHod, I tried these files on my end. Using the new sound manager class on the device, mylaser.wav never plays, but laser.caf does. :S</p>
<p>Also, Mike, my CAF music is HUGE in terms of file size (approximately 15 MB). I&#8217;m not sure this is good for my app, if you see what I mean. By chance, do you have any idea how I could make it smaller (maybe decrease the quality a bit, or another format) while keeping it quickly decodable? At the moment I&#8217;m stuck between 2 options: make it small and have lag problems or all sorts of sound-related issues, or make it huge.</p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JeffHod</title>
		<link>http://www.71squared.com/2010/01/new-sound-manager-version/comment-page-2/#comment-2441</link>
		<dc:creator>JeffHod</dc:creator>
		<pubDate>Wed, 13 Jan 2010 15:16:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.71squared.com/?p=1124#comment-2441</guid>
		<description>Hi Benoit, thanks for your reply, yeah i thought that might be it too, but was using the laser.caf and laser.wav files in Daves projects, which worked for him. Maybe try those files to see if they work for you.</description>
		<content:encoded><![CDATA[<p>Hi Benoit, thanks for your reply, yeah i thought that might be it too, but was using the laser.caf and laser.wav files in Daves projects, which worked for him. Maybe try those files to see if they work for you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Benoit</title>
		<link>http://www.71squared.com/2010/01/new-sound-manager-version/comment-page-2/#comment-2440</link>
		<dc:creator>Benoit</dc:creator>
		<pubDate>Wed, 13 Jan 2010 14:50:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.71squared.com/?p=1124#comment-2440</guid>
		<description>JeffHod, I too had some sounds that wouldn&#039;t play at all. I had to convert them multiple times to other formats, try different lengths and bitrates before it would finally work. Can you upload one of your FX and post the link here, I would check if it works in my game project and if it doesn&#039;t, convert it so it does.</description>
		<content:encoded><![CDATA[<p>JeffHod, I too had some sounds that wouldn&#8217;t play at all. I had to convert them multiple times to other formats, try different lengths and bitrates before it would finally work. Can you upload one of your FX and post the link here, I would check if it works in my game project and if it doesn&#8217;t, convert it so it does.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
