Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Midi Support #32

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Add Midi Support #32

wants to merge 4 commits into from

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