When I do the music, I make the musicians listen to what's happening in the film. That way they treat the dialogue as if it was a singer.
Music rhythms are mathematical patterns. When you hear a song and your body starts moving with it, your body is doing math. The kids in their parents' garage practicing to be a band may not realize it, but they're also practicing math.

