EasyMIDI
A simple, easy to use algorithmic composition MIDI creator for Python, based on midiutil.
Creating a MIDI file can be as simple as this:
from EasyMIDI import EasyMIDI,Track,Note,Chord,RomanChord
from random import choice
easyMIDI = EasyMIDI()
track1 = Track("acoustic grand pino") # oops
c = Note('C', octave = 5, duration = 1/4, volume = 100)
e = Note('E', 5)
g = Note('G', 5)
chord = Chord([c,e,g]) # a chord of notes C, E and G
track1.addNotes([c, e, g, chord])
# roman numeral chord, first inversion (defaults to key of C)
track1.addNotes(RomanChord('I*', octave = 5, duration = 1))
easyMIDI.addTrack(track1)
easyMIDI.writeMIDI("output.mid")
Installation
EasyMIDI is only compatible with Python3. If you have setuptools for Python 3, you can install the package by running python3 setup.py install (use sudo python3 setup.py install on Linux or python3 setup.py install –user). TODO PyPI - pip install support
Documentation
Documentation can be found here: http://easymidi.readthedocs.io
Metadata
Release files for EasyMIDI 1.0
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 |
|---|---|---|---|---|
| EasyMIDI-1.0.tar.gz | 24.0 kB | Without provenance | Details for EasyMIDI-1.0.tar.gz |
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| EasyMIDI-1.0-py3.4.egg | Legacy Egg format | - | - | Details for EasyMIDI-1.0-py3.4.egg |
| EasyMIDI-1.0-py3-none-any.whl | Python 3 | none | any | Details for EasyMIDI-1.0-py3-none-any.whl |
Total release size: 101.1 kB
Release files / EasyMIDI-1.0.tar.gz
| Download URL | EasyMIDI-1.0.tar.gz |
|---|---|
| Size | 24.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
65224211fefc9a06f8bc55009d47e22ddc6cebc1f23bcc0753025e772b098079
|
|
BLAKE2b-256 checksum How to use checksums |
37f47d5e23c6f034557d5ddccab5143240b24b77fc7a1785cd2e800b896bd82d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / EasyMIDI-1.0-py3.4.egg
| Download URL | EasyMIDI-1.0-py3.4.egg |
|---|---|
| Size | 50.9 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
5042e419d56d6edd40f82e3f1a5a74e2251737c3a120281cfa770611cef03df4
|
|
BLAKE2b-256 checksum How to use checksums |
68f8e19f81ef322d648d57be8a13107e003dd93a1a77709324faf02b245d314d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / EasyMIDI-1.0-py3-none-any.whl
| Download URL | EasyMIDI-1.0-py3-none-any.whl |
|---|---|
| Size | 26.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e944ec98d18d6265e9ef0ab26387eee7c386fcea5b78ab1341c97483e9ea0bde
|
|
BLAKE2b-256 checksum How to use checksums |
db763759a94c6cafb4d98b56b79b9e0718cb554ffa67a72b7d4255b31b7fc7b0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for EasyMIDI 1.0
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.