Polyend Tracker Library - v0.1.1
    Preparing search index...

    Class AudioUtil

    A Helper class for working with WAV files.

    Index

    Methods

    • Creates a WAV file from a Float32Array of audio data.

      Parameters

      • audioData: Float32Array

        The audio data to be written to the WAV file.

      • options: { bitsPerSample: number; numChannels: number; sampleRate: number }

        Options for the WAV file.

      Returns ArrayBuffer

    • Extracts and returns metadata information from a WAV file provided as an ArrayBuffer.

      Parameters

      Returns WavInfo

      An object containing metadata information about the WAV file

      If the file is not a valid WAV file or required chunks are missing.