ScriptProcessorNode class
- Inheritance
- Object
- EventTarget
- AudioNode
- ScriptProcessorNode
- Annotations
- @DocsEditable()
- @DomName('ScriptProcessorNode')
- @Experimental()
- @Native("ScriptProcessorNode,JavaScriptAudioNode")
Properties
- bufferSize → int
-
@DocsEditable(), @DomName('ScriptProcessorNode.bufferSize'), final
- onAudioProcess → Stream<AudioProcessingEvent>
-
Get a Stream that fires events when AudioProcessingEvents occur.
This particular stream is special in that it only allows one listener to a
given stream. Converting the returned Stream
asBroadcast
will likely ruin the soft-real-time properties which which these events are fired and can be processed.@DocsEditable(), @DomName('ScriptProcessorNode.onaudioprocess'), @Experimental(), read-only - channelCount ↔ int
-
@DocsEditable(), @DomName('AudioNode.channelCount'), read / write, inherited
- channelCountMode ↔ String
-
@DocsEditable(), @DomName('AudioNode.channelCountMode'), read / write, inherited
- channelInterpretation ↔ String
-
@DocsEditable(), @DomName('AudioNode.channelInterpretation'), read / write, inherited
- context → AudioContext
-
@DocsEditable(), @DomName('AudioNode.context'), final, inherited
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- numberOfInputs → int
-
@DocsEditable(), @DomName('AudioNode.numberOfInputs'), final, inherited
- numberOfOutputs → int
-
@DocsEditable(), @DomName('AudioNode.numberOfOutputs'), final, 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
-
setEventListener(
EventListener eventListener) → void -
@DocsEditable(), @DomName('ScriptProcessorNode.setEventListener'), @Experimental()
-
addEventListener(
String type, EventListener listener, [ bool useCapture ]) → void -
inherited
-
connectNode(
AudioNode destination, [ int output = 0, int input = 0 ]) → void -
@DomName('AudioNode.connect'), inherited
-
connectParam(
AudioParam destination, [ int output = 0 ]) → void -
@DomName('AudioNode.connect'), inherited
-
disconnect(
[destination_OR_output, int output, int input ]) → void -
@DocsEditable(), @DomName('AudioNode.disconnect'), 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 a string representation of this object.
inherited
Operators
-
operator ==(
other) → bool -
The equality operator. [...]
inherited
Constants
- audioProcessEvent → const EventStreamProvider<AudioProcessingEvent>
-
Static factory designed to expose
audioprocess
events to event handlers that are not necessarily instances ofScriptProcessorNode
. [...]@DocsEditable(), @DomName('ScriptProcessorNode.audioprocessEvent'), @Experimental()const EventStreamProvider<AudioProcessingEvent>('audioprocess')