Function getAudioBalanceControl

  • Returns

    A function which will control the balance for the given element.

    • An input of -1 means all left.
    • 0 means center / both.
    • 1 means all right.
    • Values between -1 and 1 are continuously interpolated.

    Parameters

    • audioElement: HTMLAudioElement

      The element to control.

    Returns ((balance: number) => void)

      • (balance: number): void
      • Parameters

        • balance: number

        Returns void

Generated using TypeDoc