What is the relationship between math and music?
I can read and write basic guitar tablature for hymns. Back in my college days, I took a course in Introductory Standard Music Notation. I got an A in the course at NYC Technical College. I do remember lots of fractions in the course as most notes are divided this way.
The standard piano scale uses the ratio of $\sqrt[{12}] 2$ for the frequencies between half steps. See:
https://en.wikipedia.org/wiki/Equal_temperament
for more about it.