Class NoiseSuppressorProcessor

This class extends AudioWorkletProcessor. Override process method for noise suppressor and Update parameters on message event.

Hierarchy

  • AudioWorkletProcessor
    • NoiseSuppressorProcessor

Constructors

Properties

Methods

Constructors

Properties

isActive: boolean = true
port: MessagePort = ...
threshold: number = 0

Methods

  • This method detects background noise and removes this.

    Parameters

    • inputs: Float32Array

      This argument is instance of Float32Array for FFT/IFFT.

    • outputs: Float32Array

      This argument is instance of Float32Array for FFT/IFFT.

    • fftSize: number

      This argument is FFT/IFFT size (power of two).

    Returns void

  • This class (static) method executes FFT.

    Parameters

    • reals: Float32Array

      This argument is instance of Float32Array for real number.

    • imags: Float32Array

      This argument is instance of Float32Array for imaginary number.

    • size: number

      This argument is FFT size (power of two).

    Returns void

  • This class (static) method executes IFFT.

    Parameters

    • reals: Float32Array

      This argument is instance of Float32Array for real number.

    • imags: Float32Array

      This argument is instance of Float32Array for imaginary number.

    • size: number

      This argument is IFFT size (power of two).

    Returns void

Generated using TypeDoc