RPE Chart Utils
    Preparing search index...

    Function evaluateVariable

    • Evaluate a Variable at a given beat.

      • If it's a single number or number[], returns it as-is.
      • If it's a string (texture reference), returns it as-is.
      • If it's an AnimatedVariable, interpolates the value at the beat.

      Parameters

      • variable: Variable

        The Variable to evaluate.

      • beat: number

        Current beat.

      Returns string | number | number[]

      The interpolated value.