summaryrefslogtreecommitdiff
path: root/synth/envelope.h
diff options
context:
space:
mode:
authorFlorian Jung <flo@thinkpad.(none)>2011-01-15 18:13:48 +0100
committerFlorian Jung <flo@thinkpad.(none)>2011-01-15 18:13:48 +0100
commit67025394dcbc2d0917c89856c40be3b9198eca5e (patch)
tree48ac8600e1d4141ee587458db1076e967393fe35 /synth/envelope.h
parent9e3998bbaddf4eb6df8544497e42231137824998 (diff)
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
Diffstat (limited to 'synth/envelope.h')
-rw-r--r--synth/envelope.h2
1 files changed, 1 insertions, 1 deletions
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; }