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