mirror of
https://github.com/TomHarte/CLK.git
synced 2025-02-16 18:30:32 +00:00
Ensure all channels begin in 'release' phase, which is currently code for 'off' in conjunction with attenuation of 511.
This commit is contained in:
parent
ea42fe638a
commit
75315406bb
@ -186,7 +186,7 @@ template <int envelope_precision, int period_precision> class EnvelopeGenerator
|
||||
private:
|
||||
enum class Phase {
|
||||
Attack, Decay, Sustain, Release, Damp
|
||||
} phase_ = Phase::Attack;
|
||||
} phase_ = Phase::Release;
|
||||
int attenuation_ = 511, tremolo_ = 0;
|
||||
|
||||
bool key_on_ = false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user