dart:web_audio
ScriptProcessorNode class
- Inheritance
- Annotations
- @Native("ScriptProcessorNode,JavaScriptAudioNode")
Properties
- bufferSize → int
final
- onAudioProcess → Stream<AudioProcessingEvent>
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. - channelCount ↔ int
read / write, inherited
- channelCountMode ↔ String
read / write, inherited
- channelInterpretation ↔ String
read / write, inherited
- context → BaseAudioContext
final, inherited
- hashCode → int
read-only, inherited
- The hash code for this object. [...]
- numberOfInputs → int
final, inherited
- numberOfOutputs → int
final, inherited
- on → Events
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.
- runtimeType → Type
read-only, inherited
- A representation of the runtime type of the object.
Methods
- setEventListener(EventListener eventListener) → void
- addEventListener(String type, EventListener listener, [ bool useCapture ]) → void
inherited
- connectNode(AudioNode destination, [ int output = 0, int input = 0 ]) → void
inherited
- connectParam(AudioParam destination, [ int output = 0 ]) → void
inherited
- disconnect([dynamic destination_OR_output, int output, int input ]) → void
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
- toString() → String
inherited
- Returns a string representation of this object.
Operators
- operator ==(dynamic other) → bool
inherited
- The equality operator. [...]
Constants
- audioProcessEvent → const EventStreamProvider<AudioProcessingEvent>
- Static factory designed to expose
audioprocess
events to event handlers that are not necessarily instances of ScriptProcessorNode. [...] const EventStreamProvider<AudioProcessingEvent>('audioprocess')