gameforge - v0.1.12
    Preparing search index...

    Filter for adding Stereo panning.

    filters

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    Accessors

    Methods

    Constructors

    • Parameters

      • Optionalpan: number

        The amount of panning, -1 is left, 1 is right, 0 is centered.

      Returns StereoFilter

    Properties

    destination: AudioNode

    The node to connect for the filter to the previous filter.

    source: AudioNode

    The node to connect for the filter to the previous filter.

    Accessors

    • get pan(): number

      Returns number

    • set pan(value: number): void

      Set the amount of panning, where -1 is left, 1 is right, and 0 is centered

      Parameters

      • value: number

      Returns void

    Methods

    • Connect to the destination.

      Parameters

      • destination: AudioNode

        The destination node to connect the output to

      Returns void

    • Destroy the filter and don't use after this.

      Returns void

    • Completely disconnect filter from destination and source nodes.

      Returns void

    • Reinitialize

      Parameters

      • destination: AudioNode
      • Optionalsource: AudioNode

      Returns void