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?
Not all wave (.wav) files are alike. Some are actually some unrecognized file format. What fixed it for me was to open the file in Audacity and then export the sound in wave format; then use afconvert.