ScriptProcessorNode class

Inheritance
Annotations
  • @DocsEditable()
  • @DomName('ScriptProcessorNode')
  • @Experimental()

Constants

audioProcessEventEventStreamProvider<AudioProcessingEvent>
@DocsEditable(), @DomName('ScriptProcessorNode.audioprocessEvent'), @Experimental()

Static factory designed to expose audioprocess events to event handlers that are not necessarily instances of ScriptProcessorNode.

Static Properties

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

Constructors

ScriptProcessorNode.internal_()

Properties

bufferSizeint
@DocsEditable(), @DomName('ScriptProcessorNode.bufferSize'), read-only
onAudioProcessStream<AudioProcessingEvent>
@DocsEditable(), @DomName('ScriptProcessorNode.onaudioprocess'), @Experimental(), read-only

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.

channelCountint
@DocsEditable(), @DomName('AudioNode.channelCount'), read / write, inherited
channelCountModeString
@DocsEditable(), @DomName('AudioNode.channelCountMode'), read / write, inherited
channelInterpretationString
@DocsEditable(), @DomName('AudioNode.channelInterpretation'), read / write, inherited
contextAudioContext
@DocsEditable(), @DomName('AudioNode.context'), read-only, inherited
hashCodeint
read-only, inherited
numberOfInputsint
@DocsEditable(), @DomName('AudioNode.numberOfInputs'), read-only, inherited
numberOfOutputsint
@DocsEditable(), @DomName('AudioNode.numberOfOutputs'), read-only, 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.

Operators

operator ==(other) → bool
inherited

The equality operator.

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
inherited
dispatchEvent(Event event) → bool
@DocsEditable(), @DomName('EventTarget.dispatchEvent'), 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
toString() → String
inherited

Returns the result of the JavaScript objects toString method.

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/1.24.3/dart-web_audio/ScriptProcessorNode-class.html