AudioBufferSourceNode class
- Inheritance
- Object
- JSObject
- DartHtmlDomObject
- EventTarget
- AudioNode
- AudioSourceNode
- AudioBufferSourceNode
- Annotations
- @DocsEditable()
- @DomName('AudioBufferSourceNode')
- @SupportedBrowser(SupportedBrowser.CHROME)
- @SupportedBrowser(SupportedBrowser.FIREFOX)
- @Experimental()
Constants
- endedEvent → EventStreamProvider<Event> @DocsEditable(), @DomName('AudioBufferSourceNode.endedEvent'), @Experimental()
-
Static factory designed to expose
ended
events to event handlers that are not necessarily instances of AudioBufferSourceNode.const EventStreamProvider<Event>
('ended')
Static Properties
- instanceRuntimeType → Type @Deprecated("Internal Use Only"), read-only
Constructors
Properties
- buffer → AudioBuffer @DocsEditable(), @DomName('AudioBufferSourceNode.buffer'), read / write
- detune → AudioParam @DocsEditable(), @DomName('AudioBufferSourceNode.detune'), @Experimental(), read-only
- loop → bool @DocsEditable(), @DomName('AudioBufferSourceNode.loop'), read / write
- loopEnd → num @DocsEditable(), @DomName('AudioBufferSourceNode.loopEnd'), read / write
- loopStart → num @DocsEditable(), @DomName('AudioBufferSourceNode.loopStart'), read / write
- onEnded → Stream<Event> @DocsEditable(), @DomName('AudioBufferSourceNode.onended'), @Experimental(), read-only
-
Stream of
ended
events handled by thisAudioBufferSourceNode
. - playbackRate → AudioParam @DocsEditable(), @DomName('AudioBufferSourceNode.playbackRate'), 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'), read-only, inherited
- hashCode → int read-only, inherited
- numberOfInputs → int @DocsEditable(), @DomName('AudioNode.numberOfInputs'), read-only, inherited
- numberOfOutputs → int @DocsEditable(), @DomName('AudioNode.numberOfOutputs'), read-only, 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.
Operators
- operator ==(
other) → bool inherited -
The equality operator.
Methods
- start(
[num when, num grainOffset, num grainDuration ]) → void - stop(
[num when ]) → void - 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/AudioBufferSourceNode-class.html