.. automodule:: spafe.fbanks.bark_fbanks :members: :undoc-members: :show-inheritance:
Example:
import matplotlib.pyplot as plt
from spafe.fbanks import bark_fbanks
# compute fbanks
fbanks = bark_fbanks.bark_filter_banks(nfilts=24, nfft=512, fs=16000)
# plot fbanks
for i in range(len(fbanks)):
plt.plot(fbanks[i])
plt.ylim(0, 1.1)
plt.grid(True)
plt.ylabel(ylabel)
plt.xlabel(xlabel)
plt.show()