在任何语言中,用于音频和 MIDI 音乐应用程序开发的最佳 API 是什么?

发布于 2024-09-03 19:27:47 字数 1539 浏览 4 评论 0 原文

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

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

发布评论

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

评论(6

╰ゝ天使的微笑 2024-09-10 19:27:47

这可能是一种相当迂回的方法,但我很高兴能在 HTML5 中使用 MIDI。在 JS 中编写 MIDI 合成器可能相当简单,这要归功于 新的音频 API方式进入网络。由于它是在 Web 浏览器中,因此您可以在客户端上进行一些初步处理,然后在服务器上进行一些核心处理。

我还应该提到,HTML 是一种为此类应用程序创建 GUI 的出色语言,并且跨平台的优势是它为 Web 开发的事实所固有的。

It's probably a pretty roundabout way of doing it, but I'd be pretty excited to work with MIDI in HTML5. Writing a MIDI synth in JS would probably be rather trivial, thanks to the new audio APIs that are making their way onto the web. Since it's in a web browser, you can do some of the preliminary processing on the client and then do some of the hardcore processing on the server.

I should also mention that HTML is a great language to create a GUI for this sort of app, and the cross-platform benefits are inherent in the fact that it's made for the web.

眸中客 2024-09-10 19:27:47

虽然有点晚了,但 SuperCollider 和 cSound 非常值得一试。

This is a bit late, but SuperCollider and cSound would be well worth checking out.

零時差 2024-09-10 19:27:47

您可能想看看一些非常规的“语言”(嗯,数据流编程环境),例如:

我还对 Java 和 MIDI 进行了一些研究,并且玩得很开心。

You might want to look at some unconventional "languages" (well, dataflow programming environments) like:

I've also done some mucking about with Java and MIDI and had a good time with that.

陌上芳菲 2024-09-10 19:27:47

我个人从未使用过它,但有一种专门用于音乐的类 C 语言,称为 Chuck

I never used it personally tho, but there is a C-like language dedicated to music called Chuck.

烙印 2024-09-10 19:27:47

Ruby 工作得非常好,正如在 Sonic Pi 上看到的那样。

Ruby works very well, as seen on the Sonic Pi.

ヅ她的身影、若隐若现 2024-09-10 19:27:47

W3C 在 网络音频 API 上有一些可靠的规范。它是一个功能强大的 API,可以让您合成、编辑和分析声音。您还可以通过 arrayBuffers 导入音频。它还具有非常强大的支持

The W3C has some solid specs on the web audio API. It's a powerful api that can allow you to synthesize, edit, and analyze sound. You can also import audio via arrayBuffers. It also has very strong support.

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