Dart API Reference
dart:web_audio
AudioBufferSourceNode
AudioBufferSourceNode
class
Annotated by:
DocsEditable()
DomName('AudioBufferSourceNode')
SupportedBrowser(SupportedBrowser.CHROME)
SupportedBrowser(SupportedBrowser.FIREFOX)
Experimental()
Extends:
AudioSourceNode
AudioNode
EventTarget
Object
Constants
endedEvent
=
const
EventStreamProvider
<
Event
>
('ended')
Static factory designed to expose ended events to event handlers that are not necessarily instances of
AudioBufferSourceNode
.
Instance Properties
buffer
AudioBuffer
read/write
loop
bool
read/write
loopEnd
num
read/write
loopStart
num
read/write
playbackRate
AudioParam
read-only
onEnded
Stream
<
Event
>
read-only
on
Events
Inherited
read-only
channelCount
int
Inherited
read/write
channelCountMode
String
Inherited
read/write
channelInterpretation
String
Inherited
read/write
context
AudioContext
Inherited
read-only
numberOfInputs
int
Inherited
read-only
numberOfOutputs
int
Inherited
read-only
Instance Methods
start
( [
num
when
,
num
grainOffset
,
num
grainDuration
] ) →
void
stop
( [
num
when
] ) →
void
addEventListener
Inherited
(
String
type
,
dynamic
listener
(
Event
event
)
, [
bool
useCapture
] ) →
void
removeEventListener
Inherited
(
String
type
,
dynamic
listener
(
Event
event
)
, [
bool
useCapture
] ) →
void
dispatchEvent
Inherited
(
Event
event
) →
bool
disconnect
Inherited
(
int
output
) →
void
connectNode
Inherited
(
AudioNode
destination
, [
int
output
=
0
,
int
input
=
0
] ) →
void
connectParam
Inherited
(
AudioParam
destination
, [
int
output
=
0
] ) →
void