API reference
EnvelopeConfig
strata-game-library/audio-synth
strata-game-library/audio-synth
strata-game-library/audio-synth / EnvelopeConfig
Interface: EnvelopeConfig
Defined in: core/types.ts:26
Envelope configuration for amplitude shaping.
Properties
attack
attack:
number
Defined in: core/types.ts:28
Attack time in seconds
decay
decay:
number
Defined in: core/types.ts:30
Decay time in seconds
release
release:
number
Defined in: core/types.ts:34
Release time in seconds
sustain
sustain:
number
Defined in: core/types.ts:32
Sustain level (0-1)
