Display WAV FBank Feature with Heatmap – Machine Learning

By | October 26, 2021

If you have got the wav fbank feature, you can see it using a heatmap. In this tutorial, we will introduce you how to do.

Preliminary

In order to get the wav fbank feature, you can read this tutorial:

Python Extract Audio Fbank Feature for Training – Python Tutorial

Display fbank feature using sns.heatmap()

We can use seaborn to display fbank feature. Here is an example:

import matplotlib.pyplot as plt
import seaborn as sns
ax = sns.heatmap(data=data.T)
plt.show()

Here data is the fbank feature of a audio file.

In order to know how to use sns.heatmap(), you can read:

Understand sns.heatmap() for Beginners – Seaborn Tutorial

You may see this heatmap as below:

Python Extract Audio Fbank Feature for Training - Python Tutorial

Leave a Reply