Can refer to both a measuring tool and a musical term.
El compaso del tambor marcó el ritmo de la canción perfectamente.
The drum's compass marked the rhythm of the song perfectly.
El compaso del tambor marcaba el ritmo que todos debían seguir durante el desfile.
The drum's compass marked the rhythm that everyone had to follow during the parade.