Defined in node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.dom.d.ts:2626 Defined in node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.dom.d.ts:2643 PropertiesReadonly
duration duration : number
Defined in node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.dom.d.ts:2628 Readonly
length length : number
Defined in node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.dom.d.ts:2630 Readonly
number Of Channels number Of Channels : number
Defined in node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.dom.d.ts:2632 Readonly
sample Rate sample Rate : number
Defined in node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.dom.d.ts:2634 Methodscopy From Channel copy From Channel ( destination , channelNumber , bufferOffset ? ) : void Parameters destination : Float32Array channelNumber : number Optional
bufferOffset : number Returns void Defined in node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.dom.d.ts:2636 copy To Channel copy To Channel ( source , channelNumber , bufferOffset ? ) : void Parameters source : Float32Array channelNumber : number Optional
bufferOffset : number Returns void Defined in node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.dom.d.ts:2638 get Channel Data get Channel Data ( channel ) : Float32Array Returns Float32Array Defined in node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.dom.d.ts:2640
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