Portmidi
OCaml bindings to libportmidi, a cross-platform MIDI library
Install / Use
/learn @mbacarella/PortmidiREADME
This is an OCaml package that provides bindings to the portmidi library.
It uses the excellent ctypes library to generate the C-stubs which should help minimize the bugspace.
Installing
opam install portmidi
Status
Open/read/write works. Reading sysex messages is untested so far.
Upstream C library
The upstream C library is at https://github.com/rbdannenberg/portmidi though your distribution may ship an older version. In the future, this project will likely vendor the C library.
Related Skills
node-connect
339.1kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
83.8kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
339.1kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
83.8kCommit, push, and open a PR
