class Haematite::VolumeEnvelope
- Haematite::VolumeEnvelope
- Reference
- Object
Overview
Represents an DADSR envelope for volume/amplification use.
Defined in:
haematite/volumeenvelope.crConstructors
-
.new(synth : Synthesizer)
Creates a new
VolumeEnvelope
instance.
Instance Method Summary
- #priority : Float64
-
#process : Bool
"Runs" the envelope
-
#release
Advances the envelope to the release stage.
-
#start(delay : Float64, attack : Float64, hold : Float64, decay : Float64, sustain : Float64, release : Float64)
Starts the envelope.
-
#start(region : InstrumentRegion, key : Int32, velocity : Int32)
Starts a
VolumeEnvelope
for an instrument. -
#start(region : RegionPair, key : Int32, velocity : Int32)
Starts a
VolumeEnvelope
for an instrument. -
#value : Float64
Returns the current envelope value.
Constructor Detail
Instance Method Detail
def start(delay : Float64, attack : Float64, hold : Float64, decay : Float64, sustain : Float64, release : Float64)
#
Starts the envelope.
def start(region : InstrumentRegion, key : Int32, velocity : Int32)
#
Starts a VolumeEnvelope
for an instrument.
def start(region : RegionPair, key : Int32, velocity : Int32)
#
Starts a VolumeEnvelope
for an instrument.