pyampact.symbolic._measures
- pyampact.symbolic._measures(piece, compact=False)[source]
Return a DataFrame of the measure starting points.
- Parameters:
compact – Boolean, default False. If True, the method will keep chords unified rather then expanding them into separate columns.
- Returns:
A DataFrame where each column corresponds to a part in the score, and each row index is the offset of a measure start. The values are the measure numbers.