diff options
author | Florian Jung <flo@thinkpad.(none)> | 2011-01-15 15:27:38 +0100 |
---|---|---|
committer | Florian Jung <flo@thinkpad.(none)> | 2011-01-15 15:27:38 +0100 |
commit | 550497e9b09894a79c1c9888901bbbf4949a614b (patch) | |
tree | 22a1b1f5eac70051eb8336312569ad07c512cc82 /synth/envelope.h | |
parent | 9e3998bbaddf4eb6df8544497e42231137824998 (diff) |
Added rudimentary support for freq-envelopes
todo: pfactor'ed amount
todo: support for 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; } |