Defined in node_modules/typescript/lib/lib.dom.d.ts:2237
Defined in node_modules/typescript/lib/lib.dom.d.ts:2247
Properties
Readonly
duration
duration: number
Defined in node_modules/typescript/lib/lib.dom.d.ts:2238
Readonly
length
length: number
Defined in node_modules/typescript/lib/lib.dom.d.ts:2239
Readonly
number Of Channels
number Of Channels: number
Defined in node_modules/typescript/lib/lib.dom.d.ts:2240
Readonly
sample Rate
sample Rate: number
Defined in node_modules/typescript/lib/lib.dom.d.ts:2241
Methods
copy From Channel
copy From Channel( destination: Float32Array , channelNumber: number , bufferOffset?: number ) : void
Parameters
destination: Float32Array
channelNumber: number
Optional
bufferOffset: number
Returns void
Defined in node_modules/typescript/lib/lib.dom.d.ts:2242
copy To Channel
copy To Channel( source: Float32Array , channelNumber: number , bufferOffset?: number ) : void
Parameters
source: Float32Array
channelNumber: number
Optional
bufferOffset: number
Returns void
Defined in node_modules/typescript/lib/lib.dom.d.ts:2243
get Channel Data
get Channel Data( channel: number ) : Float32Array
Returns Float32Array
Defined in node_modules/typescript/lib/lib.dom.d.ts:2244
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.