/midi-to-noteblock

A CLI to convert midi files into world edit schematic files.

Primary LanguagePythonMIT LicenseMIT

Midi File to Minecraft Schematic

PyPI PyPI Wheel License

A CLI to convert midi files into world edit schematic files.

How to use

Install the CLI via pip

pip install midi-to-noteblock

Then run the CLI with the following command:

midi-to-noteblock example.mid # the midi file to convert

Available Options:

usage: midi-to-noteblock [-h] [-s SCHEMATIC_FILE] [-d SCHEMATIC_DIR] midi_file

Generate a schematic from a MIDI file

positional arguments:
  midi_file             The MIDI file to convert

options:
  -h, --help            show this help message and exit
  -s SCHEMATIC_FILE, --schematic-file SCHEMATIC_FILE
                        The name of the schematic to create
  -d SCHEMATIC_DIR, --schematic-dir SCHEMATIC_DIR
                        The directory to save the schematic to

Development

Clone the repo

git clone https://github.com/SushiWaUmai/midi-to-schematic.git
cd ./midi-to-schematic

Install all dependencies and run the python script

# use pip3 and python3 respectively
pip install -r requirements.txt

# Use -h for the help menu
python main.py -h

License

This project is licensed under the MIT license