Skip to main content

linux midi latch

Implement latch functionality where each key acts as a toggle for a note for midi devices on linux. Optionally switch this functionality on and off with the systain pedal. Uses mido, only works on linux

Alternatives and prior work

Some hardware implements latching. Apparently Nord Lead A1, Sequential Prophet 6 and Novation Summit amongt others.

mido gives you complete control over what midi doers so you can do what you want if you are willing to put in the work - which has become fairly cheap with LLMs. Apparently, the VST Bidule has a midi latch feature as does VCV rack. These will work on windows. loopMIDI combined with mido apparently gives you programmatic contorl on windows. I have not tried most of thse things.

Installation

pipx install linux-midi-latch

Usage

linux-midi-latch --alsa

Use aconnect to route midi traffic through linux-midi-latch.

There are --jack and --osc options. I have not tested them nor do I know how to use them, but mididings works with jthem.

My setup

I am using this with an impact gxp6 nektar on Ubuntu LTS with a yamaha sustain pedel using alsa midi and fluidsynth.

About me

I am @readwith. I make tools for reading and agency and research - with and without Obsidian and AI. You can follow me https::/readwithai.substack.com/ and https://x.com/readwithai

I also mess around with music and fitness technology. I have a treadmill desk with a lot of musical instruments. See r/musicaltreadmilldesk for this. If you like this sort of tool you may well want to follow me there.

Metadata

Release files for linux-midi-latch 1.0.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 linux-midi-latch 1.0.0
File Size Uploaded Provenance Actions
linux_midi_latch-1.0.0.tar.gz 4.2 kB Without provenance Details for linux_midi_latch-1.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for linux-midi-latch 1.0.0
File Interpreter ABI Platform Actions
linux_midi_latch-1.0.0-py3-none-any.whl Python 3 none any Details for linux_midi_latch-1.0.0-py3-none-any.whl

Total release size: 8.9 kB

Release files / linux_midi_latch-1.0.0.tar.gz

Download URL linux_midi_latch-1.0.0.tar.gz
Size 4.2 kB
Tags Source
SHA-256 checksum
How to use checksums
f0147b18fada91781d93a02b853a2fd99066cd5bc2d52ccbea417d405a2f5f19
BLAKE2b-256 checksum
How to use checksums
05be26e23baaae1ea88c6656a078c367458936b0743befefaa115e24ca0b9e02
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Release files / linux_midi_latch-1.0.0-py3-none-any.whl

Download URL linux_midi_latch-1.0.0-py3-none-any.whl
Size 4.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
612f8e4ec9469f2f41301dcca1b8612c0f6ffc8997107c1678953a7bf55e34e5
BLAKE2b-256 checksum
How to use checksums
48f61a72ef18ca16af8e2de767631d9529848c2270136b53c9daafd1d812da82
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Security for linux-midi-latch 1.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files No provenance

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