@turbowarp/types
Preparing search index...
scratch-audio
AudioEngine
EffectChain
Interface EffectChain
interface
EffectChain
{
_effects
:
AudioEngine
.
Effect
[]
;
_soundPlayers
:
Set
<
SoundPlayer
>
;
audioEngine
:
AudioEngine
;
effects
:
EffectConstructor
[]
;
firstEffect
:
AudioEngine
.
Effect
;
inputNode
:
GainNode
;
lastEffect
:
AudioEngine
.
Effect
;
target
?:
AudioNode
;
addSoundPlayer
(
soundPlayer
:
SoundPlayer
)
:
void
;
clear
()
:
void
;
clone
()
:
EffectChain
;
connect
(
target
:
AudioNode
)
:
void
;
dispose
()
:
void
;
getInputNode
()
:
GainNode
;
getSoundPlayers
()
:
SoundPlayer
[]
;
removeSoundPlayer
(
soundPlayer
:
SoundPlayer
)
:
void
;
set
(
effect
:
string
,
value
:
number
)
:
void
;
setEffectsFromTarget
(
target
:
AudioEngine
.
Target
)
:
void
;
update
()
:
void
;
}
Index
Properties
_
effects
_
sound
Players
audio
Engine
effects
first
Effect
input
Node
last
Effect
target?
Methods
add
Sound
Player
clear
clone
connect
dispose
get
Input
Node
get
Sound
Players
remove
Sound
Player
set
set
Effects
From
Target
update
Properties
_
effects
_effects
:
AudioEngine
.
Effect
[]
_
sound
Players
_soundPlayers
:
Set
<
SoundPlayer
>
audio
Engine
audioEngine
:
AudioEngine
effects
effects
:
EffectConstructor
[]
first
Effect
firstEffect
:
AudioEngine
.
Effect
input
Node
inputNode
:
GainNode
last
Effect
lastEffect
:
AudioEngine
.
Effect
Optional
target
target
?:
AudioNode
Methods
add
Sound
Player
addSoundPlayer
(
soundPlayer
:
SoundPlayer
)
:
void
Parameters
soundPlayer
:
SoundPlayer
Returns
void
clear
clear
()
:
void
Returns
void
clone
clone
()
:
EffectChain
Returns
EffectChain
connect
connect
(
target
:
AudioNode
)
:
void
Parameters
target
:
AudioNode
Returns
void
dispose
dispose
()
:
void
Returns
void
get
Input
Node
getInputNode
()
:
GainNode
Returns
GainNode
get
Sound
Players
getSoundPlayers
()
:
SoundPlayer
[]
Returns
SoundPlayer
[]
remove
Sound
Player
removeSoundPlayer
(
soundPlayer
:
SoundPlayer
)
:
void
Parameters
soundPlayer
:
SoundPlayer
Returns
void
set
set
(
effect
:
string
,
value
:
number
)
:
void
Parameters
effect
:
string
value
:
number
Returns
void
set
Effects
From
Target
setEffectsFromTarget
(
target
:
AudioEngine
.
Target
)
:
void
Parameters
target
:
AudioEngine
.
Target
Returns
void
update
update
()
:
void
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
_
effects
_
sound
Players
audio
Engine
effects
first
Effect
input
Node
last
Effect
target
Methods
add
Sound
Player
clear
clone
connect
dispose
get
Input
Node
get
Sound
Players
remove
Sound
Player
set
set
Effects
From
Target
update
@turbowarp/types
Loading...