AudioManager.d overview
Table of contents
- utils
- AudioManager (class)
- playBgm (static method)
- replayBgm (static method)
- isCurrentBgm (static method)
- updateBgmParameters (static method)
- updateCurrentBgm (static method)
- stopBgm (static method)
- fadeOutBgm (static method)
- fadeInBgm (static method)
- playBgs (static method)
- replayBgs (static method)
- isCurrentBgs (static method)
- updateBgsParameters (static method)
- updateCurrentBgs (static method)
- stopBgs (static method)
- fadeOutBgs (static method)
- fadeInBgs (static method)
- playMe (static method)
- updateMeParameters (static method)
- fadeOutMe (static method)
- stopMe (static method)
- playSe (static method)
- updateSeParameters (static method)
- cleanupSe (static method)
- stopSe (static method)
- playStaticSe (static method)
- loadStaticSe (static method)
- isStaticSe (static method)
- stopAll (static method)
- saveBgm (static method)
- saveBgs (static method)
- makeEmptyAudioObject (static method)
- createBuffer (static method)
- updateBufferParameters (static method)
- audioFileExt (static method)
- checkErrors (static method)
- throwLoadError (static method)
- AudioManager (class)
utils
AudioManager (class)
AudioManager
The static class that handles BGM, BGS, ME and SE.
Signature
export declare class AudioManager {
constructor()
}
playBgm (static method)
Signature
static playBgm(bgm: DataAudio, pos?: number): void
replayBgm (static method)
Signature
static replayBgm(bgm: DataAudio): void
isCurrentBgm (static method)
Signature
static isCurrentBgm(bgm: DataAudio): boolean | null
updateBgmParameters (static method)
Signature
static updateBgmParameters(bgm: DataAudio | null): void
updateCurrentBgm (static method)
Signature
static updateCurrentBgm(bgm: DataAudio, pos?: number): void
stopBgm (static method)
Signature
static stopBgm(): void
fadeOutBgm (static method)
Signature
static fadeOutBgm(duration: number): void
fadeInBgm (static method)
Signature
static fadeInBgm(duration: number): void
playBgs (static method)
Signature
static playBgs(bgs: DataAudio, pos?: number): void
replayBgs (static method)
Signature
static replayBgs(bgs: DataAudio): void
isCurrentBgs (static method)
Signature
static isCurrentBgs(bgs: DataAudio): boolean | null
updateBgsParameters (static method)
Signature
static updateBgsParameters(bgs: DataAudio | null): void
updateCurrentBgs (static method)
Signature
static updateCurrentBgs(bgs: DataAudio, pos?: number): void
stopBgs (static method)
Signature
static stopBgs(): void
fadeOutBgs (static method)
Signature
static fadeOutBgs(duration: number): void
fadeInBgs (static method)
Signature
static fadeInBgs(duration: number): void
playMe (static method)
Signature
static playMe(me: DataAudio): void
updateMeParameters (static method)
Signature
static updateMeParameters(me: DataAudio | null): void
fadeOutMe (static method)
Signature
static fadeOutMe(duration: number): void
stopMe (static method)
Signature
static stopMe(): void
playSe (static method)
Signature
static playSe(se: DataAudio): void
updateSeParameters (static method)
Signature
static updateSeParameters(buffer: WebAudio, se: DataAudio | null): void
cleanupSe (static method)
Signature
static cleanupSe(): void
stopSe (static method)
Signature
static stopSe(): void
playStaticSe (static method)
Signature
static playStaticSe(se: DataAudio): void
loadStaticSe (static method)
Signature
static loadStaticSe(se: DataAudio): void
isStaticSe (static method)
Signature
static isStaticSe(se: DataAudio): boolean
stopAll (static method)
Signature
static stopAll(): void
saveBgm (static method)
Signature
static saveBgm(): DataAudio
saveBgs (static method)
Signature
static saveBgs(): DataAudio
makeEmptyAudioObject (static method)
Signature
static makeEmptyAudioObject(): DataAudio
createBuffer (static method)
Signature
static createBuffer(folder: string, name: string): WebAudio
updateBufferParameters (static method)
Signature
static updateBufferParameters(buffer: WebAudio | null, configVolume: number, audio: DataAudio | null): void
audioFileExt (static method)
Signature
static audioFileExt(): string
checkErrors (static method)
Signature
static checkErrors(): void
throwLoadError (static method)
Signature
static throwLoadError(webAudio: WebAudio): void