c2.js
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Analyser
Audio
In
Sound
constructor
audio
context
node
autoplay
connect
current
Time
disconnect
duration
loop
pause
paused
play
volume
Hierarchy
Sound
Index
Constructors
constructor
Properties
audio
context
node
Methods
autoplay
connect
current
Time
disconnect
duration
loop
pause
paused
play
volume
Constructors
constructor
new
Sound
(
url
:
string
, callback
:
Function
)
:
Sound
Parameters
url:
string
callback:
Function
Returns
Sound
Properties
audio
audio
:
HTMLMediaElement
context
context
:
AudioContext
node
node
:
MediaElementAudioSourceNode
Methods
autoplay
autoplay
(
auto
?:
boolean
)
:
void
Parameters
auto:
boolean
= true
Returns
void
connect
connect
(
node
:
AudioNode
)
:
void
Parameters
node:
AudioNode
Returns
void
current
Time
current
Time
(
)
:
number
Returns
number
disconnect
disconnect
(
)
:
void
Returns
void
duration
duration
(
)
:
number
Returns
number
loop
loop
(
loop
?:
boolean
)
:
void
Parameters
loop:
boolean
= true
Returns
void
pause
pause
(
)
:
void
Returns
void
paused
paused
(
)
:
boolean
Returns
boolean
play
play
(
)
:
void
Returns
void
volume
volume
(
)
:
number
Returns
number