# static\_tempo\_estimation

> static\_tempo\_estimation(y: npt.ArrayLike, sr: int, hop\_length: int = 512)

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

To visualize the result of static tempo estimation

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

y: input signal array&#x20;

sr: sampling rate

hop\_length: hop size between frames

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

None

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

```python
from audioviz import *
import librosa
import numpy as np
from audioviz import BeatAnalysis

y, sr = librosa.load('Mozart_Turkish_March.wav', duration = 45)
BeatAnalysis.static_tempo_estimation(y = y, sr = sr)
```

<figure><img src="https://3500702469-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fh9wXRXdIQoYFVdZ0YFUo%2Fuploads%2F6i4CE8MxfKxGkGkkQBHe%2Fimage.png?alt=media&#x26;token=f33f6851-e926-4655-a378-98d00e8919a2" alt=""><figcaption></figcaption></figure>
