Package mel

Class MelDataBlock


public class MelDataBlock extends FFTDataBlock
  • Constructor Details

    • MelDataBlock

      public MelDataBlock(MelControl melControl, MelProcess parentProcess, int channelMap, int hop, int length)
  • Method Details

    • getHopSamples

      public int getHopSamples()
      Description copied from class: DataBlock2D
      Get the advance between slices in samples. For FFT data this is the same thing as the FFT Hop
      Overrides:
      getHopSamples in class FFTDataBlock
      Returns:
      advance in samples between slices.
    • getDataWidth

      public int getDataWidth(int sequenceNumber)
      Description copied from class: DataBlock2D
      Get the length of contained data. For FFT data this will be FFTLength()/2.
      Overrides:
      getDataWidth in class FFTDataBlock
      Returns:
      length of data in each slice.
    • getMinDataValue

      public double getMinDataValue()
      Description copied from class: DataBlock2D
      Get the minimum value which can occur in the data. e.g. 0 for FFT data.
      Overrides:
      getMinDataValue in class FFTDataBlock
      Returns:
      the data's minimum value
    • 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.