Options
All
  • Public
  • Public/Protected
  • All
Menu

Class AudioProcessor Abstract

The parent class of all source audio stream processors.

Note: AudioProcessor inherits from AudioWorkletProcessor and only available in audio worklet processors.

Hierarchy

  • any
    • AudioProcessor

Index

Constructors

Properties

Methods

Constructors

  • constructor

    Parameters

    • port: MessagePort

      message port

    • Optional options: any

      customised options

    Returns AudioProcessor

Properties

port: MessagePort

The communication port used for messaging between the processor and the main thread.

Methods

  • onInit(): void
  • Callback triggered during the initialization of the processor.

    Returns void

  • onUninit(): void
  • Callback triggered during the uninitialization of the processor.

    Returns void