pyampact.symbolic.keys
- pyampact.symbolic.keys(piece, snap_to=None, filler='forward', output='array')[source]
Get the key signature portion of the **harm spine in a kern file if there is one and return it as an array or a time-aligned pandas Series. This is similar to the .harm, .functions, .chords, and .cdata methods. The default is for the results to be returned as a 1-d array, but you can set output=’series’ for a pandas series instead. If want to get the results of a different spine type (i.e. not one of the ones listed above), see
getSpines().See also