mindspore.dataset.audio.create_dct
- mindspore.dataset.audio.create_dct(n_mfcc, n_mels, norm=NormMode.NONE)[source]
Create a DCT transformation matrix with shape (n_mels, n_mfcc), normalized depending on norm.
- Parameters
- Returns
numpy.ndarray, the transformation matrix, to be right-multiplied to row-wise data of size (n_mels, n_mfcc).
Examples
>>> from mindspore.dataset.audio import create_dct, NormMode >>> >>> dct = create_dct(100, 200, NormMode.NONE)