Function lcsb

  • Find the longest common sound block between two sound block sequences.

    Returns

    The longest common sound block

    Parameters

    • a: SoundBlock[]

      The first sound block sequence

    • b: SoundBlock[]

      The second sound block sequence

    • tolerance: number = 0.2

      The tolerance for the sound block comparison (in seconds)

    Returns { duration: number; start: [number, number] }

    • duration: number
    • start: [number, number]

Generated using TypeDoc