Composers of homophonic partsongs developed formulaic text-setting schemas that translated poetic meter into musical meter: line lengths determine phrase lengths, poetic accents establish musical accents, and poetic form controls cadences and formal boundaries. Consequently, text-setting establishes an increasingly deep mensural hierarchy. At the same time, schematic text-setting codifies an organizational framework that parallels the way the mind constructs musical meter. According to dynamic attending theory, listener attention peaks in response to environmental regularities; this theory suggests that regular metrical frameworks like those in homophonic partsongs facilitate tonal expectation by drawing listener attention toward metrically accented harmonic events. Regular text-setting contributes to musical meter in a period when mensural structures are giving way to metrical ones. A new metrical style and a new tonal language emerge in tandem in the early seventeenth century, and the balletto repertoire highlights the close relationship between these evolving musical systems.