public class KaldiDiscreteCosineTransform extends DiscreteCosineTransform
cepstrumSize, melcosine, numberMelFilters, PROP_CEPSTRUM_LENGTH, PROP_NUMBER_FILTERS
logger
Constructor and Description |
---|
KaldiDiscreteCosineTransform() |
KaldiDiscreteCosineTransform(int numberMelFilters,
int cepstrumSize) |
Modifier and Type | Method and Description |
---|---|
protected double[] |
applyMelCosine(double[] melspectrum)
Apply the MelCosine filter to the given melspectrum.
|
protected void |
computeMelCosine()
Compute the MelCosine filter bank.
|
getData, initialize, newProperties
getPredecessor, setPredecessor
getName, initLogger, toString
public KaldiDiscreteCosineTransform(int numberMelFilters, int cepstrumSize)
public KaldiDiscreteCosineTransform()
protected void computeMelCosine()
DiscreteCosineTransform
computeMelCosine
in class DiscreteCosineTransform
protected double[] applyMelCosine(double[] melspectrum)
DiscreteCosineTransform
applyMelCosine
in class DiscreteCosineTransform
melspectrum
- the MelSpectrum data