I am using the SoundEngine sample code from Apple in the CrashLanding sample to play back multiple audio files. Using the sample caf files included with CrashLanding everything works fine but when I try and use my own samplesconverted to CAF using afconvert all I get is a stony silence ;)
Does anyone have settings for afconvert that wil...
Here's the command I'm typing in a Terminal window:
afconvert -f caff -d LEI16@44100 -c 1 buzzer.wav buzzer.caf
Error: ExtAudioFileOpenURL failed ('dta?')
Notice that buzzer.wav is my sound file.
What's wrong? How should I do the conversion?
...
I have a directory with about 50 wav files that I need to convert to caf, because AudioServicesCreateSystemSoundID() returns an error for some of them (but not all).
Here's an example of the command I've used successfully for a single file:
afconvert -f caff -d LEI16@44100 -c 1 whistle.wav whistle.caf
How do I do this quickly - not o...
On OS X I use this command to convert a sound file to CAFF for iPhone.
afconvert -f caff -d LEI16@44100 file.wav file.caf
I need to do the same on a Windows box.
Any clues?
I'd even settle for a Linux version.
...
Can you give me some information about using afconvert in iPhone to convert file formats?
Or let me know some links that give me basic information on afconvert. I want to know the commands used - what do -f, -d , -c etc. stands for in:
afconvert -f aac -d mp3 [input] [output]
Where do I mention the source data format, file format and...