Defined in ../node_modules/typescript/lib/lib.dom.d.ts:2809 Defined in ../node_modules/typescript/lib/lib.dom.d.ts:2826 PropertiesReadonly
duration duration : number
Defined in ../node_modules/typescript/lib/lib.dom.d.ts:2811 Readonly
length length : number
Defined in ../node_modules/typescript/lib/lib.dom.d.ts:2813 Readonly
number Of Channels numberOfChannels : number
Defined in ../node_modules/typescript/lib/lib.dom.d.ts:2815 Readonly
sample Rate sampleRate : number
Defined in ../node_modules/typescript/lib/lib.dom.d.ts:2817 Methodscopy From Channel copyFromChannel ( destination : Float32Array < ArrayBufferLike > , channelNumber : number , bufferOffset ?: number , ) : void Parameters destination : Float32Array < ArrayBufferLike > channelNumber : number Optional
bufferOffset : number Returns void Defined in ../node_modules/typescript/lib/lib.dom.d.ts:2819 copy To Channel copyToChannel ( source : Float32Array < ArrayBufferLike > , channelNumber : number , bufferOffset ?: number , ) : void Parameters source : Float32Array < ArrayBufferLike > channelNumber : number Optional
bufferOffset : number Returns void Defined in ../node_modules/typescript/lib/lib.dom.d.ts:2821 get Channel Data getChannelData ( channel : number ) : Float32Array < ArrayBufferLike > Defined in ../node_modules/typescript/lib/lib.dom.d.ts:2823
A short audio asset residing in memory, created from an audio file using the AudioContext.decodeAudioData() method, or from raw data using AudioContext.createBuffer(). Once put into an AudioBuffer, the audio can then be played by being passed into an AudioBufferSourceNode.
MDN Reference