https://github.com/ugnmura/midi-to-noteblock
A CLI to convert midi files into world edit schematic files.
https://github.com/ugnmura/midi-to-noteblock
cli minecraft nbt noteblock python
Last synced: 6 months ago
JSON representation
A CLI to convert midi files into world edit schematic files.
- Host: GitHub
- URL: https://github.com/ugnmura/midi-to-noteblock
- Owner: ugnmura
- License: mit
- Created: 2022-05-28T21:27:48.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-06-07T21:08:39.000Z (about 4 years ago)
- Last Synced: 2025-08-18T15:51:31.732Z (10 months ago)
- Topics: cli, minecraft, nbt, noteblock, python
- Language: Python
- Homepage:
- Size: 20.5 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# Midi File to Minecraft Schematic
[](https://pypi.org/project/midi-to-noteblock/)
[](https://pypi.org/project/midi-to-noteblock/)
[](https://github.com/SushiWaUmai/midi-to-noteblock/blob/main/LICENSE)
A CLI to convert midi files into world edit schematic files.
## How to use
Install the CLI via [pip](https://pypi.org/project/midi-to-noteblock/)
```bash
pip install midi-to-noteblock
```
Then run the CLI with the following command:
```bash
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
```bash
git clone https://github.com/SushiWaUmai/midi-to-schematic.git
cd ./midi-to-schematic
```
Install all dependencies and run the python script
```bash
# 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](https://github.com/SushiWaUmai/midi-to-noteblock/blob/main/LICENSE)