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.
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.
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
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file simplecoremidi-0.3.tar.gz.
File metadata
- Download URL: simplecoremidi-0.3.tar.gz
- Upload date:
- Size: 6.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
090713d30b79ae24de06b8c12e7857888ea33810aa2ea27afd3125fb4c10f426
|
|
| MD5 |
c98c7efcd7fee7157640c9bcd8618ce1
|
|
| BLAKE2b-256 |
3c77865c0ae2ed09337aa8e9a5cf11f949202dfcb2a6b3a5dac0e74d8704aa03
|
File details
Details for the file simplecoremidi-0.3-cp33-cp33m-macosx_10_6_intel.whl.
File metadata
- Download URL: simplecoremidi-0.3-cp33-cp33m-macosx_10_6_intel.whl
- Upload date:
- Size: 14.2 kB
- Tags: CPython 3.3m, macOS 10.6+ Intel (x86-64, i386)
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3d9be11bc5d0a9d4cbd4a7fe9520ccd84107c2865bfe9ef084ddeab90c428307
|
|
| MD5 |
6ecd7319fb0950c87d498e23b554e7c7
|
|
| BLAKE2b-256 |
133f8d738533261dcdea4253cffce28dbf3cbe07eb2cbc6a9a4709c49c13113a
|
File details
Details for the file simplecoremidi-0.3-cp27-none-macosx_10_6_intel.whl.
File metadata
- Download URL: simplecoremidi-0.3-cp27-none-macosx_10_6_intel.whl
- Upload date:
- Size: 13.8 kB
- Tags: CPython 2.7, macOS 10.6+ Intel (x86-64, i386)
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2de9f8b66af3744aee2f2e01e3a59a4bc8782d10ad2879c491c85b44a8ea1cfe
|
|
| MD5 |
1bfc5a5fd587821cbbb0657bac56435c
|
|
| BLAKE2b-256 |
6b1a58d7d52bdd200234440db7d752df40f913e28b7b2287751aa386d853014d
|