STFT.streaming constructor

STFT.streaming({
  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 repeated chunked input.

Implementation

factory STFT.streaming({
  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,
);