Note Block Music
A downloadable tool
This simple generator written in python generates a simple 16 bar melody that is exported to Minecraft's .mcfunction language. This function file can be imported into a minecraft datapack and run to generate a series of note blocks that will play the generated melody.
Note: This project is very Work In Progress. The music that is generated may not sound very nice sometimes, and the rhythms can be quite strange at times. In addition, minecraft does not have a way to sustain notes to my knowledge, so whole and half notes come off as notes with pauses after them.
To use: Simply type "python generator.py" in a terminal in the project directory. It will output a mcfunction file that you can add to a minecraft datapack. Use the built-in function command in minecraft to generate the structure.
Leave a comment
Log in with itch.io to leave a comment.