plmidi

A command line MIDI player.

Installation

Windows: With Scoop

First add my bucket to scoop:

scoop bucket add insomnia https://github.com/inssomnimus/scoop-bucket

Update scoop:

scoop update

Install the app:

scoop install plmidi

Download a pre-built release binary

Grab a binary for your platform from the releases page.

BYOB: Build Your Own Binary

Feature Flags

You can choose a different audio backend using one of the following feature flags:

You might want to build from source if, for example you wish to use the jack backend.

You need an up to date rust toolchain installed.

On *NIX systems, you also need alsa development libraries:

```sh

Debian and derivatives

apt install libasound2-dev

RHEL and derivatives

dnf install alsa-lib-devel ```

To use the jack backend, you also need jack development libraries:

```sh

Debian and derivatives

apt install libjack-jackd2-dev

RHEL and derivatives

dnf install jack-audio-connection-kit-devel ```

You can install from crates.io: cargo install plmidi --locked

Or, you can clone it:

```shell

to install after a git clone

git clone https://github.com/insomnimus/plmidi cd plmidi git checkout main cargo install --path . --locked

To use the jack backend:

cargo install --path . --locked --features=jack ```

Usage

``` plmidi [OPTIONS]

OPTIONS: -d, --device The index of the MIDI device that will be used for synthesis. [default: 0] -h, --help Print help information -l, --list List available MIDI output devices. -t, --transpose Transpose the track by n semitones. -v, --verbose Verbosity; specify twice for even more verbose output. -V, --version Print version information -x, --speed The playback rate, 1.0 = normal. [default: 1.0] ```