Package cepstrum

Class CepstrumDataBlock


public class CepstrumDataBlock extends FFTDataBlock
  • Constructor Details

    • CepstrumDataBlock

      public CepstrumDataBlock(String dataName, PamProcess parentProcess, int channelMap, int fftHop, int fftLength)
  • Method Details

    • getMaxDataValue

      public double getMaxDataValue()
      Description copied from class: DataBlock2D
      Get the maximum value which can occur in the data. e.g. sampleRate/2 for FFT data.
      Overrides:
      getMaxDataValue in class FFTDataBlock
      Returns:
      the data's maximum value
    • getScaleInfo

      public DataTypeInfo getScaleInfo()
      Description copied from class: DataBlock2D
      Get the scale units to display on axis, etc.
      Overrides:
      getScaleInfo in class FFTDataBlock
      Returns:
      data type information.
    • getDataGain

      public double getDataGain(int iChan)
      Override the normal FFTDataBlock getDataGain method here and just return 1. If we use the FFTDataBlock version without running the normal FFTDataBlock initialization routines, we will always get 0 gain.
      Overrides:
      getDataGain in class FFTDataBlock
      Parameters:
      iChan - channel number
      Returns:
      gain as a factor (to allow for negative gains)