Playing multiple MP3 songs simultaneously on iPhone
I would like to do a mixing table on iPhone. I have the different tracks of one song and I want to play them on iPhone simultaneously. These songs are MP3 files, 开发者_Go百科I want to be able to play up to 15 tracks simultaneously, and changing volume, muting some tracks, navigating in the total song, etc.
Apple MultichannelMixer example seems to do exactly what I want, but MP3 files need to be decompressed before being played. They seem to be decompressed to CAF files, and take a lot of space in memory (my songs can last up to 5 minutes).
I tried SpeakHere example too, and use AudioQueue. I tried it with playing 6 AudioQueues simultaneously. It seems to work on the simulator, but I don't know if it will work on the device, and if it can do what I want.
I don't know what is the best way to do this... Can anybody help me ?
look at here. Apple suggest this:
http://developer.apple.com/iphone/library/codinghowtos/AudioAndVideo/#PLAYBACK-PLAY_MULTIPLE_SOUNDS_SIMULTANEOUSLY
精彩评论