Log Message: |
NKSP: Built-in instrument functions fixes & hardening:
* Fixed the following built-in functions having misinterpreted values given
with unit type (for their 2nd argument) as if they were relative values
(that is as if they were passed without a unit type): "change_attack()",
"change_decay()", "change_release()", "change_cutoff_attack()",
"change_cutoff_decay()", "change_cutoff_release()".
* Fixed the following built-in functions having applied completely wrong
'final' values: "change_sustain()", "change_cutoff_sustain()" (since the
respective EGs being their modulation sink assume uint data type with
value range 0..1000 instead of 0.0..1.0.
* Added individual parse-time checks of function arguments for the following
built-in functions: "play_note()", "note_off()", "set_event_mark()",
"delete_event_mark()", "by_marks()", "change_cutoff()", "change_attack()",
"change_decay()", "change_release()", "change_cutoff_attack()",
"change_cutoff_decay()", "change_cutoff_release()",
"change_amp_lfo_freq()", "change_cutoff_lfo_freq()",
"change_pitch_lfo_freq()", "change_vol_time()", "change_tune_time()" and
"change_pan_time()".
* Don't abort function call if unit type was used and at the same time
'final' operator was omitted for the primary value argument of the
following built-in functions: "change_cutoff()", "change_attack()",
"change_decay()", "change_release()", "change_cutoff_attack()",
"change_cutoff_decay()", "change_cutoff_release()",
"change_amp_lfo_freq()", "change_cutoff_lfo_freq()",
"change_pitch_lfo_freq()", "change_vol_time()", "change_tune_time()",
"change_pan_time()", instead imply 'final'ness at runtime and raise an
appropriate parser warning at parse time.
* Bumped version (2.1.1.svn13).
|