Is anyone else having issues loading EXS24 instruments?
Once upon a time, it worked as the documentation suggested (https://developer.apple.com/library/mac/technotes/tn2283/_index.html#//apple_ref/doc/uid/DTS40011217-CH1-TNTAG7)...now I keep getting 'Failed to locate sample' errors. It always tries (and fails) to load the sample at the absolute path.
My paths are correct according to the documentation, and it's even failing loading the file from the original absolute path. As far as I can tell, this quit working when I switched from ios 8.2 -> 8.3
I filed a bug report in June of 2015, and two versions of ios have come out since then.
Is anyone else having this issue?
Thank you for the bug report number, I passed this on to Core Audio engineering and here's the reply going by the description in the bug. Note that the bug will likely be assigned back to you shortly.
The problem is that this path *(User name has been modified by me):
file:///Users/eljeffe/Music/Logic/deep1/Samples/midines-ios-test/'
…does not include any of the “magic path segments” described in the Tech Note:
"/Sounds/"
"/Sampler Files/"
"/Apple Loops/"
"/EXS Factory Samples/"
"/SoundFont Samples/"
Without one of these as part of the path to the sample(s), the system cannot convert the “/Users/“-based path into one that it can use to locate the samples inside your bundle.
Next, your samples will need to be placed in a subdirectory of your bundle which matches the “magic path segment”. So, for example, if you changed your sample URL to...
‘file:///Users/eljeffe/Music/Logic/deep1/Sounds/midines-ios-test/'
^^^^^^
...then you could install your sample files into your bundle directory in a subdirectory “./Sounds/midines-ios-test/“, and the system would map the above URL into this local one.