• 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: EXS24/SF2 sample limits on iOS
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: EXS24/SF2 sample limits on iOS


  • Subject: Re: EXS24/SF2 sample limits on iOS
  • From: Paul Davis <email@hidden>
  • Date: Wed, 19 Jul 2017 18:48:54 -0400

On OSX/MacOS, the limit can be modified by an application subject to limits
set by the system administrator and hard limits in the kernel ((sometimes).
I have no idea if iOS exports the same API.

On Wed, Jul 19, 2017 at 2:14 PM, Douglas Scott <email@hidden>
wrote:

> The maximum number of open files is a iOS/Unix system limitation:
>
> MyIphone:~ mobile$ ulimit -n
> 256
>
> The library you are calling into cannot modify this system limit itself.
> I do not know if this can be modified by running apps or not.  You will
> need to trim down your sound bank files to less than 256 samples.
>
>
> Regarding memory limits, there is no way to know this - the amount depends
> on how much is already allocated by the total system.  iOS allocates memory
> up from the total memory pool available, until it can’t, and then it kills
> your app.  No API to know how much is left or whether you will hit the
> boundary.
>
> -DS
>
> On Jul 19, 2017, at 7:07 AM, Ramon Poca Cos <email@hidden> wrote:
>
> Hi there,
>
> I’ve been hitting different problems with AVAudioUnitSampler using both
> EXS24 and SF2 files.
> For EXS24 I’ve got a kAudio_TooManyFilesOpenError  due to the number of
> .wav files of the sample.
> For SF2 I submitted a radar about crashes but as I was using AudioKit and
> Apple won’t check it until I reproduce it with basic CoreAudio.
>
> So, is there any documentation at all about memory/file size/files open
> limits for AVAudioSampler? And related, what sample memory size can I use
> on, say, a basic iPhone 5S without running into trouble?
>
> --
> Ramon Poca - email@hidden
>
> *CONDUCTR by PTCHWRKS*
> *Made with ♥ in Barcelona*
> -------------------------
>
> Information in this email including any attachments may be privileged,
> confidential and is intended exclusively for the addressee. The views
> expressed may not be official policy, but the personal views of the
> originator. If you have received it in error, please notify the sender by
> return email and delete it from your system. You should not reproduce,
> distribute, store, retransmit, use or disclose its contents to anyone.
> Please note we reserve the right to monitor all email communication through
> our internal and external networks. Conductr and the Conductr logo are
> trade marks of PATCHWORKS makes tendertech S.L. registered in the EU, Spain
> and other countries.
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Coreaudio-api mailing list      (email@hidden)
> Help/Unsubscribe/Update your Subscription:
> email@hidden
>
> 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:
> email@hidden
>
> 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: EXS24/SF2 sample limits on iOS
      • From: Philippe Wicker <email@hidden>
References: 
 >EXS24/SF2 sample limits on iOS (From: Ramon Poca Cos <email@hidden>)
 >Re: EXS24/SF2 sample limits on iOS (From: Douglas Scott <email@hidden>)

  • Prev by Date: why is ExtAudioFileSetProperty raises c++ exception?
  • Next by Date: Re: EXS24/SF2 sample limits on iOS
  • Previous by thread: Re: EXS24/SF2 sample limits on iOS
  • Next by thread: Re: EXS24/SF2 sample limits on iOS
  • Index(es):
    • Date
    • Thread