【问题标题】:I can't import AudioKit or AudioKitPlaygrounds in swift Playground file我无法在 swift Playground 文件中导入 AudioKit 或 AudioKitPlaygrounds
【发布时间】:2020-02-16 03:02:43
【问题描述】:

AudioKit 初学者,我真的需要一些帮助!

我想在我的 Mac 上使用 Playground 以 swift 语言跟踪所选音频文件的频率和幅度。

我搜索了AudioKit在跟踪频率和幅度方面特别容易,但是在官网https://audiokit.io/downloads/下载AudioKit框架后,我不知道如何将框架添加到我的playground文件中,所以我可以在我的代码。

或者是否有其他方法可以跟踪Xcode Playground 中现有“mp3”文件的频率和幅度

我在网站上下载了 AudioKit Playgrounds 文件。 Xcode 在 AudioKit 团队创建的预编译 Playground 中仍然显示“no such module”。

感谢每一个答案!

【问题讨论】:

标签: swift swift-playground audiokit


【解决方案1】:

AudioKit 附带的 Playground 已设置为可与该框架一起使用。它应该像点击 build (cmd-b) 然后启动 Playground 一样简单。要么向 AudioKit 的 Playground 添​​加一个新页面,要么编辑一个现有页面以开始试验您自己的代码。相信我,这比从头开始要容易。

【讨论】:

  • 我从 AudioKit 网站下载了 AudioKit Playgrounds,但我的 Xcode 仍然无法识别该框架。看上面的截图?
  • 我在2020年也有同样的问题。下载了audiokit框架。
猜你喜欢
  • 1970-01-01
  • 2020-04-11
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2014-11-29
  • 2018-07-25
相关资源
最近更新 更多