DefinitelyTyped

Index

Variables

Interfaces

Variables

webkitAudioContext: webkitAudioContext

public activeSourceCount: number

public currentTime: number

public destination: AudioDestinationNode

public listener: AudioListener

public sampleRate: number

public createAnalyser(): RealtimeAnalyserNode

Returns

RealtimeAnalyserNode

public createBiquadFilter(): BiquadFilterNode

Returns

BiquadFilterNode

public createBuffer(numberOfChannels: number, length: number, sampleRate: number): AudioBuffer

Parameters

  • numberOfChannels: number
  • length: number
  • sampleRate: number

Returns

AudioBuffer

public createBuffer(buffer: ArrayBuffer, mixToMono: boolean): AudioBuffer

Parameters

  • buffer: ArrayBuffer
  • mixToMono: boolean

Returns

AudioBuffer

public createBufferSource(): AudioBufferSourceNode

Returns

AudioBufferSourceNode

public createChannelMerger(numberOfInputs?: number): AudioChannelMerger

Parameters

  • numberOfInputs?: number optional

Returns

AudioChannelMerger

public createChannelSplitter(numberOfOutputs?: number): AudioChannelSplitter

Parameters

  • numberOfOutputs?: number optional

Returns

AudioChannelSplitter

public createConvolver(): ConvolverNode

Returns

ConvolverNode

public createDelayNode(maxDelayTime?: number): DelayNode

Parameters

  • maxDelayTime?: number optional

Returns

DelayNode

public createDynamicsCompressor(): DynamicsCompressorNode

Returns

DynamicsCompressorNode

public createGainNode(): AudioGainNode

Returns

AudioGainNode

public createMediaElementSource(mediaElement: HTMLMediaElement): MediaElementAudioSourceNode

Parameters

  • mediaElement: HTMLMediaElement

Returns

MediaElementAudioSourceNode

public createMediaStreamSource(mediaStream: any): MediaStreamAudioSourceNode

Parameters

  • mediaStream: any

Returns

MediaStreamAudioSourceNode

public createOscillator(): Oscillator

Returns

Oscillator

public createPanner(): AudioPannerNode

Returns

AudioPannerNode

public createWaveTable(real: any, imag: any): WaveTable

Parameters

  • real: any
  • imag: any

Returns

WaveTable

public decodeAudioData(audioData: ArrayBuffer, successCallback: any, errorCallback?: any)

Parameters

  • audioData: ArrayBuffer
  • successCallback: any
  • errorCallback?: any optional