TITLE: Is there a branch of math studying music algorithms?
QUESTION [7 upvotes]: I have found 2-3 search engines for scientific studies, things like algorithms, thesis, piece of researches and stuff like that; I'm really surprised to see a lot of applications for the math algorithms but no music at all, and you know 1 of the first thing that they said about math is that it has a lot in common with the music especially since Pythagoras.
Anyone knows if everyone ever invented an algorithm for creating patterns of notes or similar studies ?

REPLY [5 votes]: "lot of applications for the math algorithms but no music at all..."
Agreed !
"Anyone knows if everyone ever invented an algorithm for creating patterns of notes or similar studies ?..."
Yes, as memsioned above 'Counterpoint'. I started the study from a book called Study of Counterpoint by Johann Joseph Fux (Translated by Alfred Mann)
Here is a simple test I made, that is based on those rules from Fux' 
(not fully implemented yet)
http://www.youtube.com/watch?v=6-GI0we1tBQ
OpusFlower DIY