Re: DLS soundfont with compressed audio
Re: DLS soundfont with compressed audio
- Subject: Re: DLS soundfont with compressed audio
- From: Douglas Scott <email@hidden>
- Date: Thu, 08 Aug 2013 10:39:54 -0700
On Aug 7, 2013, at 11:53 PM, Hamish Moffatt <email@hidden> wrote:
> Hi,
>
> I am using a soundfont in my app by using the Sampler audio unit and loading the font using kAUSamplerProperty_LoadPresetFromBank. This works and I am able to load SF2 files and also DLS with PCM audio. This works on OSX and iOS.
>
> In order to keep my iOS app small I would like to use MP3 compression in the DLS file, but when I load these I get a divide by zero error inside the audio framework on OSX (and a similar error on iOS).
Because these formats are really only supported for legacy reasons, there is not support for embedded encoded WAV files.
What tool did you use to embed an MP3 file in a DLS file?
>
> Are there any soundfont formats with compressed audio supported?
There is only one SoundFont format specification AFAIK, and it has not been revised in years. DLS has been updated more recently, but is not really in active development.
If you create a native Sampler instrument using AU Lab, you can use any combination of encoded samples you wish (anything supported by the Audio Framework).
>
> Maybe EXS24 format can do it (requiring iOS 6) but how can I convert my SF2 or DLS file to that format?
Logic Pro has the ability to convert DLS instruments to EXS24. Not sure if it converts SF2 as well. I doubt it supports embedded encoded samples either, but give it a try.
>
> Thanks
>
> Hamish
> _______________________________________________
> 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