Mathematical Concepts in Music: Scales, Harmony, and Ratios