I think you have hit the internal upper limit on the number of Zones that can 
be generated for a single instrument (255).  Unrelated to the system issues.

Worth a radar if you can include in it the EXS instrument that causes this 
error.

-DS


> On Jul 20, 2017, at 3:21 AM, Ramon Poca Cos <[email protected]> wrote:
> 
> The -42 error is gone. Now I have missing notes and this error. Something 
> wrong with the EXS maybe?
> 
> Ulimit before 256
> Max allowed 9223372036854775807
> Ulimit after 10000
> 2017-07-20 12:17:47.520406+0200 AudioUnitSF2Crash[15937:8112071] 1404: 
> VoiceZone::GetControlDestination: invalid component ID: 0x50000100
> 2017-07-20 12:17:48.309886+0200 AudioUnitSF2Crash[15937:8112071] 1404: 
> VoiceZone::GetControlDestination: invalid component ID: 0x50000100
> 2017-07-20 12:17:48.495654+0200 AudioUnitSF2Crash[15937:8112071] 1404: 
> VoiceZone::GetControlDestination: invalid component ID: 0x50000100
> 
> 
> PS: Another option I looked into would be to use a consolidated .caf file 
> (what Garageband uses), but we haven’t found a way to make Logic generate 
> that, and the documentation and tooling for EXS and consolidated cafs is 
> nonexistant (though I think a consolidated caf is just a concatenation of 
> samples and EXS points at segments).
> 
> --
> Ramon Poca - [email protected] <mailto:[email protected]>
> 
> 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.
> 
> Encès 20 07 de 2017 a 9:38:51, Philippe Wicker ([email protected] 
> <mailto:[email protected]>) va escriure:
> 
>> This is how it can be done With MacOS: 
>> 
>> https://stackoverflow.com/questions/3166783/how-to-increase-the-limit-of-maximum-open-files-in-c-on-mac-os-x/3214064#3214064
>>  
>> <https://stackoverflow.com/questions/3166783/how-to-increase-the-limit-of-maximum-open-files-in-c-on-mac-os-x/3214064#3214064>
>>  
>> 
>> Maybe you can use the same APIs with iOS?
>> 
>>> On 20 Jul 2017, at 00:48, Paul Davis <[email protected] 
>>> <mailto:[email protected]>> wrote:
>>> 
>>> 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 protected] 
>>> <mailto:[email protected]>>  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 protected] 
>>>> <mailto:[email protected]>> 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 protected] <mailto:[email protected]>
>>>> 
>>>> 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 protected] 
>>>> <mailto:[email protected]> ) 
>>>> Help/Unsubscribe/Update your Subscription: 
>>>> https://lists.apple.com/mailman/options/coreaudio-api/douglas_scott%40apple.com
>>>>  
>>>> <https://lists.apple.com/mailman/options/coreaudio-api/douglas_scott%40apple.com>
>>>>  
>>>> 
>>>> This email sent to  [email protected] 
>>>> <mailto:[email protected]>
>>> 
>>>  ______________________________ _________________ 
>>> Do not post admin requests to the list. They will be ignored. 
>>> Coreaudio-api mailing list      ( [email protected] 
>>> <mailto:[email protected]> ) 
>>> Help/Unsubscribe/Update your Subscription: 
>>> https://lists.apple.com/mailman/options/coreaudio-api/paul%40linuxaudiosystems.com
>>>  
>>> <https://lists.apple.com/mailman/options/coreaudio-api/paul%40linuxaudiosystems.com>
>>>  
>>> 
>>> This email sent to   [email protected] 
>>> <mailto:[email protected]> 
>>> 
>>> 
>>> _______________________________________________ 
>>> Do not post admin requests to the list. They will be ignored. 
>>> Coreaudio-api mailing list      ( [email protected] 
>>> <mailto:[email protected]> ) 
>>> Help/Unsubscribe/Update your Subscription: 
>>> https://lists.apple.com/mailman/options/coreaudio-api/pwicker%40mac.com 
>>> <https://lists.apple.com/mailman/options/coreaudio-api/pwicker%40mac.com> 
>>> 
>>> This email sent to  [email protected] <mailto:[email protected]>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Coreaudio-api mailing list      ([email protected] 
> <mailto:[email protected]>)
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/coreaudio-api/douglas_scott%40apple.com
>  
> <https://lists.apple.com/mailman/options/coreaudio-api/douglas_scott%40apple.com>
> 
> This email sent to [email protected] <mailto:[email protected]>
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/coreaudio-api/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to