Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface AudioManagerStatic

The static class that handles BGM, BGS, ME, and SE.

interface

AudioManagerStatic

Hierarchy

  • AudioManagerStatic

Index

Properties

_bgmBuffer

_bgmVolume

_bgmVolume: number

_bgsBuffer

_bgsVolume

_bgsVolume: number

_blobUrl

_blobUrl: string

_currentBgm

_currentBgm: AudioParameters

_currentBgs

_currentBgs: AudioParameters

_meBuffer

_meVolume

_meVolume: number

_path

_path: string

_replayFadeTime

_replayFadeTime: number

_seBuffers

_seBuffers: Array<Html5AudioStatic | WebAudio>

_seVolume

_seVolume: number

_staticBuffers

_staticBuffers: Array<Html5AudioStatic | WebAudio>

bgmVolume

bgmVolume: number

bgsVolume

bgsVolume: number

meVolume

meVolume: number

seVolume

seVolume: number

Methods

audioFileExt

  • audioFileExt(): string

checkErrors

  • checkErrors(): void

checkWebAudioError

createBuffer

createDecryptBuffer

  • createDecryptBuffer(url: string, bgm: AudioParameters, pos?: number): void

fadeInBgm

  • fadeInBgm(duration: number): void

fadeInBgs

  • fadeInBgs(duration: number): void

fadeOutBgm

  • fadeOutBgm(duration: number): void

fadeOutBgs

  • fadeOutBgs(duration: number): void

fadeOutMe

  • fadeOutMe(duration: number): void
  • fadeOutMe(duration: number): void

isCurrentBgm

isCurrentBgs

isStaticSe

loadStaticSe

makeEmptyAudioObject

playBgm

playBgs

playEncryptedBgm

playMe

playSe

playStaticSe

replayBgm

replayBgs

saveBgm

saveBgs

shouldUseHtml5Audio

  • shouldUseHtml5Audio(): boolean

stopAll

  • stopAll(): void

stopBgm

  • stopBgm(): void

stopBgs

  • stopBgs(): void

stopMe

  • stopMe(): void
  • stopMe(): void

stopSe

  • stopSe(): void

updateBgmParameters

updateBgsParameters

updateBufferParameters

updateCurrentBgm

updateCurrentBgs

updateMeParameters

updateSeParameters

Generated using TypeDoc