W3cubDocs

/Dart 2

AudioContext class

Inheritance
Annotations
  • @SupportedBrowser(SupportedBrowser.CHROME)
  • @SupportedBrowser(SupportedBrowser.FIREFOX)
  • @Native("AudioContext,webkitAudioContext")

Constructors

AudioContext()
factory

Properties

baseLatencynum
final
currentTimenum
final, inherited
destinationAudioDestinationNode
final, inherited
hashCodeint
read-only, inherited
The hash code for this object. [...]
listenerAudioListener
final, inherited
onEvents
read-only, inherited
This is an ease-of-use accessor for event streams which should only be used when an explicit accessor is not available.
runtimeTypeType
read-only, inherited
A representation of the runtime type of the object.
sampleRatenum
final, inherited
stateString
final, inherited

Methods

close() → Future
createGain() → GainNode
override
createScriptProcessor([int bufferSize, int numberOfInputChannels, int numberOfOutputChannels ]) → ScriptProcessorNode
override
decodeAudioData(ByteBuffer audioData, [ DecodeSuccessCallback successCallback, DecodeErrorCallback errorCallback ]) → Future<AudioBuffer>
override
getOutputTimestamp() → Map
suspend() → Future
addEventListener(String type, EventListener listener, [ bool useCapture ]) → void
inherited
createAnalyser() → AnalyserNode
inherited
createBiquadFilter() → BiquadFilterNode
inherited
createBuffer(int numberOfChannels, int numberOfFrames, num sampleRate) → AudioBuffer
inherited
createBufferSource() → AudioBufferSourceNode
inherited
createChannelMerger([int numberOfInputs ]) → ChannelMergerNode
inherited
createChannelSplitter([int numberOfOutputs ]) → ChannelSplitterNode
inherited
createConstantSource() → ConstantSourceNode
inherited
createConvolver() → ConvolverNode
inherited
createDelay([num maxDelayTime ]) → DelayNode
inherited
createDynamicsCompressor() → DynamicsCompressorNode
inherited
createIirFilter(List<num> feedForward, List<num> feedBack) → IirFilterNode
@JSName('createIIRFilter'), inherited
createMediaElementSource(MediaElement mediaElement) → MediaElementAudioSourceNode
inherited
createMediaStreamDestination() → MediaStreamAudioDestinationNode
inherited
createMediaStreamSource(MediaStream mediaStream) → MediaStreamAudioSourceNode
inherited
createOscillator() → OscillatorNode
inherited
createPanner() → PannerNode
inherited
createPeriodicWave(List<num> real, List<num> imag, [ Map options ]) → PeriodicWave
inherited
createStereoPanner() → StereoPannerNode
inherited
createWaveShaper() → WaveShaperNode
inherited
dispatchEvent(Event event) → bool
inherited
noSuchMethod(Invocation invocation) → dynamic
inherited
Invoked when a non-existent method or property is accessed. [...]
removeEventListener(String type, EventListener listener, [ bool useCapture ]) → void
inherited
resume() → Future
inherited
toString() → String
inherited
Returns a string representation of this object.

Operators

operator ==(dynamic other) → bool
inherited
The equality operator. [...]

Static Properties

supportedbool
read-only
Checks if this type is supported on the current platform.

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dart.dev/stable/2.5.0/dart-web_audio/AudioContext-class.html