Skip to main content

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

Installation

pip install simplecoremidi

Usage

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.

Notes

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

  • It is not configurable.

Release files for simplecoremidi 0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for simplecoremidi 0.3
File Size Uploaded
simplecoremidi-0.3.tar.gz 6.0 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for simplecoremidi 0.3
File Interpreter ABI Platform
simplecoremidi-0.3-cp33-cp33m-macosx_10_6_intel.whl CPython 3.3 CPython 3.3 pymalloc macOS 10.6+ Intel (x86-64, i386) Details
simplecoremidi-0.3-cp27-none-macosx_10_6_intel.whl CPython 2.7 none macOS 10.6+ Intel (x86-64, i386) Details

Total release size: 34.0 kB

Release files / simplecoremidi-0.3.tar.gz

Download URL simplecoremidi-0.3.tar.gz
Size 6.0 kB
Tags Source
SHA-256 checksum
How to use checksums
090713d30b79ae24de06b8c12e7857888ea33810aa2ea27afd3125fb4c10f426
BLAKE2b-256 checksum
How to use checksums
3c77865c0ae2ed09337aa8e9a5cf11f949202dfcb2a6b3a5dac0e74d8704aa03
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / simplecoremidi-0.3-cp33-cp33m-macosx_10_6_intel.whl

Download URL simplecoremidi-0.3-cp33-cp33m-macosx_10_6_intel.whl
Size 14.2 kB
Tags CPython 3.3 CPython 3.3 pymalloc macOS 10.6+ Intel (x86-64, i386)
SHA-256 checksum
How to use checksums
3d9be11bc5d0a9d4cbd4a7fe9520ccd84107c2865bfe9ef084ddeab90c428307
BLAKE2b-256 checksum
How to use checksums
133f8d738533261dcdea4253cffce28dbf3cbe07eb2cbc6a9a4709c49c13113a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / simplecoremidi-0.3-cp27-none-macosx_10_6_intel.whl

Download URL simplecoremidi-0.3-cp27-none-macosx_10_6_intel.whl
Size 13.8 kB
Tags CPython 2.7 macOS 10.6+ Intel (x86-64, i386)
SHA-256 checksum
How to use checksums
2de9f8b66af3744aee2f2e01e3a59a4bc8782d10ad2879c491c85b44a8ea1cfe
BLAKE2b-256 checksum
How to use checksums
6b1a58d7d52bdd200234440db7d752df40f913e28b7b2287751aa386d853014d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.3 This release

3 release files

0.2.2

1 release file

0.2.1

1 release file

0.2.0

1 release file

0.1.0

1 release file

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