You may be interested in:
https://en.wikipedia.org/wiki/Just_intonation
https://en.wikipedia.org/wiki/Comma_pump