从命令行控制 AudioUnits?

发布于 2024-10-08 22:10:30 字数 571 浏览 0 评论 0原文

是否有任何软件可以提供命令行(或其他脚本)实用程序来修改 AudioUnit 参数?

用例是这样的:

  1. 默认(内置)输入
  2. 附加更好的增益控制 AudioUnit(默认的 OS-X 增益 控制不充分)
  3. 附加 LR 平衡控制(或 “pan”)
  4. 传递(链接)到默认值 输出又名 LineIn.app
  5. AudioUnit 2) 的脚本控制。 对于 0-100% 的音量控制 输入音频。以 1/16 增量 (6.5%) 就像主卷一样 操作系统-X。
  6. AudioUnit的脚本控制3) 用于 LR 平衡(声像)控制。

对我来说,问题出在步骤 5 和 6。

步骤 1) 到 4) 可以在 AudioHijackPro 中以图形方式充分实现。可以在其中创建直通和音频单元。它还配备了一个非常好的增益控制旋钮/旋钮。然而,所有这些效果都是通过 GUI 界面专门设置的。

拼命寻找一个命令行工具(或“音频单元主机”),它可以设置参数值并使用设置参数 C api 函数将它们发送到这些音频单元。

Mac 上现有的工具是否提供此类功能?

Is there any software for the make which offers command line (or other scripting) utility to modify AudioUnit parameters?

The use case is this:

  1. Default (Built-In) input
  2. Attach better Gain Control
    AudioUnit (the default OS-X gain
    control is inadequate)
  3. Attach L-R balance control (or
    "pan")
  4. Pass-through (link) to Default
    Output a.k.a. LineIn.app
  5. Script control of AudioUnit 2).
    For a 0-100% volume control of the
    input audio. In 1/16 increments
    (6.5%) just like the main volume in
    OS-X.
  6. Script control of AudioUnit 3)
    for L-R balance (pan) control.

The problem here for me is at steps 5 and 6.

Steps 1) through to 4) can be adequately achieved graphically in AudioHijackPro. The pass-through, and audio units can be created in there. It also comes with a really good gain control dial / knob. However all those effects are set exclusively through the GUI interface.

Desperately searching for a command-line tool (or "audiounit host") which can set the parameters values and send them to these audio units with the set parameter C api function(s).

Do any existing tools on the Mac offer this kind of functionality?

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

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

发布评论

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

评论(2

天冷不及心凉 2024-10-15 22:10:30

听起来你想要凯旋。它无法从命令行控制,但可以使用 Applescript。

It sounds like you want Triumph. It can't be controlled from the command line but it is Applescript-able.

笑梦风尘 2024-10-15 22:10:30

Spotify 的 Pedalbord 是一个可以应用 AU 插件的 Python 库:

https://github.com/spotify/pedalboard

使用 Fire,将任何 Python 脚本转换为 CLI 工具都很简单:

https://github.com/谷歌/python-fire

Spotify's Pedalbord is a Python library that can apply AU plugins:

https://github.com/spotify/pedalboard

With Fire, it's trivial to turn any Python script into a CLI tool:

https://github.com/google/python-fire

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