【发布时间】:2014-01-30 21:48:17
【问题描述】:
按照 Apple 文档 here 我已经能够通过在我的应用程序目录中重新创建例如以下路径,成功地将 GarageBand EXS 采样器乐器加载到我的 iOS 应用程序中的 AUSampler:
/Sampler Files/Funk Horn Section/nameofaudio.aif
iOS 在以下目录中查找音频文件:
file:///Library/Application%20Support/GarageBand/Instrument%20Library/Sampler/Sampler%20Files/Funk%20Horn%20Section/'
但是,当我创建自己的 EXS 文件时,这不起作用。如果 GarageBand,它如何知道删除文件路径的第一部分?我什至尝试过创建我的 EXS 乐器,甚至在同一个 GarageBand 目录中创建,但没有区别:
Failed to locate sample '001%20VirusTI%20-%20SeaThr%2314A1B3.aif -- file:///macSSD/Library/Application%20Support/GarageBand/Instrument%20Library/Sampler/Sampler%20Files/VirusTI%20-%20SeaThreeHS%20v2/'
我也尝试使用文本编辑器手动编辑 exs 文件中的文件路径,但没有任何效果。
EXS 乐器在逻辑上表现良好。但我的应用找不到它。
非常感谢任何帮助。
【问题讨论】:
-
您是否尝试将其放入 app bundle 中?
标签: ios audio core-audio audiounit