Class Reverb

Effector's subclass for Reverb.

Hierarchy (View Summary)

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.

    Returns Reverb

    Return value is for method chain.

  • This method gets or sets parameters for reverb effector. This method is overloaded for type interface and type check.

    Parameters

    • params: "state"

      This argument is string if getter. Otherwise, setter.

    Returns boolean

    Return value is parameter for reverb effector if getter. Otherwise, return value is for method chain.

  • This method gets or sets parameters for reverb effector. This method is overloaded for type interface and type check.

    Parameters

    • params: "buffer"

      This argument is string if getter. Otherwise, setter.

    Returns null | AudioBuffer

    Return value is parameter for reverb effector if getter. Otherwise, return value is for method chain.

  • This method gets or sets parameters for reverb effector. This method is overloaded for type interface and type check.

    Parameters

    • params: "dry"

      This argument is string if getter. Otherwise, setter.

    Returns number

    Return value is parameter for reverb effector if getter. Otherwise, return value is for method chain.

  • This method gets or sets parameters for reverb effector. This method is overloaded for type interface and type check.

    Parameters

    • params: "wet"

      This argument is string if getter. Otherwise, setter.

    Returns number

    Return value is parameter for reverb effector if getter. Otherwise, return value is for method chain.

  • This method gets or sets parameters for reverb effector. This method is overloaded for type interface and type check.

    Parameters

    • params: "tone"

      This argument is string if getter. Otherwise, setter.

    Returns number

    Return value is parameter for reverb effector if getter. Otherwise, return value is for method chain.

  • This method gets or sets parameters for reverb effector. This method is overloaded for type interface and type check.

    Parameters

    • params: ReverbParams

      This argument is string if getter. Otherwise, setter.

    Returns Reverb

    Return value is parameter for reverb effector if getter. Otherwise, return value is for method chain.

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

    Parameters

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