Class AudioUtility

Constructors

  • Audio utility class

    Parameters

    • fromType:
          | "amplitude"
          | "meterF"
          | "volume"
          | "volumeBar"
    • value: number

    Returns AudioUtility

Properties

_amplitudeValue: number = 0

Value to hold internally in class

Methods

  • Return amplitude Value is between 0.0 and 1.0

    Returns number

  • Return volume bar Value is in percentage (between 0% and 100%)

    Returns number