gpt4 book ai didi

swift - 我无法在 swift Playground 文件中导入 AudioKit 或 AudioKitPlaygrounds

转载 作者:行者123 更新时间:2023-11-28 07:30:50 25 4
gpt4 key购买 nike

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

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

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

或者是否有另一种方法可以跟踪 Xcode Playground 中现有“mp3”文件的频率和振幅?

我在网站上下载了 AudioKit Playgrounds 文件。 Xcode 在 AudioKit 团队创建的预编译 Playground 中仍然显示“没有这样的模块”。 enter image description here

感谢每一个答案!

最佳答案

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

关于swift - 我无法在 swift Playground 文件中导入 AudioKit 或 AudioKitPlaygrounds,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/54748314/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com