# SSM\_Novelty

> SSM\_Novelty(wav\_filename:str, anno\_csv: str)

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

To show the preview of self-similarity matrix calculated by Novelty function

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

wav\_filename: .wav filename&#x20;

anno\_csv: segmentation .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 StructureAnalysis

y, sr = librosa.load('Mozart_Turkish_March.wav', duration = 45)
StructureAnalysis.SSM_Novelty('./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%2F1u9rYb9DQaftovJvJ06U%2Fimage.png?alt=media&#x26;token=c63a3ec3-c1e5-49fb-a431-a725163fc4d1" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3500702469-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fh9wXRXdIQoYFVdZ0YFUo%2Fuploads%2FHhOJMOz8RGm1jfuVEIjo%2Fimage.png?alt=media&#x26;token=49a52635-d8c6-468f-80c0-2e37f3f41a8f" alt=""><figcaption></figcaption></figure>
