lesobrod ·
This little module produce very simple Artificial Intelligence model. Let you want to choose between two or more solutions, or "roll the dice". But you think that some solutions are more prefer, some not acceptable at all. Probabilities could be integer numbers, so for question "In what tonality I should modulate?" http://en.wikipedia.org/wiki/Closely_related_key we can have {30 20 10 5 0} for {vi IV V i vii}. (Or {100 10 3 2 1}, just what you think about it). So just put the numbers into "Probabilities" string and press "Choose". In "Ouput" string will appear index of solution (from "0", as index of array in SM). Indexes will be random for every pressing, but appear in correspondence with prob values. So for {30 20 10 5 0} index "4" never appear, "0" will appear very frequently etc.
I do it for my future "Random Music" project, but maybe it will be useful for some another crazy guys? (o__O)
It's easy to measure the speed of this AI. In "ThinkingTime" string appear total working time in ms. If someone try to decrease it I'll be very happy! 😀
P.S. Sometimes I think that most of our "key, significant etc." solutions comes in such primitive way, isn't it? 😈