Dart
dart:web_audio
BaseAudioContext class
description
BaseAudioContext class
Inheritance
Object
EventTarget
BaseAudioContext
Implementers
AudioContext
OfflineAudioContext
Annotations
@Native("BaseAudioContext")
Properties
currentTime
→
num
final
destination
→
AudioDestinationNode
final
listener
→
AudioListener
final
sampleRate
→
num
final
state
→
String
final
hashCode
→
int
The hash code for this object.
[...]
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
Methods
createAnalyser
(
)
→
AnalyserNode
createBiquadFilter
(
)
→
BiquadFilterNode
createBuffer
(
int
numberOfChannels
,
int
numberOfFrames
,
num
sampleRate
)
→
AudioBuffer
createBufferSource
(
)
→
AudioBufferSourceNode
createChannelMerger
(
[
int
numberOfInputs
])
→
ChannelMergerNode
createChannelSplitter
(
[
int
numberOfOutputs
])
→
ChannelSplitterNode
createConstantSource
(
)
→
ConstantSourceNode
createConvolver
(
)
→
ConvolverNode
createDelay
(
[
num
maxDelayTime
])
→
DelayNode
createDynamicsCompressor
(
)
→
DynamicsCompressorNode
createGain
(
)
→
GainNode
createIirFilter
(
List
<
num
>
feedForward
,
List
<
num
>
feedBack
)
→
IirFilterNode
@JSName('createIIRFilter')
createMediaElementSource
(
MediaElement
mediaElement
)
→
MediaElementAudioSourceNode
createMediaStreamDestination
(
)
→
MediaStreamAudioDestinationNode
createMediaStreamSource
(
MediaStream
mediaStream
)
→
MediaStreamAudioSourceNode
createOscillator
(
)
→
OscillatorNode
createPanner
(
)
→
PannerNode
createPeriodicWave
(
List
<
num
>
real
,
List
<
num
>
imag
, [
Map
options
])
→
PeriodicWave
createScriptProcessor
(
[
int
bufferSize
,
int
numberOfInputChannels
,
int
numberOfOutputChannels
])
→
ScriptProcessorNode
createStereoPanner
(
)
→
StereoPannerNode
createWaveShaper
(
)
→
WaveShaperNode
decodeAudioData
(
ByteBuffer
audioData
, [
DecodeSuccessCallback
successCallback
,
DecodeErrorCallback
errorCallback
])
→
Future
<
AudioBuffer
>
resume
(
)
→
Future
addEventListener
(
String
type
,
EventListener
listener
, [
bool
useCapture
])
→ void
inherited
dispatchEvent
(
Event
event
)
→
bool
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 a string representation of this object.
inherited
Operators
operator ==
(
dynamic
other
)
→
bool
The equality operator.
[...]
inherited