From 67025394dcbc2d0917c89856c40be3b9198eca5e Mon Sep 17 00:00:00 2001 From: Florian Jung Date: Sat, 15 Jan 2011 18:13:48 +0100 Subject: Implemented freq-envelopes for non-compiled notes plus some tiny bugfixes: - in Envelope (get_sustain now returns orig_sustain) - parser now uses isnum instead of isfloat where appropriate --- 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 be50fa2..a9bb15b 100644 --- a/synth/envelope.h +++ b/synth/envelope.h @@ -35,7 +35,7 @@ class Envelope bool get_hold() { return hold; } jack_nframes_t get_attack() { return attack_orig; } jack_nframes_t get_decay() { return decay_orig; } - fixed_t get_sustain() { return sustain; } + fixed_t get_sustain() { return sustain_orig; } jack_nframes_t get_release() { return release_orig; } -- cgit v1.2.3