plot_binary_template_chord_recognition

plot_binary_template_chord_recognition(wave_filename: str, anno_csv: str)

circle-info

Function description

To plot the binary chord recognition results of given input

circle-info

Parameter

wave_filename: the exact .wav filename to analyze

anno_csv: the segment annotation .csv

circle-info

Return

None

circle-info

Example

from audioviz import *
import librosa
import numpy as np
from audioviz import ChordAnalysis

y, sr = librosa.load('Mozart_Turkish_March.wav', duration = 45)
ChordAnalysis.plot_binary_template_chord_recognition('./Mozart_Turkish_March.wav', 'anno.csv')

Last updated