Inheritance
Implemented by
Annotations
  • @DomName('AudioContext')
  • @SupportedBrowser(SupportedBrowser.CHROME)
  • @SupportedBrowser(SupportedBrowser.FIREFOX)
  • @Experimental()

Static Properties

instanceRuntimeType Type

@Deprecated("Internal Use Only"), read-only
supported bool

Checks if this type is supported on the current platform.

read-only

Constructors

AudioContext()

factory
AudioContext.internal_()

Properties

currentTime num

@DocsEditable(), @DomName('AudioContext.currentTime'), read-only
destination AudioDestinationNode

@DocsEditable(), @DomName('AudioContext.destination'), read-only
listener AudioListener

@DocsEditable(), @DomName('AudioContext.listener'), read-only
sampleRate num

@DocsEditable(), @DomName('AudioContext.sampleRate'), read-only
state String

@DocsEditable(), @DomName('AudioContext.state'), @Experimental(), read-only
hashCode int

read-only, inherited
on Events

This is an ease-of-use accessor for event streams which should only be used when an explicit accessor is not available.

read-only, inherited
runtimeType Type

A representation of the runtime type of the object.

read-only, inherited

Operators

operator ==(other) bool

The equality operator.

inherited

Methods

close() Future

@DocsEditable(), @DomName('AudioContext.close'), @Experimental()
createAnalyser() AnalyserNode

@DocsEditable(), @DomName('AudioContext.createAnalyser')
createBiquadFilter() BiquadFilterNode

@DocsEditable(), @DomName('AudioContext.createBiquadFilter')
createBuffer(int numberOfChannels, int numberOfFrames, num sampleRate) AudioBuffer

@DocsEditable(), @DomName('AudioContext.createBuffer')
createBufferSource() AudioBufferSourceNode

@DocsEditable(), @DomName('AudioContext.createBufferSource')
createChannelMerger([int numberOfInputs ]) ChannelMergerNode

createChannelSplitter([int numberOfOutputs ]) ChannelSplitterNode

createConvolver() ConvolverNode

@DocsEditable(), @DomName('AudioContext.createConvolver')
createDelay([num maxDelayTime ]) DelayNode

createDynamicsCompressor() DynamicsCompressorNode

@DocsEditable(), @DomName('AudioContext.createDynamicsCompressor')
createGain() GainNode

@DocsEditable(), @DomName('AudioContext.createGain')
createIirFilter(List<num> feedForward, List<num> feedBack) IirFilterNode

@DocsEditable(), @DomName('AudioContext.createIIRFilter'), @Experimental()
createMediaElementSource(MediaElement mediaElement) MediaElementAudioSourceNode

@DocsEditable(), @DomName('AudioContext.createMediaElementSource')
createMediaStreamDestination() MediaStreamAudioDestinationNode

@DocsEditable(), @DomName('AudioContext.createMediaStreamDestination')
createMediaStreamSource(MediaStream mediaStream) MediaStreamAudioSourceNode

@DocsEditable(), @DomName('AudioContext.createMediaStreamSource')
createOscillator() OscillatorNode

@DocsEditable(), @DomName('AudioContext.createOscillator')
createPanner() PannerNode

@DocsEditable(), @DomName('AudioContext.createPanner')
createPeriodicWave(Float32List real, Float32List imag, [ Map options ]) PeriodicWave

createScriptProcessor([int bufferSize, int numberOfInputChannels, int numberOfOutputChannels ]) ScriptProcessorNode

createStereoPanner() StereoPannerNode

@DocsEditable(), @DomName('AudioContext.createStereoPanner'), @Experimental()
createWaveShaper() WaveShaperNode

@DocsEditable(), @DomName('AudioContext.createWaveShaper')
decodeAudioData(ByteBuffer audioData, [ AudioBufferCallback successCallback, AudioBufferCallback errorCallback ]) Future<AudioBuffer>

@DomName('AudioContext.decodeAudioData')
resume() Future

@DocsEditable(), @DomName('AudioContext.resume'), @Experimental()
suspend() Future

@DocsEditable(), @DomName('AudioContext.suspend'), @Experimental()
addEventListener(String type, EventListener listener, [ bool useCapture ]) → void

inherited
dispatchEvent(Event event) bool

@DocsEditable(), @DomName('EventTarget.dispatchEvent'), inherited
noSuchMethod(Invocation invocation) → dynamic

Invoked when a non-existent method or property is accessed.

inherited
removeEventListener(String type, EventListener listener, [ bool useCapture ]) → void

inherited
toString() String

Returns the result of the JavaScript objects toString method.

inherited