public MFCC(int samplePerFrame, int samplingRate, int numCepstra) { this.samplePerFrame = samplePerFrame; this.samplingRate = samplingRate; this.numCepstra = numCepstra; upperFilterFreq = samplingRate / 2.0; fft = new FFT(); dct = new DCT(this.numCepstra, numMelFilters); }