toggle menu
Kotlin Wrappers API Reference
js
switch theme
search in API
kotlin-browser
/
web.audio
/
AudioNode
Audio
Node
sealed
external
class
AudioNode
:
EventTarget
(
source
)
A generic interface for representing an audio processing module. Examples include:
MDN Reference
Inheritors
AnalyserNode
AudioDestinationNode
AudioScheduledSourceNode
AudioWorkletNode
BiquadFilterNode
ChannelMergerNode
ChannelSplitterNode
ConvolverNode
DelayNode
DynamicsCompressorNode
GainNode
IIRFilterNode
MediaElementAudioSourceNode
MediaStreamAudioDestinationNode
MediaStreamAudioSourceNode
PannerNode
StereoPannerNode
WaveShaperNode
Members
Properties
channel
Count
Link copied to clipboard
var
channelCount
:
Int
MDN Reference
channel
Count
Mode
Link copied to clipboard
var
channelCountMode
:
ChannelCountMode
MDN Reference
channel
Interpretation
Link copied to clipboard
var
channelInterpretation
:
ChannelInterpretation
MDN Reference
context
Link copied to clipboard
val
context
:
BaseAudioContext
MDN Reference
number
Of
Inputs
Link copied to clipboard
val
numberOfInputs
:
Int
MDN Reference
number
Of
Outputs
Link copied to clipboard
val
numberOfOutputs
:
Int
MDN Reference
Functions
connect
Link copied to clipboard
fun
connect
(
destinationParam
:
AudioParam
,
output
:
Int
=
definedExternally
)
fun
connect
(
destinationNode
:
AudioNode
,
output
:
Int
=
definedExternally
,
input
:
Int
=
definedExternally
)
:
AudioNode
MDN Reference
disconnect
Link copied to clipboard
fun
disconnect
(
)
MDN Reference
fun
disconnect
(
output
:
Int
)
fun
disconnect
(
destinationNode
:
AudioNode
)
fun
disconnect
(
destinationParam
:
AudioParam
)
fun
disconnect
(
destinationNode
:
AudioNode
,
output
:
Int
)
fun
disconnect
(
destinationParam
:
AudioParam
,
output
:
Int
)
fun
disconnect
(
destinationNode
:
AudioNode
,
output
:
Int
,
input
:
Int
)
dispatch
Event
Link copied to clipboard
fun
dispatchEvent
(
event
:
Event
)
:
Boolean