applyWindow function
Float32List
applyWindow(
- Float32List input, {
- WindowType type = WindowType.hann,
- bool periodic = true,
Returns a new array containing input multiplied by a generated window.
Implementation
Float32List applyWindow(
Float32List input, {
WindowType type = WindowType.hann,
bool periodic = true,
}) {
return multiplyWithWindow(
input,
generateWindow(input.length, type: type, periodic: periodic),
);
}