A Limiter node is used to convert high dynamic range mixed audio from an HRTFOutput node into 16-bit audio prior to output.

Example

const listener = new HRTFOutput(audioContext);
const listener = new HRTFOutput(audioContext);
const limiter = new Limiter(audioContext);
const limiter = new Limiter(audioContext);
const destination = audioContext.createMediaStreamDestination();
const destination = audioContext.createMediaStreamDestination();
listener.connect(limiter).connect(destination);

Hierarchy

Constructors

Methods

Constructors

  • Parameters

    Returns Limiter

Methods

  • Terminates processing so that the node can be garbage-collected.

    Returns void

  • Dispatches a synthetic event event to target and returns true if either event's cancelable attribute value is false or its preventDefault() method was not invoked, and false otherwise.

    Parameters

    • event: Event

    Returns boolean

© 2023 High Fidelity, Inc. | All rights reserved Terms of Service | Privacy Policy