class Audio
extends Object3D
import { Audio } from "https://deno.land/x/threejs_4_deno@v121/src/audio/Audio.js";
Constructors
new
Audio(listener: AudioListener)Properties
context: AudioContext
listener: AudioListener
Methods
connect(): this
disconnect(): this
getDetune(): number
getFilter(): any
getFilters(): any[]
getLoop(): boolean
getPlaybackRate(): number
getVolume(): number
onEnded(): void
pause(): this
play(delay?: number): this
setBuffer(audioBuffer: AudioBuffer): this
setDetune(value: number): this
setFilter(filter: any): this
setFilters(value: any[]): this
setLoop(value: boolean): this
setLoopEnd(value: number): this
setLoopStart(value: number): this
setMediaElementSource(mediaElement: HTMLMediaElement): this
setMediaStreamSource(mediaStream: MediaStream): this
setNodeSource(audioNode: AudioBufferSourceNode): this
setPlaybackRate(value: number): this
setVolume(value: number): this
stop(): this