Skip to content

Implementation of a Markov Chain in Go for music generation

Notifications You must be signed in to change notification settings

guitarkeegan/markov-01

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Markov Melody Generator

What is this?

This is an implementation of a Markov chain that has been trained on the first phrase of "St. Thomas".

Dependancies

You will need to have lilypond installed on your computer for the score output to work properly.

How to run

  1. Clone the project
  2. From the root go download
  3. Run the program go run ./cmd
  4. Optional - You can also pass a length to make the generated melody longer go run ./cmd -l 12

What else?

You can experiment with changing the training set in the cmd/training.go file.

TODOs

In no particular order

  • update int to float on note durations
  • get user input for title and composer

Contribute

If you'd like to work on the project with me, just send me an email.

About

Implementation of a Markov Chain in Go for music generation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published