diff options
author | Florian Jung <flo@thinkpad.(none)> | 2011-01-15 18:13:48 +0100 |
---|---|---|
committer | Florian Jung <flo@thinkpad.(none)> | 2011-01-15 18:13:48 +0100 |
commit | 67025394dcbc2d0917c89856c40be3b9198eca5e (patch) | |
tree | 48ac8600e1d4141ee587458db1076e967393fe35 /synth/envelope.h | |
parent | 9e3998bbaddf4eb6df8544497e42231137824998 (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.h | 2 |
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; } |