From 0573c5d52174eb78c9dad41a57415ea4bcef8b25 Mon Sep 17 00:00:00 2001 From: Florian Jung Date: Tue, 11 Jan 2011 20:29:00 +0100 Subject: Envelope can now stay in sustain phase forever --- synth/envelope.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'synth/envelope.h') 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; -- cgit v1.2.3