
Markov Chains for Computer Music Generation
Author(s) -
Ilana L. Shapiro,
M. E. Huber
Publication year - 2021
Publication title -
journal of humanistic mathematics
Language(s) - English
Resource type - Journals
ISSN - 2159-8118
DOI - 10.5642/jhummath.202102.08
Subject(s) - markov chain , python (programming language) , computer science , dice , musical , computer music , speech recognition , programming language , visual arts , art , mathematics , machine learning , statistics
Random generation of music goes back at least to the 1700s with the introduction of Musical Dice Games. More recently, Markov chain models have been used as a way of extracting information from a piece of music and generating new music. We explain this approach and give Python code for using it to first draw out a model of the music and then create new music with that model.