Preparing search index...
The search index is not available
Tone.js
Tone.js
PlayerOptions
Interface PlayerOptions
interface
PlayerOptions
{
autostart
:
boolean
;
context
:
BaseContext
;
fadeIn
:
Unit
.
Time
;
fadeOut
:
Unit
.
Time
;
loop
:
boolean
;
loopEnd
:
Unit
.
Time
;
loopStart
:
Unit
.
Time
;
mute
:
boolean
;
onerror
:
(
(
error
)
=>
void
)
;
onload
:
(
(
)
=>
void
)
;
onstop
:
onStopCallback
;
playbackRate
:
number
;
reverse
:
boolean
;
url
?:
string
|
AudioBuffer
|
ToneAudioBuffer
;
volume
:
number
;
}
Hierarchy
SourceOptions
PlayerOptions
Index
Properties
autostart
context
fade
In
fade
Out
loop
loop
End
loop
Start
mute
onerror
onload
onstop
playback
Rate
reverse
url?
volume
Properties
autostart
autostart
:
boolean
context
context
:
BaseContext
fade
In
fade
In
:
Unit
.
Time
fade
Out
fade
Out
:
Unit
.
Time
loop
loop
:
boolean
loop
End
loop
End
:
Unit
.
Time
loop
Start
loop
Start
:
Unit
.
Time
mute
mute
:
boolean
onerror
onerror
:
(
(
error
)
=>
void
)
Type declaration
(
error
)
:
void
Parameters
error
:
Error
Returns
void
onload
onload
:
(
(
)
=>
void
)
Type declaration
(
)
:
void
Returns
void
onstop
onstop
:
onStopCallback
playback
Rate
playback
Rate
:
number
reverse
reverse
:
boolean
Optional
url
url
?:
string
|
AudioBuffer
|
ToneAudioBuffer
volume
volume
:
number
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
On This Page
autostart
context
fade
In
fade
Out
loop
loop
End
loop
Start
mute
onerror
onload
onstop
playback
Rate
reverse
url
volume
Tone.js
Loading...