chord_recognition_template
chord_recognition_template(X, norm_sim='1', nonchord=False)
Function description
Conducts template-based chord recognition with major and minor triads (and possibly nonchord)
Notebook: C5/C5S2_ChordRec_Templates.ipynb
Parameter
X (np.ndarray): Chromagram
norm_sim (str): Specifies norm used for normalizing chord similarity matrix (Default value = '1')
nonchord (bool): If "True" then add nonchord template (Default value = False)
Return
chord_sim (np.ndarray): Chord similarity matrix
chord_max (np.ndarray): Binarized chord similarity matrix only containing maximizing chord
Example
Inner helper function
Last updated