Chord Analysis

compute_chromagram_from_file(fn_wav, Fs=22050, N=4096, H=2048, gamma=None, version='STFT', norm='2')

Compute chromagram for WAV file specified by filename

get_chord_labels(ext_minor='m', nonchord=False)

Generate chord labels for major and minor triads (and possibly nonchord label)

generate_chord_templates(nonchord=False)

Generate chord templates of major and minor triads (and possibly nonchord)

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

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

chord_decoder(wave_filename: str)

Decode the chord and write it to csv format

plot_chord_recongition(wave_filename: str, anno_csv: str)

To plot the chord recognition results of given input

plot_binary_template_chord_recognition

(wave_filename: str, anno_csv: str)

To plot the binary chord recognition results of given input

Last updated