class Orange::Envelopes::Adsr
- Orange::Envelopes::Adsr
- Orange::Envelopes::Envelope
- Reference
- Object
Overview
Attack, Decay, Sustain, Release https://en.wikipedia.org/wiki/Envelope_(music)
Defined in:
orange/envelopes/adsr.crConstructors
Instance Method Summary
- #amplitude_multiplier(second, duration)
- #attack_amplitude : Float64
- #attack_amplitude=(attack_amplitude : Float64)
- #attack_time : Float64
- #attack_time=(attack_time : Float64)
- #decay_time : Float64
- #decay_time=(decay_time : Float64)
- #release_time : Float64
- #release_time=(release_time : Float64)
- #sustain_amplitude : Float64
- #sustain_amplitude=(sustain_amplitude : Float64)
Instance methods inherited from class Orange::Envelopes::Envelope
amplitude_multiplier(second, duration)
amplitude_multiplier
Constructor Detail
def self.new(*, attack_amplitude : Float64 = 1.0, attack_time : Float64 = 0.0, decay_time : Float64 = 0.0, release_time : Float64 = 0.0, sustain_amplitude : Float64 = 1.0)
#