pyampact.symbolic.functions
- pyampact.symbolic.functions(piece, snap_to=None, filler='forward', output='array')[source]
Get the harmonic function labels from a **function 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, .keys, .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().