This is correct. there is quite complicated math behind that.
Tangent: Given your expertise, do you think it would be theoretically possible to write a program that attempts to detects the '1' beat in Latin/Afro-Cuban music, using your techniques, live, in real-time? Maybe using clave detection. Thanks in advance.
There is some literature out there on real-time beat following but the precision is poor so far