pyampact.symbolic._priority

pyampact.symbolic._priority(piece)[source]

For .krn files, get the line numbers of the events in the piece, which music21 often calls “priority”. For other encoding formats return an empty dataframe.

Returns:

A DataFrame containing the priority values.