Source: https://ccrma.stanford.edu/~dattorro/phaserules.pdf