/markov-music

Generating music using markov chains

Primary LanguagePython

markov-music

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.

Setup

pip install -r requirements.txt

Methodology

Click here for a reference on how MIDIs are encoded.

Refer to this article for more details on the implementation of the music generator.

Contributing

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.

Contributors

Alvin Lin (omgimanerd)