Options
All
  • Public
  • Public/Protected
  • All
Menu

Can be accessed with audio.

Index

Variables

impl: { cordova: { decodingStack: []; player: null; createPlater: any; destroyPlayer: any; loadMP3: any; playSound: any; setRate: any; setVolume: any; stopSound: any }; html5: { player: null; createPlayer: any; destroyPlayer: any; loadMP3: any; playFile: any; playSound: any; setRate: any; setVolume: any; stopSound: any }; peer2peer: { webRTCiFrame: HTMLIFrameElement; destroy: any; init: any }; webAudio: { context: AudioContext; decodingStack: (() => void)[]; createPlayer: any; destroyPlayer: any; loadMP3: any; playSound: any; setRate: any; setVolume: any; stackDecoding: any; stopSound: any } }

Type declaration

  • cordova: { decodingStack: []; player: null; createPlater: any; destroyPlayer: any; loadMP3: any; playSound: any; setRate: any; setVolume: any; stopSound: any }
    • decodingStack: []
    • player: null
    • createPlater:function
      • createPlater(): null | { decodingStack: []; player: null; createPlater: any; destroyPlayer: any; loadMP3: any; playSound: any; setRate: any; setVolume: any; stopSound: any }
      • Returns null | { decodingStack: []; player: null; createPlater: any; destroyPlayer: any; loadMP3: any; playSound: any; setRate: any; setVolume: any; stopSound: any }

    • destroyPlayer:function
      • destroyPlayer(): void
    • loadMP3:function
      • loadMP3(a: string, b: string): void
    • playSound:function
      • playSound(a: string, b: boolean): void
    • setRate:function
      • setRate(a: string, b: number): void
    • setVolume:function
      • setVolume(a: string, b: number): void
    • stopSound:function
      • stopSound(a: string): void
  • html5: { player: null; createPlayer: any; destroyPlayer: any; loadMP3: any; playFile: any; playSound: any; setRate: any; setVolume: any; stopSound: any }
    • player: null
    • createPlayer:function
      • createPlayer(): null | { player: null; createPlayer: any; destroyPlayer: any; loadMP3: any; playFile: any; playSound: any; setRate: any; setVolume: any; stopSound: any }
      • Returns null | { player: null; createPlayer: any; destroyPlayer: any; loadMP3: any; playFile: any; playSound: any; setRate: any; setVolume: any; stopSound: any }

    • destroyPlayer:function
      • destroyPlayer(): void
    • loadMP3:function
      • loadMP3(a: string, b: string, c: boolean): void
    • playFile:function
      • playFile(a: string, b: boolean): void
    • playSound:function
      • playSound(a: string): void
    • setRate:function
      • setRate(a?: any, b?: any): void
    • setVolume:function
      • setVolume(a: string, b: number): void
    • stopSound:function
      • stopSound(a: string): void
  • peer2peer: { webRTCiFrame: HTMLIFrameElement; destroy: any; init: any }
  • webAudio: { context: AudioContext; decodingStack: (() => void)[]; createPlayer: any; destroyPlayer: any; loadMP3: any; playSound: any; setRate: any; setVolume: any; stackDecoding: any; stopSound: any }
    • context: AudioContext
    • decodingStack: (() => void)[]
    • createPlayer:function
      • createPlayer(): null | { context: AudioContext; decodingStack: (() => void)[]; createPlayer: any; destroyPlayer: any; loadMP3: any; playSound: any; setRate: any; setVolume: any; stackDecoding: any; stopSound: any }
      • Returns null | { context: AudioContext; decodingStack: (() => void)[]; createPlayer: any; destroyPlayer: any; loadMP3: any; playSound: any; setRate: any; setVolume: any; stackDecoding: any; stopSound: any }

    • destroyPlayer:function
      • destroyPlayer(): void
    • loadMP3:function
      • loadMP3(a: string, b: string): void
    • playSound:function
      • playSound(a: string, b: boolean): void
    • setRate:function
      • setRate(a: string, b: number): void
    • setVolume:function
      • setVolume(a: string, b: number): void
    • stackDecoding:function
      • stackDecoding(a: (() => void), b?: any): void
    • stopSound:function
      • stopSound(a: string): void
on: boolean
soundplayer: typeof webAudio | typeof html5
sounds: {}

Type declaration

  • [key: string]: { cut: number[]; effects?: { [ key in "volume" | "pitch" | "play" | "start" | "stop"]: { lastValue: number | undefined | null; ratio: number } }; loaded: boolean; loading: boolean; loop?: boolean; playing: boolean }
    • cut: number[]
    • Optional effects?: { [ key in "volume" | "pitch" | "play" | "start" | "stop"]: { lastValue: number | undefined | null; ratio: number } }
    • loaded: boolean
    • loading: boolean
    • Optional loop?: boolean
    • playing: boolean

Functions

  • loaded(a: string): void
  • mute(): void
  • playShutdown(): void
  • playSoundLoop(a: string, b: boolean): void
  • playStartup(): void
  • stop(): void
  • stopSoundLoop(a: string): void
  • stopped(a: string): void
  • toggleMute(): void
  • unmute(): void
  • update(): void

Generated using TypeDoc