Source: https://music.arts.uci.edu/abauer/3.1/notes/11-JMT_49.2.pdf