Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Any good iPhone sound manager framework?

Tags:

iphone

I'm developing an iPhone game and currently using AVAudioPlayer for playing background music and sounds. From what I've been reading, I'm not sure if that's the best way, but other alternatives seem to be overly complex.

Is there any good open source framework that works on the iPhone and I can integrate? I only need to control the volume and trigger sounds based on different game events.

Clarification: AVAudioPlayer meets my needs for playing one sound, but I'd like a wrapper class where I can set up multiple sounds and have them play based on some key.

like image 949
pgb Avatar asked Apr 04 '09 17:04

pgb


2 Answers

It's not clear from your message whether AVAudioPlayer meets your needs. On the one hand you didn't mention any shortcomings you've encountered, but on the other hand your asking for alternatives suggests there are some.

If AVAudioPlayer does meet your needs, why make life difficult?

If AVAudioPlayer does not meet your needs, you need to explain what else you need before anyone can do anything but guess at what you're looking for.

like image 174
Tom Harrington Avatar answered Oct 20 '22 00:10

Tom Harrington


The sound engine that Apple includes in their moon lander sample code application allows for playing multiple sounds at a time and everything.

like image 20
Ed Marty Avatar answered Oct 20 '22 01:10

Ed Marty