使用afconvert将wav转换为适用于iPhone的caf的错误

时间:2022-06-15 19:37:41

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.

请注意,buzzer.wav是我的声音文件。

What's wrong? How should I do the conversion?

怎么了?我该如何进行转换?

1 个解决方案

#1


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.

并非所有wave(.wav)文件都相似。有些实际上是一些无法识别的文件格式。为我修复的是在Audacity中打开文件,然后以波形格式导出声音;然后使用afconvert。

#1


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.

并非所有wave(.wav)文件都相似。有些实际上是一些无法识别的文件格式。为我修复的是在Audacity中打开文件,然后以波形格式导出声音;然后使用afconvert。