• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Playing multiple MP3 songs simultaneously on iPhone
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Playing multiple MP3 songs simultaneously on iPhone


  • Subject: Re: Playing multiple MP3 songs simultaneously on iPhone
  • From: Steven Winston <email@hidden>
  • Date: Tue, 9 Feb 2010 19:09:04 -0800

Just for the sake of being pedantic:

You can use a grand total of 1 HW pathed MP3 at a time.  That is to say the HW supports having one and only one MP3 running through it at once.  You can use the software decoders as many as the system can support at a time without the limitation of the CPU running out of resources.  In practice on the iPhone I've gotten up to 5 simultanous decoding sessions to work where 1 is hardware the other 4 are software.
Something else that you *might* be able to do (I've not tested this), is to utilize 1 MP3 HW decoder and 1 other HW decoder that isn't for MP3 at the same time.  So for example you might have one AAC and one MP3 HW decoders at the same time.

Thanks,
Steve

On Tue, Feb 9, 2010 at 6:09 PM, William Stewart <email@hidden> wrote:
audio queue is fine.

it will use a software MP3 decoder (see various documentation on that). If you can use AAC it is better (the decoder is more efficient than MP3, and you can also make the files smaller for the same quality)


On Feb 9, 2010, at 6:44 AM, Marion Di Giacomo wrote:

Hello !

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, 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 ?

sui
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Playing multiple MP3 songs simultaneously on iPhone
      • From: William Stewart <email@hidden>
References: 
 >Playing multiple MP3 songs simultaneously on iPhone (From: Marion Di Giacomo <email@hidden>)
 >Re: Playing multiple MP3 songs simultaneously on iPhone (From: William Stewart <email@hidden>)

  • Prev by Date: Re: Playing multiple MP3 songs simultaneously on iPhone
  • Next by Date: Re: Playing multiple MP3 songs simultaneously on iPhone
  • Previous by thread: Re: Playing multiple MP3 songs simultaneously on iPhone
  • Next by thread: Re: Playing multiple MP3 songs simultaneously on iPhone
  • Index(es):
    • Date
    • Thread