Search
Preparing search index...
The search index is not available
@yandeu/audio
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
@yandeu/audio
audio/audioLoader
AudioLoader
Class AudioLoader
Hierarchy
Loader
AudioLoader
Index
Constructors
constructor
Properties
cross
Origin
manager
path
request
Header
resource
Path
with
Credentials
Methods
load
load
Async
set
Cross
Origin
set
Path
set
Request
Header
set
Resource
Path
set
With
Credentials
Constructors
constructor
new
Audio
Loader
(
manager
?:
undefined
)
:
AudioLoader
Parameters
manager:
undefined
= ...
Returns
AudioLoader
Properties
cross
Origin
cross
Origin
:
string
default
'anonymous'
manager
manager
:
LoadingManager
path
path
:
string
default
''
request
Header
request
Header
:
{}
default
{}
Type declaration
[
header:
string
]:
string
resource
Path
resource
Path
:
string
default
''
with
Credentials
with
Credentials
:
boolean
default:
false
Methods
load
load
(
url
:
string
, onLoad
:
any
, onProgress
:
any
, onError
:
any
)
:
void
Parameters
url:
string
onLoad:
any
onProgress:
any
onError:
any
Returns
void
load
Async
load
Async
(
url
:
string
, onProgress
?:
(
event
:
ProgressEvent
<
EventTarget
>
)
=>
void
)
:
Promise
<
any
>
Parameters
url:
string
Optional
onProgress:
(
event
:
ProgressEvent
<
EventTarget
>
)
=>
void
(
event
:
ProgressEvent
<
EventTarget
>
)
:
void
Parameters
event:
ProgressEvent
<
EventTarget
>
Returns
void
Returns
Promise
<
any
>
set
Cross
Origin
set
Cross
Origin
(
crossOrigin
:
string
)
:
AudioLoader
Parameters
crossOrigin:
string
Returns
AudioLoader
set
Path
set
Path
(
path
:
string
)
:
AudioLoader
Parameters
path:
string
Returns
AudioLoader
set
Request
Header
set
Request
Header
(
requestHeader
:
{}
)
:
AudioLoader
Parameters
requestHeader:
{}
[
header:
string
]:
string
Returns
AudioLoader
set
Resource
Path
set
Resource
Path
(
resourcePath
:
string
)
:
AudioLoader
Parameters
resourcePath:
string
Returns
AudioLoader
set
With
Credentials
set
With
Credentials
(
value
:
boolean
)
:
AudioLoader
Parameters
value:
boolean
Returns
AudioLoader
Modules
audio/audio
audio/audio
Analyser
audio/audio
Context
audio/audio
Listener
audio/audio
Loader
audio
Manager
index
version
Audio
Loader
constructor
cross
Origin
manager
path
request
Header
resource
Path
with
Credentials
load
load
Async
set
Cross
Origin
set
Path
set
Request
Header
set
Resource
Path
set
With
Credentials
Generated using
TypeDoc
'anonymous'