Is there a branch of math studying music algorithms?

1k Views Asked by At

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 ?