Kaba struct EnvelopeADSR ed
...
Syntax ed
struct EnvelopeADSR
var just_killed: bool
# constructors
func mut __init__()
# functions
func mut end()
func mut get() -> f32
func mut read(n: i32) -> f32[]
func mut reset()
func mut set(t_attack: f32, t_decay: f32, sustain: f32, t_release: f32, sample_rate: i32)
func mut set2(initial: f32, peak: f32)
func mut start(volume: f32)
# operators
func mut __assign__(other: EnvelopeADSR) # EnvelopeADSR = EnvelopeADSR
Functions ed
- func mut end()
- ...
- func mut get() -> f32
- ...
- func mut read(n: i32) -> f32[]
- ...
- func mut reset()
- ...
- func mut set(t_attack: f32, t_decay: f32, sustain: f32, t_release: f32, sample_rate: i32)
- ...
- func mut set2(initial: f32, peak: f32)
- ...
- func mut start(volume: f32)
- ...
Elements ed
- var just_killed: bool
- ...