pyampact.symbolic._keySignatures

pyampact.symbolic._keySignatures(piece, kern=True)[source]

Return a DataFrame of key signatures for each part in the score.

Parameters:

kern – Boolean, default True. If True, the key signatures are returned in the **kern format.

Returns:

A DataFrame where each column corresponds to a part in the score, and each row index is the offset of a key signature. The values are the key signatures.