applyWindowInPlace function

void applyWindowInPlace(
  1. Float32List input, {
  2. WindowType type = WindowType.hann,
  3. bool periodic = true,
})

Multiplies input in place by a generated window.

Implementation

void applyWindowInPlace(
  Float32List input, {
  WindowType type = WindowType.hann,
  bool periodic = true,
}) {
  multiplyWithWindowInPlace(
    input,
    generateWindow(input.length, type: type, periodic: periodic),
  );
}