--- linuxsampler/trunk/ChangeLog 2019/08/30 17:51:24 3585 +++ linuxsampler/trunk/ChangeLog 2019/09/02 16:53:16 3593 @@ -138,6 +138,50 @@ - NKSP parser: if wrong argument type was passed to a built-in function and that built-in function accepts more than one data type for the argument, then show all supported data types as parser error message. + - Built-in function "play_note()" accepts now real numbers and seconds as + unit type as well for its 3rd and 4th function arguments. + - The following built-in functions accept now real numbers as well for their + 2nd function argument: "change_vol()", "change_tune()", "change_cutoff()", + "change_attack()", "change_decay()", "change_release()", + "change_sustain()", "change_cutoff_attack()", "change_cutoff_decay()", + "change_cutoff_sustain()", "change_cutoff_release()", + "change_amp_lfo_freq()", "change_cutoff_lfo_freq()", + "change_pitch_lfo_freq()", "change_vol_time()", "change_tune_time()", + "change_pan_time()", "fade_in()", "fade_out()", "change_play_pos()". + - Fixed built-in function "change_play_pos()" not having accepted metric + prefixes at all. + - 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. + - Added built-in real number functions "round()", "ceil()", "floor()", + "sqrt()", "log()", "log2()", "log10()", "exp()", "pow()", "sin()", + "cos()", "tan()", "asin()", "acos()", "atan()". + - Added built-in script real number constant "~NI_MATH_PI". + - Added built-in script real number constant "~NI_MATH_E". + - NKSP language: Allow unary '+' operator. * test cases: - Fixed compiler errors in test cases. @@ -156,6 +200,16 @@ 'final' operator usage cases. - Added NKSP test cases for (floating point tolerance aware) real number equalness / unequalness comparison. + - Added NKSP int array and real array tests for value assignment and + initialization of arrays. + - Added NKSP test cases for built-in functions "round()", "ceil()", + "floor()", "sqrt()", "log()", "log2()", "log10()", "exp()", "pow()", + "sin()", "cos()", "tan()", "asin()", "acos()", "atan()". + - Added NKSP test cases for unary '+' operator. + + * SFZ format engine: + - Fixed support for regions with loccN/hiccN conditions on more than one + MIDI controller. Version 2.1.1 (27 Jul 2019)