I am developing for the iPhone, and I am trying use IMA-ADPCM files in FMod, but I’m not sure what I am doing wrong. On the mac these files are called caf files, but when I try to load a caf file into the Fmod example called "soundmixing" I get the following error
FMOD error! (25) Unsupported file or audio format.
I read in another post that I should use Fmod Encoder to do the encoding to ADPCM. But I don’t know where to find or how to use the Fmod encoder.
Could someone please explain how to convert a wav to a IMA-ADPCM file using Fmod encoder?
- bradium asked 9 years ago
CAF (Core Audio Format) files on the Mac are not locked to a specific audio format, they support a range of different formats of which ADPCM is one. The error message you are getting is correct, we do not support CAF files.
When you want to use ADPCM with FMOD, we expect it in a WAV file, not CAF file. You can use any application you like that supports outputting ADPCM compress WAV files in this manner.
With regards to our encoder, we do support ADPCM compression via our FSB format. The usual method for creating these files is via FMOD Designer (if you are using the high level API) or FSBankEx (for the low level API). Unfortunately FSBankEx is not available on Mac as yet, so you would have to resort to using FSBankLib, which is our encoding API (which is used by FSBankEx).
If you look in "tools/fsbanklib" in the FMOD iPhone SDK directory, you will find "example.cpp", this shows how to use the lib to encode files. The advantage of this format is you can put several files into the one FSB which is designed for best access for games.
are there plans to support creating banks for iphone using the fsbankex tool?…
We build for multiple platforms and currently we are building data for the iphone on windows… rather than having every customer have to build their own fsbankexe from the fsbanklib it’d be "nice" if it was simply included in the pc tool… no?
- page44 answered 8 years ago
Please login first to submit.