1 import mir.ndslice : transposed;
2 import dspeech.plot : plotMatrix, docDir;
3 auto m = melMatrix!double(200, 40, 16000.0);
4 m.transposed.plotMatrix.save(
5 docDir ~ "dspeech.feature.mel.png",
6 cast(int) m.length!0 * 3, cast(int) m.length!1 * 9);
Computes Mel-scale filterbank matrix