Skip to content

Conversation

@zyugyzarc
Copy link

Turns pianoputer into a midi-output device, using mido.

The --midi flag enables/disables midi usage (audio output is turned off when using midi), and allows a midi port (or virtual midi device) to be specified. Uses a fixed note velocity of 100.

For mismatched midi-key-numbers, an optional MIDI_KEY_OFFSET environment variable is available (default: 37 works for the default keyboard layout), and mido settings can be configured through environment variables (see Mido - Environment Variables)

also fixes #31.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

pitch_shift() takes 1 positional argument but 2 positional arguments (and 1 keyword-only argument) were given

1 participant