@lambda-musika/musika - v0.1.0
    Preparing search index...

    Function mix

    • Mixes two mono signals together.

      Parameters

      • s1: number

        The first mono signal.

      • s2: number

        The second mono signal.

      • a: number = 0.5

        The mix ratio (0 to 1).

      Returns number

      The mixed mono signal.