diff options
author | Florian Jung <flo@thinkpad.(none)> | 2011-01-11 20:29:00 +0100 |
---|---|---|
committer | Florian Jung <flo@thinkpad.(none)> | 2011-01-11 20:29:00 +0100 |
commit | 0573c5d52174eb78c9dad41a57415ea4bcef8b25 (patch) | |
tree | 742bb31425d0aaefa97eeeaa7f77a3d407f6237c /synth/envelope.h | |
parent | 8201450efc105691e343c50b4eab946f7b0ee038 (diff) |
Envelope can now stay in sustain phase forever
Diffstat (limited to 'synth/envelope.h')
-rw-r--r-- | synth/envelope.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synth/envelope.h b/synth/envelope.h index 65ea723..be50fa2 100644 --- a/synth/envelope.h +++ b/synth/envelope.h @@ -14,7 +14,6 @@ class Envelope { public: - Envelope(jack_nframes_t a, jack_nframes_t d, fixed_t s, jack_nframes_t r, bool h, int frames=1); Envelope(env_settings_t s, int frames=1); void release_key(); void reattack(); @@ -53,6 +52,7 @@ class Envelope fixed_t sustain_orig; fixed_t level; bool hold; + bool has_release_phase; jack_nframes_t t; fixed_t ratefactor; |