iOS:音频:读取、处理、写入声音文件所需的代码+ MIDI 处理

发布于 2024-10-05 21:16:55 字数 1431 浏览 1 评论 0原文

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

世界等同你 2024-10-12 21:16:55

如果您仍在寻找解决方案,iOS5(终于!)包含了 Core Audio MusicPlayer。 - 它可以读取/写入 MIDI 文件、加载声音字体、使用多种选项播放 MIDI。

Mac MusicPlayer 开发人员参考

iOS MusicPlayer 开发人员参考

If you are still looking for a solution, iOS5 (finally!) includes the Core Audio MusicPlayer. - it can read/write midi files, load soundfonts, play back midi with a variety of option.

Mac MusicPlayer Developer Reference

iOS MusicPlayer Developer Reference

哑剧 2024-10-12 21:16:55

您可能可以仔细阅读 Stephan Bernsee 的示例代码,该代码附带他的免费 Dirac LE 时间拉伸库。它有两个类,EAFRead 和 EAFWrite,用于读取/转换/写入音频文件。您可以从 http://dirac.dspdimension.com 获取它。查看库附带的 mobile/iOS 文件夹。您可以简单地将对其库的调用替换为您想要的任何内容(例如采样率转换以转置声音,请查看 http://www .musicdsp.com 获取执行此操作的提示/代码)。

You could probably peruse Stephan Bernsee's example code that comes with his free Dirac LE time stretching library. It has two classes, EAFRead and EAFWrite that read/convert/write audio files. You can get it from http://dirac.dspdimension.com. Check out the mobile/iOS folder that comes with the library. You can simply replace the call to his library with anything you want (like sample rate conversion to transpose sound, check out http://www.musicdsp.com for hints/code that does this).

ゞ记忆︶ㄣ 2024-10-12 21:16:55

您可以在库乐队中创建所有和弦,然后从那里导出声音以在您的应用程序中使用。 (尽管您的应用程序会因所有数字化音频而变得更大。)

You could create all the chords in Garage Band and then export the sounds from there to be used in your app. (Although your app will be larger with all the digitized audio.)

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文