Skip to content

Quick and dirty implementation of a computer-music generator using markov chains

Notifications You must be signed in to change notification settings

eourcs/markov-music

Repository files navigation

markov-music

Quick and dirty implementation of a computer-music generator using markov chains. The code was kept relatively clean and well-commented as to demonstrate the simplicity of markov-chains model. This is obviously a fairly shallow implementation, but can easily be built upon.

Amount of notes generated can be changed in main.py

Input: Trainer file in ABC notation or (step, beat) notation

Output: Computer-generated music

Using (Python Libraries):

Pysynth

TODO:

Generate midi files instead

Optimize random walk

About

Quick and dirty implementation of a computer-music generator using markov chains

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages