Skip to main content

Simple OS X CoreMIDI interface

Project description

Simple CoreMIDI for Python is the simplest way of using MIDI in Python on Mac OS X. Period.


pip install simplecoremidi


To send midi out from your application:

from simplecoremidi import send_midi
send_midi((0x90, 0x3c, 0x40))

This sends a MIDI Note On signal. To receive it you’ll have to configure your DAW or software to receive from the “simple core midi source” MIDI source.

To receive midi from another application:

from simplecoremidi import recv_midi
data = recv_midi()

This returns all the midi data sent to the “simple core midi destination” MIDI destination since your last call. Put it inside a loop and poll it.

Look at the example in the simplecoremidi/examples directory.


  • It only works on Macs. It will never work on Windows or Linux.
  • It is not configurable.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

simplecoremidi-0.3.tar.gz (6.0 kB view hashes)

Uploaded source

Built Distributions

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page