从 Ruby 控制 VST 乐器

发布于 2024-09-12 00:29:40 字数 176 浏览 4 评论 0原文

我最近购买了一份 EZDrummer,这是一个充当虚拟鼓组的 VST 插件。我真的很想从 Ruby 代码中加入它,这样我就可以以编程方式创建循环和鼓模式。老实说,我什至不知道从哪里开始。大概我必须创建一个 VST 主机,它可以加载插件,然后以某种方式连接到它。我是一名 Ruby 开发人员,所以这就是我想要实现的语言。有正确方向的指示吗?

I've recently bought a copy of EZDrummer, a VST plugin that acts as a virtual drumkit. I'd really like to hook into it from Ruby code so that I can create loops and drum patterns programmatically. To be honest I am not sure even where to start. Presumably I have to create a VST host which can load the plugin and then hook into it somehow. I am a Ruby developer so that's the language I'd be looking to implement this in. Any pointers in the right direction?

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

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

发布评论

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

评论(1

人心善变 2024-09-19 00:29:40

既然您购买了 VST 插件,我假设您也有某种 DAW。在开始尝试在 ruby​​ 中托管 VST 之前,请尝试以下较小的项目:

  1. 从 ruby​​ 生成 MIDI 文件。加载
    将 MIDI 文件导入到您的 DAW 中,并且
    玩。
  2. 从您的 ruby​​ 流式传输实时 MIDI 数据
    处理您的 DAW。在 Windows 上,您
    可以用 ReWire 来做到这一点,在 OSX 上,你
    可以在Audio/中创建IAC总线
    MIDI 设置应用程序。

如果您需要对 EZDrummer 进行比这允许的更多直接控制,那么请尝试从 Ruby 内托管 VST。

Since you bought a VST plugin, I assume you have some sort of DAW as well. Before you start trying to host a VST from within ruby, try the following smaller projects:

  1. Generate a MIDI file from ruby. Load
    the MIDI file into your DAW, and
    play.
  2. Stream live MIDI data from your ruby
    process to your DAW. On Windows, you
    can do this with ReWire, on OSX, you
    can create an IAC bus in the Audio /
    MIDI setup app.

If you need more direct control of EZDrummer than this allows you, then go down the path of trying to host the VST from within Ruby.

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