Skip to main content

Manipulate midi and create music with a simple and high level interface.

Project description

License: MIT https://img.shields.io/badge/pypi-0.1.1-blue Documentation Status

INFMIDI is a MIDI editing library written in Python,with a lot of advanced syntax to help you quickly edit and generate MIDI files. You can also use it to assist in arranging and composing music with code.

https://raw.githubusercontent.com/gongyibei/infmidi/master/assets/example.gif

Documentation

English | 中文文档 .

Features

  • Absolute time - Esaily insert note and event at any time point.

# Add C4 on beat 8.
clip += Note('C4', location=8)
  • Time slicing - Modify notes for a specific time period.

# Raise notes from beats 8 to 16 by 4 semitones.
clip[8:16] += 4
  • Generator - Functions to generate music clip quickly.

# Generate chord progression with sheet.
progression = sheet('C4:M7 A4:m9 | F4:M7 G4:7')
  • Effects - Functions to process MIDI.

# Add delay effect to clip.
delay(clip, n=3, length=0.5, decay=0.9)

Licence

MIT License © 2022 gongyibei.

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

infmidi-0.1.2.tar.gz (5.6 MB view details)

Uploaded Source

Built Distribution

infmidi-0.1.2-py3-none-any.whl (5.6 MB view details)

Uploaded Python 3

File details

Details for the file infmidi-0.1.2.tar.gz.

File metadata

  • Download URL: infmidi-0.1.2.tar.gz
  • Upload date:
  • Size: 5.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.12

File hashes

Hashes for infmidi-0.1.2.tar.gz
Algorithm Hash digest
SHA256 d9cf04b9c9c7cd4235e499446e68dc283259cca2127734fac1b6172afa88626c
MD5 4cdb3f4bd77f360bdfd0c3c9348a38ef
BLAKE2b-256 d5552c7d46235c4bd3c278cb6978391ebba68f9521ad0029755c47f57ded007f

See more details on using hashes here.

File details

Details for the file infmidi-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: infmidi-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 5.6 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.12

File hashes

Hashes for infmidi-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 fe3de9ed3176ec7e4f362ca332ccdca12374503db94af8e40c50639f30b05e1f
MD5 ff80e6b241436bc2a67d19c1b0924245
BLAKE2b-256 2dc60aa9fe1afc1dbc8e960d4f4ba453066a5cb3997bc61ee18d1f4e4e719b37

See more details on using hashes here.

Supported by

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