A Python port and library-fication of the midicsv tool

py_midicsv

A Python library inspired by the midicsv tool created by John Walker. Its main purpose is to bidirectionally convert between the binary MIDI format and a human-readable interpretation of the contained data in text format, expressed as CSV. If you found this library, you probably already know why you need it.

Installation

py_midicsv can be installed via pip:

$ pip install py_midicsv

Alternatively you can build the package by cloning this repository and installing via poetry:

$ git clone https://github.com/timwedde/py_midicsv.git
$ cd py_midicsv/
$ poetry install

Usage

As a Command Line Tool

Usage: midicsv [OPTIONS] INPUT_FILE OUTPUT_FILE

Convert MIDI files to CSV files.

midicsv reads a standard MIDI file and decodes it into a CSV file

 

 

 

To finish reading, please visit source site