STFT.offline constructor

STFT.offline({
  1. required int nFft,
  2. int? winLen,
  3. required int hop,
  4. StftWindow window = StftWindow.hann,
  5. bool meanSubtract = false,
  6. bool center = false,
})

Creates an STFT context intended for whole-buffer processing.

Implementation

factory STFT.offline({
  required int nFft,
  int? winLen,
  required int hop,
  StftWindow window = StftWindow.hann,
  bool meanSubtract = false,
  bool center = false,
}) => STFT(
  nFft: nFft,
  winLen: winLen,
  hop: hop,
  window: window,
  meanSubtract: meanSubtract,
  center: center,
);