Modeling Beats, Accents, Beams, And Time Signatures Hierarchically With Music21 Meter Objects
Christopher Ariza, Michael Scott Cuthbert · University of Michigan Library Repository · 2010
The music21 TimeSignature object represents meters hierarchically, through independent display, beam, beat, and accent attributes capable of unlimited partitioning and nesting. This model, designed for applications in computer-aided musicology, accommodates any variety of compound, complex, or additive meters, can report beat position and accent levels, and can algorithmically perform multi-level beaming or various types of metrical analysis. As part of the music21 Python toolkit, the meter module can read input from Humdrum and MusicXML and output to MusicXML and Lilypond.