pyampact.symbolicUtils.kernNRCHelper

pyampact.symbolicUtils.kernNRCHelper(nrc)[source]

Convert a music21 note, rest, or chord object to its corresponding kern token.

This method uses the _kernNoteHelper and _kernChordHelper methods to convert note and chord objects, respectively. Rest objects are converted directly in this method.

Parameters:

nrc – A music21 note, rest, or chord object to be converted into a kern token.

Returns:

A string representing the kern token.