diff options
author | Florian Jung <flo@thinkpad.(none)> | 2011-02-08 15:58:19 +0100 |
---|---|---|
committer | Florian Jung <flo@thinkpad.(none)> | 2011-02-08 15:58:19 +0100 |
commit | a51271035a8591f8221e9ca6bccc5b98e29f23e1 (patch) | |
tree | a0f0259b19d65d0a9b4ce39e14037f78937a9cf4 /note_compiler/util.cpp | |
parent | 080ddd252d94b9304db3858bc3b7f79cf2f89f33 (diff) |
First try to make the compiler up-to-dateupdated_compiler
Diffstat (limited to 'note_compiler/util.cpp')
-rw-r--r-- | note_compiler/util.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/note_compiler/util.cpp b/note_compiler/util.cpp index f73b8bb..b3ea1af 100644 --- a/note_compiler/util.cpp +++ b/note_compiler/util.cpp @@ -173,6 +173,18 @@ parameter_enum param_to_enum(string param) return FILTER_TREM_LFO; else if (param=="sync_factor") return SYNC_FACTOR; + else if (param=="freq.env_amount") + return FREQ_ENV_AMOUNT; + else if (param=="freq.attack") + return FREQ_ATTACK; + else if (param=="freq.decay") + return FREQ_DECAY; + else if (param=="freq.sustain") + return FREQ_SUSTAIN; + else if (param=="freq.release") + return FREQ_RELEASE; + else if (param=="freq.hold") + return FREQ_HOLD; else return UNKNOWN; } |