Skip to main content

midi-exec

Run commands in response to midi keys being pressed. Works on linux with alsa or jack.

Implemented using mido. LLMs inform me that the re is a mido bridge on windows.

Ai-generated an unreviewed.

Installation

pipx install midi-exec

Usage

midi-exec --alsa config

config looks like

channel=0 note=22 ls
channel=0 cc=22 ls cc

You can then connect this up with e.g. aconnect

If you want to connect ot a specific device you can use

midi-exec --alsa config --connect name. You can list ports in alsa with aconnect -l. I don't know how to do things with jack - but mido gives jack to you for free.

This was written for background-music. A tool I use to play music. I use launchpad minis for buttons. This has a range of uses and these can be quite cheaply obtained.

I have written a number of midi tools available on pypi linux-midi-latch. I have a treadmil desk with musical instruments see r/musicaltreadmilldesk

I made a LFO based "modular synth" inspired synthesier in supercolider.

Metadata

Release files for midi-exec 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 midi-exec 0.1.0
File Size Uploaded Provenance Actions
midi_exec-0.1.0.tar.gz 4.7 kB Without provenance Details for midi_exec-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for midi-exec 0.1.0
File Interpreter ABI Platform Actions
midi_exec-0.1.0-py3-none-any.whl Python 3 none any Details for midi_exec-0.1.0-py3-none-any.whl

Total release size: 9.9 kB

Release files / midi_exec-0.1.0.tar.gz

Download URL midi_exec-0.1.0.tar.gz
Size 4.7 kB
Tags Source
SHA-256 checksum
How to use checksums
4fc6399dfb21d7df8f0a6ef63e9126ae3f3dd5137d53da606f16f414c4a1c9f3
BLAKE2b-256 checksum
How to use checksums
0204a4abda0098ff597bd54c2a268f4c071868df582507485f98a5393c7ff3d7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

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

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

Security for midi-exec 0.1.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

0.1.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