• 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: Making a Looping App - direction?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Making a Looping App - direction?


  • Subject: Re: Making a Looping App - direction?
  • From: Jack Nutting <email@hidden>
  • Date: Thu, 25 Oct 2012 09:24:49 +0200

On Thu, Oct 25, 2012 at 1:42 AM, Aran Mulholland <email@hidden> wrote:
Were all the samples you were playing using FilePlayers PCM or did you
have multiple mp3/compressed streams playing at once.

Not compressed really, unless you count ima4. I first normalized all loops at 1-channel, 32-bit 44kHz, then converted them to caf format with ima4 which reduces them to about a quarter of their normal size. With ima4, you can have a huge number of FilePlayer objects streaming at once. At one point I think I had 54 of them going at once, which worked fine on a multi-core device but caused the graphics to halt about once a second on an iPhone 4 (the sound, however, kept going just fine).

--
// Jack Nutting
// email@hidden
// http://nuthole.com
// http://learncocoa.org
 _______________________________________________
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

References: 
 >Making a Looping App - direction? (From: Pier <email@hidden>)
 >Re: Making a Looping App - direction? (From: Jack Nutting <email@hidden>)
 >Re: Making a Looping App - direction? (From: Aran Mulholland <email@hidden>)

  • Prev by Date: Re: Making a Looping App - direction?
  • Next by Date: Re: Making a Looping App - direction?
  • Previous by thread: Re: Making a Looping App - direction?
  • Next by thread: Playing synchronized audio files loops on iOS
  • Index(es):
    • Date
    • Thread