Search
Preparing search index...
The search index is not available
webaudiofont
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
webaudiofont
player
WebAudioFontPlayer
Class WebAudioFontPlayer
Hierarchy
WebAudioFontPlayer
Index
Constructors
constructor
Properties
adjust
Preset
adjust
Zone
after
Time
envelopes
loader
near
Zero
Methods
cancel
Queue
create
Channel
create
Reverberator
find
Envelope
find
Zone
limit
Volume
no
Zero
Volume
num
Value
queue
Chord
queue
Snap
queue
Strum
queue
Strum
Down
queue
Strum
Up
queue
Wave
Table
resume
Context
setup
Envelope
Constructors
constructor
new
Web
Audio
Font
Player
(
)
:
WebAudioFontPlayer
Returns
WebAudioFontPlayer
Properties
adjust
Preset
adjust
Preset
:
(
audioContext
:
AudioContext
, preset
:
WavePreset
)
=>
void
= ...
Type declaration
(
audioContext
:
AudioContext
, preset
:
WavePreset
)
:
void
Parameters
audioContext:
AudioContext
preset:
WavePreset
Returns
void
adjust
Zone
adjust
Zone
:
(
audioContext
:
AudioContext
, zone
:
WaveZone
)
=>
void
= ...
Type declaration
(
audioContext
:
AudioContext
, zone
:
WaveZone
)
:
void
Parameters
audioContext:
AudioContext
zone:
WaveZone
Returns
void
after
Time
after
Time
:
number
= 0.05
envelopes
envelopes
:
WaveEnvelope
[]
= []
loader
loader
:
WebAudioFontLoader
= ...
near
Zero
near
Zero
:
number
= 0.000001
Methods
cancel
Queue
cancel
Queue
(
audioContext
:
AudioContext
)
:
void
Parameters
audioContext:
AudioContext
Returns
void
create
Channel
create
Channel
(
audioContext
:
AudioContext
)
:
WebAudioFontChannel
Parameters
audioContext:
AudioContext
Returns
WebAudioFontChannel
create
Reverberator
create
Reverberator
(
audioContext
:
AudioContext
)
:
WebAudioFontReverberator
Parameters
audioContext:
AudioContext
Returns
WebAudioFontReverberator
find
Envelope
find
Envelope
(
audioContext
:
AudioContext
, target
:
AudioNode
)
:
WaveEnvelope
Parameters
audioContext:
AudioContext
target:
AudioNode
Returns
WaveEnvelope
find
Zone
find
Zone
(
audioContext
:
AudioContext
, preset
:
WavePreset
, pitch
:
number
)
:
null
|
WaveZone
Parameters
audioContext:
AudioContext
preset:
WavePreset
pitch:
number
Returns
null
|
WaveZone
limit
Volume
limit
Volume
(
volume
:
undefined
|
number
)
:
number
Parameters
volume:
undefined
|
number
Returns
number
no
Zero
Volume
no
Zero
Volume
(
n
:
number
)
:
number
Parameters
n:
number
Returns
number
num
Value
num
Value
(
aValue
:
any
, defValue
:
number
)
:
number
Parameters
aValue:
any
defValue:
number
Returns
number
queue
Chord
queue
Chord
(
audioContext
:
AudioContext
, target
:
AudioNode
, preset
:
WavePreset
, when
:
number
, pitches
:
number
[]
, duration
:
number
, volume
?:
number
, slides
?:
WaveSlide
[]
[]
)
:
WaveEnvelope
[]
Parameters
audioContext:
AudioContext
target:
AudioNode
preset:
WavePreset
when:
number
pitches:
number
[]
duration:
number
Optional
volume:
number
Optional
slides:
WaveSlide
[]
[]
Returns
WaveEnvelope
[]
queue
Snap
queue
Snap
(
audioContext
:
AudioContext
, target
:
AudioNode
, preset
:
WavePreset
, when
:
number
, pitches
:
number
[]
, duration
:
number
, volume
?:
number
, slides
?:
WaveSlide
[]
[]
)
:
WaveEnvelope
[]
Parameters
audioContext:
AudioContext
target:
AudioNode
preset:
WavePreset
when:
number
pitches:
number
[]
duration:
number
Optional
volume:
number
Optional
slides:
WaveSlide
[]
[]
Returns
WaveEnvelope
[]
queue
Strum
queue
Strum
(
audioContext
:
AudioContext
, target
:
AudioNode
, preset
:
WavePreset
, when
:
number
, pitches
:
number
[]
, duration
:
number
, volume
?:
number
, slides
?:
WaveSlide
[]
[]
)
:
WaveEnvelope
[]
Parameters
audioContext:
AudioContext
target:
AudioNode
preset:
WavePreset
when:
number
pitches:
number
[]
duration:
number
Optional
volume:
number
Optional
slides:
WaveSlide
[]
[]
Returns
WaveEnvelope
[]
queue
Strum
Down
queue
Strum
Down
(
audioContext
:
AudioContext
, target
:
AudioNode
, preset
:
WavePreset
, when
:
number
, pitches
:
number
[]
, duration
:
number
, volume
?:
number
, slides
?:
WaveSlide
[]
[]
)
:
WaveEnvelope
[]
Parameters
audioContext:
AudioContext
target:
AudioNode
preset:
WavePreset
when:
number
pitches:
number
[]
duration:
number
Optional
volume:
number
Optional
slides:
WaveSlide
[]
[]
Returns
WaveEnvelope
[]
queue
Strum
Up
queue
Strum
Up
(
audioContext
:
AudioContext
, target
:
AudioNode
, preset
:
WavePreset
, when
:
number
, pitches
:
number
[]
, duration
:
number
, volume
?:
number
, slides
?:
WaveSlide
[]
[]
)
:
WaveEnvelope
[]
Parameters
audioContext:
AudioContext
target:
AudioNode
preset:
WavePreset
when:
number
pitches:
number
[]
duration:
number
Optional
volume:
number
Optional
slides:
WaveSlide
[]
[]
Returns
WaveEnvelope
[]
queue
Wave
Table
queue
Wave
Table
(
audioContext
:
AudioContext
, target
:
AudioNode
, preset
:
WavePreset
, when
:
number
, pitch
:
number
, duration
:
number
, volume
?:
number
, slides
?:
WaveSlide
[]
)
:
null
|
WaveEnvelope
Parameters
audioContext:
AudioContext
target:
AudioNode
preset:
WavePreset
when:
number
pitch:
number
duration:
number
Optional
volume:
number
Optional
slides:
WaveSlide
[]
Returns
null
|
WaveEnvelope
resume
Context
resume
Context
(
audioContext
:
AudioContext
)
:
void
Parameters
audioContext:
AudioContext
Returns
void
setup
Envelope
setup
Envelope
(
audioContext
:
AudioContext
, envelope
:
WaveEnvelope
, zone
:
WaveZone
, volume
:
number
, when
:
number
, sampleDuration
:
number
, noteDuration
:
number
)
:
void
Parameters
audioContext:
AudioContext
envelope:
WaveEnvelope
zone:
WaveZone
volume:
number
when:
number
sampleDuration:
number
noteDuration:
number
Returns
void
Modules
channel
loader
otypes
player
reverberator
ticker
Web
Audio
Font
Player
constructor
adjust
Preset
adjust
Zone
after
Time
envelopes
loader
near
Zero
cancel
Queue
create
Channel
create
Reverberator
find
Envelope
find
Zone
limit
Volume
no
Zero
Volume
num
Value
queue
Chord
queue
Snap
queue
Strum
queue
Strum
Down
queue
Strum
Up
queue
Wave
Table
resume
Context
setup
Envelope
Generated using
TypeDoc