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: Fri, 09 Aug 2013 10:03:50 -0700
On Aug 8, 2013, at 10:35 PM, Hamish Moffatt <email@hidden> wrote:
> On Thu, Aug 08, 2013 at 10:39:54AM -0700, Douglas Scott wrote:
>> On Aug 7, 2013, at 11:53 PM, Hamish Moffatt <email@hidden> wrote:
>>> 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?
>
> AWave Studio, a Windows tool, was able to create a DLS or Mobile DLS
> sound bank with MP3 compression. (http://www.fmjsoft.com/awframe.html)
>
>> 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.
>
> I have sounds in SF2 format already which I would like to use, and I can
> convert to DLS or EXS24 format with the AWave tool. The DLS files
> produced by that tool work fine with the Sampler unit.
>
Can you verify whether these DLS files have compressed samples?
> So I'd like to convert my SF2 or DLS file into an AU Preset so I can
> compress the samples. Do you know of a tool that can do this?
>
> AU Lab reads my DLS file but it doesn't extract the samples to individual
> files when I save a preset file. It won't read my EXS24 file (but it
> appears to contain hard-coded paths which are not valid on my Mac).
>
Apple does not provide a tool for converting DLS samples into individual files, partially because of the legacy role of DLS as I explained, partially to avoid copyright infringements.
You can create an AU Preset instrument which refers to the samples in an external DLS file -- just create a DLS file which contains only the samples you want (plus a single instrument
which refers to them that you can use as your starting point). Then you can include that DLS file along with the .aupreset wherever you want to use it.
Many older EXS24 files contain nonexistent paths. Logic and GB have (I assume) special search systems to locate the samples when you load the instrument -- and sometimes it will even
ask you where they are located on your machine. AU Lab does not support that degree of "friendliness".
>
> 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