Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IAudioImplementation

Represents an audio implementation like AudioTag or WebAudio

Hierarchy

  • IAudioImplementation

Implemented by

Index

Properties

responseType

responseType: string

XHR response type

Methods

createInstance

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

    Parameters

    • data: string | AudioBuffer

    Returns IAudio

processData

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

    Parameters

    • data: Blob | ArrayBuffer

    Returns Promise<string | AudioBuffer>