AudioEngine

Hierarchy

  • AudioEngine

Index

Constructors

constructor

Properties

WarnedWebAudioUnsupported

WarnedWebAudioUnsupported: boolean

audioContext

audioContext: Nullable<AudioContext>

canUseWebAudio

canUseWebAudio: boolean

isMP3supported

isMP3supported: boolean

isOGGsupported

isOGGsupported: boolean

masterGain

masterGain: GainNode

onAudioUnlocked

onAudioUnlocked: function

Type declaration

    • (): any
    • Returns any

unlocked

unlocked: boolean

Methods

connectToAnalyser

  • connectToAnalyser(analyser: Analyser): void
  • Parameters

    Returns void

dispose

  • dispose(): void
  • Returns void

getGlobalVolume

  • getGlobalVolume(): number
  • Returns number

setGlobalVolume

  • setGlobalVolume(newVolume: number): void
  • Parameters

    • newVolume: number

    Returns void

Generated using TypeDoc