Templates, flexible envelopes
Pre-release
Pre-release
Woyten
released this
10 Dec 20:33
·
125 commits
to latest
since this release
- Improvement: Add templates to
Creator
.- Change: Add generic parameter
A: AutomationSpec
toCreator
.
- Change: Add generic parameter
- Improvement: Introduce
WaveformProperties
.- Change:
WaveformProperties
replacesWaveformState
. - New: Add
off_velocity
property. - Improvement:
key_pressure
property isOption<f64>
. - Deletion: Remove
secs_since_pressed
andsecs_since_released
. Those values are supposed to be aggregated within the render stages. - Change: Remove
note_suspension
argument fromMagnetron::write
.
- Change:
- Improvement: Envelopes are modeled as stages and support automations.
- Change:
EnvelopeSpec
replacesEnvelope
. - New: Add
velocity
property. Waveform stages can decide to ignore this property if no velocity sensitivity is desired. - New: Add
fadeout
property. Waveform stages can use any LF source to control the fade-out phase.
- Change:
- Change: Update
Waveform
design.Waveform::envelope
is of typeStage<T>
Stage<T>::render
returnsStageState::Exhausted
when waveform can no longer deliver any non-zero values- Waveform exhaustion is tracked in
Wavform::is_active