This repository contains code that analyzes MIDI tracks and generates a markov chain based on the note sequences in the MIDI. Read the article here.
pip install -r requirements.txt
Click here for a reference on how MIDIs are encoded.
Refer to this article for more details on the implementation of the music generator.
Fork this repository and clone it to your own computer. Send me a pull request with interesting thoughts, ideas, or suggestions. Please follow the PEP8 standard if you are contributing to the codebase. Avoid pushing large MIDI files if possible.
Alvin Lin (omgimanerd)