Class Reverb

Effector's subclass for Reverb.

Hierarchy (view full)

Constructors

Properties

context: AudioContext
depth: GainNode
input: GainNode
isActive: boolean = true
lfo: OscillatorNode
output: GainNode
paused: boolean = true
rate: AudioParam

Accessors

Methods

  • This method sets instance of AudioBuffer to ConvolverNode.

    Parameters

    • impulse: ArrayBuffer | AudioBuffer

      This argument is in order to convolve impulse response. This argument is instance of AudioBuffer or ArrayBuffer for impulse response.

    • OptionalerrorCallback: ((error: Error) => void)

      This argument is invoked on decode failure.

        • (error): void
        • Parameters

          • error: Error

          Returns void

    Returns Reverb

    Return value is for method chain.

  • This method creates and appends to Reverb presets instance of AudioBuffer by Ajax.

    Parameters

    • params: {
          rirs: AudioBuffer[] | string[];
          timeout?: number;
          errorCallback?(event: Error | ProgressEvent<EventTarget>, textStatus: ReverbErrorText): void;
          progressCallback?(event: ProgressEvent<EventTarget>): void;
          successCallback?(event: ProgressEvent<EventTarget>): void;
      }

    Returns void

  • This method starts LFO. Namely, this method starts effector.

    Parameters

    • OptionalstartTime: number

      This argument is in order to schedule parameter.

    Returns void

  • This method stops LFO, then creates instance of OscillatorNode again.

    Parameters

    • OptionalstopTime: number

      This argument is in order to schedule parameter.

    • OptionalreleaseTime: number

      This argument is in order to schedule parameter when it is necessary to consider release time.

    Returns void