Melody Harmony Rhythm
See Human hearing.
Equal temperment and just intonation:
https://www.youtube.com/watch?v=VRlp-OH0OEA
See also xenharmonic music..
https://musiclab.chromeexperiments.com/Technology
What is up with Noises? (The Science and Mathematics of Sound, Frequency, and Pitch)
In Pythagorean tuning, we build the notes via the two ratios 2:1 and 3:2 (or equivalently 2:1 and 3:1)
That is, we take ratios of the form , for integers and . How many notes fall inside an Octave as we do this? The power of just moves us between one octave and the next, so we can safely take all powers of , and just focus on what happens as we increase powers of . If we take the of the ratio, then the first octave lies between and . Ratios in the first octave will lie somewhere in between. We can find these by doing . It turns out that if we take , we get well-spaced notes, which is what led Pythagoras and all of western music to use these notes as our chromatic scale! The fundamental reason is that , so that after adding times we are close to an integer, and thus to a beggining of an octave, that is the base note. This is the approximate period. If it was 7/12 exactly, then we would have , which we can recast as , which will visit all points as and are Coprime, so that iterations are needed to come back; period of periodic orbit is . Therefore it can't visit the same point twice in these iterates, so that it visits points. But there are only integers here, so that it visits them all! This is fundamentally why it is so well spread out after twelve iterations.