stream method

void stream(
  1. List<double> input,
  2. dynamic reportChunk(
    1. Float64x2List
    ), [
  3. int chunkStride = 0
])

Runs STFT on input.

This method is the same as run, but instead of zero padding the input to fill the final chunk, it holds on to the excess data until the next time stream is called. Call flush to clear the buffer.

Implementation

void stream(
  List<double> input,
  Function(Float64x2List) reportChunk, [
  int chunkStride = 0,
]) =>
    _run(input, reportChunk, chunkStride, true, false);