Skip to main content

AudioImplementation

Represents an audio implementation like WebAudioInstance

Index

Properties

responseType

responseType: ExResponseType

XHR response type

Methods

createInstance

  • createInstance(data: string | AudioBuffer): Audio
  • Factory method that returns an instance of a played audio track


    Parameters

    • data: string | AudioBuffer

    Returns Audio

processData

  • processData(data: Blob | ArrayBuffer): Promise<string | AudioBuffer>
  • Processes raw data and transforms into sound data


    Parameters

    • data: Blob | ArrayBuffer

    Returns Promise<string | AudioBuffer>