Properties Readonly durationduration: number
Defined in node_modules/typescript/lib/lib.dom.d.ts:2208 Readonly lengthlength: number
Defined in node_modules/typescript/lib/lib.dom.d.ts:2209 Readonly number Of Channelsnumber Of Channels: number
Defined in node_modules/typescript/lib/lib.dom.d.ts:2210 Readonly sample Ratesample Rate: number
Defined in node_modules/typescript/lib/lib.dom.d.ts:2211 Methods copy From Channel copy From Channel( destination: Float32Array , channelNumber: number , bufferOffset?: number ) : void Defined in node_modules/typescript/lib/lib.dom.d.ts:2212 Parameters destination: Float32Array channelNumber: number Optional bufferOffset: number Returns void copy To Channel copy To Channel( source: Float32Array , channelNumber: number , bufferOffset?: number ) : void Defined in node_modules/typescript/lib/lib.dom.d.ts:2213 Parameters source: Float32Array channelNumber: number Optional bufferOffset: number Returns void get Channel Data get Channel Data( channel: number ) : Float32Array Defined in node_modules/typescript/lib/lib.dom.d.ts:2214 Parameters Returns Float32Array Legend Type alias Type alias with type parameter Class Class with type parameter Settings Theme OS Light Dark
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.