Metadata-Version: 2.4
Name: linux-midi-latch
Version: 1.0.0
Summary: MIDI note latch for Linux using mididings
Project-URL: Homepage, https://github.com/talwrii/linux-midi-latch
Project-URL: Repository, https://github.com/talwrii/linux-midi-latch
License: MIT
License-File: LICENSE
Keywords: latch,linux,midi,mididings,music
Classifier: Environment :: Console
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: POSIX :: Linux
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Multimedia :: Sound/Audio :: MIDI
Requires-Python: >=3.8
Requires-Dist: mido
Requires-Dist: python-rtmidi
Description-Content-Type: text/markdown

# 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](https://www.reddit.com/r/musicaltreadmilldesk/) for this. If you like this sort of tool you may well want to follow me there.

