Librosa mel filter bank decreasing triangles
<p>I'm a bit stuck understanding MFCCs.</p>

<p>From what I have read the mel filter banks should be a series of triangles that get wider and their peaks are at the same place. Like this...</p>

<p><a href="https://i.stack.imgur.com/q6a7X.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/q6a7X.png" alt="enter image description here"></a></p>

<p>However when I compute the mel filter banks using librosa I get...</p>

<p><a href="https://i.stack.imgur.com/QbZMJ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/QbZMJ.png" alt="enter image description here"></a></p>

<p>Code:</p>

<pre><code>import librosa
import matplotlib.pyplot as plt

sr = 16000
mel_basis = librosa.filters.mel(sr=sr, n_fft=512, n_mels=10,fmin=0, fmax=sr / 2)
plt.plot(mel_basis)
</code></pre>