Simple CoreMIDI for Python
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.
Metadata
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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| simplecoremidi-0.3.tar.gz | 6.0 kB | Without provenance | Details for simplecoremidi-0.3.tar.gz |
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| 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 for simplecoremidi-0.3-cp33-cp33m-macosx_10_6_intel.whl |
| simplecoremidi-0.3-cp27-none-macosx_10_6_intel.whl | CPython 2.7 | none | macOS 10.6+ Intel (x86-64, i386) | Details for simplecoremidi-0.3-cp27-none-macosx_10_6_intel.whl |
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 |
Security for simplecoremidi 0.3
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.