chord_recognition_template

chord_recognition_template(X, norm_sim='1', nonchord=False)

circle-info

Function description

Conducts template-based chord recognition with major and minor triads (and possibly nonchord)

Notebook: C5/C5S2_ChordRec_Templates.ipynb

circle-info

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)

circle-info

Return

chord_sim (np.ndarray): Chord similarity matrix

chord_max (np.ndarray): Binarized chord similarity matrix only containing maximizing chord

circle-info

Example

Inner helper function

Last updated