Skip to main content

Simple OS X CoreMIDI interface

Project description

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.

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.2.0.tar.gz (4.3 kB view details)

Uploaded Source

File details

Details for the file simplecoremidi-0.2.0.tar.gz.

File metadata

File hashes

Hashes for simplecoremidi-0.2.0.tar.gz
Algorithm Hash digest
SHA256 7a7e2c2bca3767b33c1db625c32aabc842579e90a20bcbddbe1119a32a4fb4b3
MD5 261c44697d2cc1739d721d32714e594d
BLAKE2b-256 e2e203e0dbed66c6b5dc0d8d27874816a699685d2d96ec71bf8920913f133f54

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page