Poetry Meter = Musical Meter?

I had to show this html / javascript file I created using Claude. You type in your lyrics and it gives you the accent marks of your text. I call it the Lyric Meter Analyzer project. Here is some background:

I asked the question: Is there a way to convert poetry meter to musical meter?

Yes, there’s a rich and well-established relationship between poetry meter and musical meter — they share deep historical roots (song and poetry were essentially the same thing in ancient Greece), and converting between them is very doable, though it involves some interpretation.

The core correspondence

Poetic meter is built on feet — patterns of stressed (/) and unstressed (u) syllables. Musical meter is built on beats — patterns of strong and weak pulses grouped into measures. The two map onto each other naturally:

  • A stressed syllable ≈ a strong beat (downbeat)
  • An unstressed syllable ≈ a weak beat (upbeat or offbeat)

Foot-to-time-signature conversions

The most common poetic feet translate fairly cleanly into musical equivalents:

Poetic FootStress PatternDescriptionMusical Time EquivalentRhythmic Feel
Iambu /Rising foot with stress on the second syllable2/4 or 6/8Pickup or anacrusis; forward‑leaning motion
Trochee/ uFalling foot with initial stress2/4Strong downbeat; march‑like
Dactyl/ u uOne stressed syllable followed by two unstressed3/4 or 6/8Waltz‑like, rolling
Anapestu u /Two unstressed syllables leading into stress6/8 or 12/8Galloping, lilting
Amphibrachu / uStress centered between two unstressed syllables3/4 (accent on beat 2)Balanced, floating
Spondee/ /Two equally stressed syllables2/2 (cut time)Heavy, emphatic
Mixed MeterVariesCombination of different poetic feetChanging or irregular metersShifting accents or time signatures
Pyrrhicu uTwo unstressed syllables; the “ghost” foot with no strong beat2/4 (all weak subdivisions)Light, fleeting, weightless
Cretic (Amphimacer)/ u /Stressed syllable flanking an unstressed one; stress bookends the foot3/4 (accents on beats 1 & 3)Assertive, outer-framed, declarative
Molossus/ / /Three consecutive stressed syllables; maximum weight and density3/2 (half-note pulse, all accented)Massive, ponderous, crushing
Choriamb/ u u /Four-syllable foot: trochee + iamb fused; stress frames two weak syllables4/4 or 12/8 compoundExpansive, arch-shaped, soaring
Ionic a minoreu u / /Two weak syllables build into two stressed ones; a rising surge used in Greek lyric poetry4/4 with delayed accent (beats 3 & 4 stressed)Building, surging, delayed arrival

Version two uses an external database, the CMU Pronouncing Dictionary , to make the stress markers more accurate. It has 134k entries! Just download the zip file and then open the html file in a browser. Can’t run it on this platform since it is a .js file. I have also included the “xsd” schema file and the xsl file for transformation if you have that capability.

ZIP DOWNLOAD