Skip to main content

more-midi-instruments

Support more instruments and more sensible instrumnets on a midi keyboard.

Midi keyboards often have a funciton to switch instrument. This is achieved by sending a program change event. However, the number of buttons is limited, the number of instruments large, and programs such as fluidsynth often map the instruments to a small subset of the possible timbres from musical instruments. moro-midi-instruments is a filter for a musical instrument for linux which gives you access to more and more natural instruments by choosing saner defauts and letting repeated presses of a particular instrument change button cycle through instruments.

Alternatives and prior work

This tool is implemented with the mido python library. You could use this to make a midi key do anything you can code.

Some keyboards have an instrument mapping funcitonality. I did not want to work out how to use this myself and this provides same defaults. Your sysnthesiser may also implement this mapping. DAWs tend to let you do arbitrary things with midi events and provide automapping functionality where you need only press a key to map it to something.

Caveat

Linux uses standard midi systems which can be programmatically controlled. On windows, there are not such systems and DAWs tend to handle their own midi, potentially using libraries - but not in a consistent way. This software only works for linux button supports, via mido, various systems. loopMIDI apparently lets you use mido with windows, I have not used it.

Installation

pipx install more-midi-instruments

Usage

I have only tested more-midi-instruments with alsa.

Run more-midi-instruments --alsa. Then use aconnect to route data through more-midi-instruments.

Metadata

Release files for more-midi-instruments 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for more-midi-instruments 0.1.0
File Size Uploaded
more_midi_instruments-0.1.0.tar.gz 3.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for more-midi-instruments 0.1.0
File Interpreter ABI Platform
more_midi_instruments-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 7.3 kB

Release files / more_midi_instruments-0.1.0.tar.gz

Download URL more_midi_instruments-0.1.0.tar.gz
Size 3.3 kB
Tags Source
SHA-256 checksum
How to use checksums
2e7e234325b78266f3639a6e239087a4d2d8fa453a33dbe031b72604c9e18d83
BLAKE2b-256 checksum
How to use checksums
389a632e3b528ff16fcf7e4d396741b0e4c8c5a52fff70723e28aa548ebb4f91
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Release files / more_midi_instruments-0.1.0-py3-none-any.whl

Download URL more_midi_instruments-0.1.0-py3-none-any.whl
Size 3.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7b0ea4f0cf1fa67749d2942ecfa67f78963f92b1fdc804714000bb82bf2719f7
BLAKE2b-256 checksum
How to use checksums
c019efd68c1920728e3c6a94734e26fc81daaa5fcb98012d2a39c9b96ce4be73
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page