# plot\_binary\_template\_chord\_recognition

> plot\_binary\_template\_chord\_recognition(wave\_filename: str, anno\_csv: str)

{% hint style="info" %}
Function description
{% endhint %}

To plot the binary chord recognition results of given input

{% hint style="info" %}
Parameter
{% endhint %}

wave\_filename: the exact .wav filename to analyze&#x20;

anno\_csv: the segment annotation .csv

{% hint style="info" %}
Return
{% endhint %}

None

{% hint style="info" %}
Example
{% endhint %}

```python
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')
```

<figure><img src="https://3500702469-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fh9wXRXdIQoYFVdZ0YFUo%2Fuploads%2FZ0tf2vjNWG8kHtBY5F0H%2Fimage.png?alt=media&#x26;token=f41f95a2-e441-4061-80af-0ee2edbf413a" alt=""><figcaption></figcaption></figure>
