Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Wave

Index

Constructors

  • new Wave(audioElement: HTMLAudioElement, canvasElement: HTMLCanvasElement): Wave
  • Parameters

    • audioElement: HTMLAudioElement
    • canvasElement: HTMLCanvasElement

    Returns Wave

Properties

_activeAnimations: IAnimation[] = []
_audioAnalyser: AnalyserNode
_audioContext: AudioContext
_audioElement: HTMLAudioElement
_audioSource: MediaElementAudioSourceNode
_canvasContext: CanvasRenderingContext2D
_canvasElement: HTMLCanvasElement
animations: { Arcs: typeof Arcs; Circles: typeof Circles; Cubes: typeof Cubes; Flower: typeof Flower; Glob: typeof Glob; Lines: typeof Lines; Shine: typeof Shine; Square: typeof Square; Turntable: typeof Turntable; Wave: typeof Animations.Wave } = ...

Type declaration

Methods

  • _play(): void
  • Returns void

  • Parameters

    Returns void

  • clearAnimations(): void
  • Returns void

Generated using TypeDoc