Skip to main content

用于路由和监控 MIDI 端口的命令行实用程序。

项目描述

MIDI 消息路由工具

代码风格:黑色 派皮

midiroute是一个命令行实用程序,用于在计算机的输入和输出端口之间路由 MIDI 流。 midiroute可以将传入的 MIDI 流路由到多个输出端口。也可以在终端中监视流。

安装使用

安装

pip install midiroute

midiroute需要 Python 3.8.0 或更高版本。

用法

列出系统上可用的输入和输出端口:

midiroute list-ports

将消息从输入路由到启用监控的输出端口:

midiroute run -i "Oxygen 61 0" -o "Microsoft GS Wavetable Synth 0" -m

命令行选项

您可以通过运行列出命令行选项midiroute --help

Usage: midiroute [OPTIONS] COMMAND [ARGS]...

  CLI entry-point.

Options:
  --help  Show this message and exit.

Commands:
  list-ports  List available input and output ports.
  run         Run the MIDI router.

要获得特定命令的帮助,请运行midiroute <command> --help

$ midiroute run --help
Usage: midiroute run [OPTIONS]

  Run the MIDI router.

Options:
  -i, --input-port PORT_NAME    Select the input port.
  -o, --output-ports PORT_NAME  Select one or more output ports in a comma
                                separated list.
  -m, --monitor                 Enable monitoring of MIDI activity on the
                                selected ports.
  --help                        Show this message and exit.

执照

麻省理工学院

为中途做贡献

非常欢迎对该项目的贡献!

更多细节可以在CONTRIBUTING中找到。

项目详情


下载文件

下载适用于您平台的文件。如果您不确定要选择哪个,请了解有关安装包的更多信息。

源分布

midiroute-0.3.1.tar.gz (12.5 kB 查看哈希)

已上传 source

内置分布

midiroute-0.3.1-py3-none-any.whl (5.6 kB 查看哈希)

已上传 py3