audiokit - 基于 Audiokit 的应用程序无法处理一些流行的声音字体
问题描述
我正在尝试使用 AK sdk 构建钢琴应用程序。我注意到我的应用程序以及其他基于 AK 的应用程序无法处理一些流行的 sf2 文件,例如以下预设中的三角钢琴在非 AK 合成器应用程序中运行良好:http: //schristiancollins.com/soundfonts /GeneralUser_GS_1.44-SoftSynth.zip
可能是什么原因?
编码:
sampler = AKAppleSampler()
do {
try sampler.loadSoundFont("GeneralUser GS FluidSynth", preset: 0 , bank: 0)
sampler.amplitude = 20
AudioKit.output = sampler
try AudioKit.start()
} catch {
}
解决方案
推荐阅读
- c# - 有没有办法解决这个错误“无法为数据集'Dataset1'创建数据读取器
- reactjs - ReactJS + Rsuite 3 如何包含深色主题文件?
- webpack - 代码拆分在异步导入中无法正常工作
- xcode - 导航栏上的蓝牙工作和不工作
- swift - 调用 TableViewCell 中的函数后变量变为 nil
- android - 如何获得 Android 设备从 0 到 360 度的俯仰、偏航和滚动?
- plugins - 如何访问编组 iOS [Nativescript]
- g1ant - ie.waitforvalue 命令无法正常工作
- ios - 使用 Firebase async observeSingleEvent 方法的完成处理程序异步初始化类
- flask - 从 pymongo 游标中获取特定属性