Skip to main content

AudioClip

The audio buffer

Index

Constructors

Properties

Accessors

Methods

Constructors

constructor

Properties

buffer

buffer: AudioBuffer

sources

sources: Set<AudioSource>

station

station: AudioStation

Accessors

destroyed

  • get destroyed(): boolean
  • Check if the audio buffer destroyed


    Returns boolean

duration

  • get duration(): number
  • Duration of the audio buffer


    Returns number

Methods

destroy

  • destroy(): void
  • Dispose the audio buffer


    Returns void