As I understand, harmony in music can be achieved either through melody / chord — when the frequencies of the sounds are in phase sync or through the rhythmicality (the same rhythmical pattern that repeats itself).

Can we say in this case that harmony is when things repeat themselves, at least from the mathematical perspective?