Function partition

  • Partition a wav file into sound blocks.

    Returns

    The sound blocks of the wav file

    Parameters

    • data: Buffer

      The data of a wav file

    • options: { lower?: number; pool?: number; upper?: number } = {}

      The options of the partition

      • Optional lower?: number
      • Optional pool?: number
      • Optional upper?: number

    Returns SoundBlock[]

Generated using TypeDoc