Skip to content

aleemzaki/Musical-Markov-Chains

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Musical-Markov-Chains

Collaborators

Aleem Zaki & Clarence Lam

Summary

Create your own sequence of sounds based on probabilities you decide!

Imagine selecting from a variety of instruments to make a personalized set of sounds. Now, if each sound had its own user-defined Markov Chain, then you could define the probabilites of what sound is to be played next based off of the Markov Chain of the sound that just played!

Well we have brought this idea to fruition with Musical Markov Chains!

Instructions

First, select your instruments:

Second, roll up your sleeves are start completing each sound's Markov Chain!

Make sure the Probabilities add up to 1! For this example, should the Acoustic Guitar's sound be played, there is a 60% chance that the Acoustic Guitar's sound will be played next (again) and 40% chance that the Electric Guitar's sound will be played next. If the Pr[acguitar to violin] (read "Probability of the violin's sound being played given that the Acoustic Guitar's sound has just been played") is nonzero, the Markov Chain becomes illegal (since a Markov Chain's probabilities should total 1)

(Also, note that after you have entered all of your probabilities on this screen, to confirm them you need to press/click on the rows to confirm and save your entries.)

When all the Markov Chains are complete, "Orchestrate" and enjoy the show!

The cool thing is: every time you press "Orchestrate", a new sequence is generated based on the transition probabilities; that is, a unique and different sequence will probably be generated every time!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages