determine beats