--- linuxsampler/trunk/ChangeLog 2019/08/30 12:23:40 3582 +++ linuxsampler/trunk/ChangeLog 2019/08/31 12:08:49 3587 @@ -125,6 +125,31 @@ NumberBinaryOp, VMScalarNumberResultFunction -> VMNumberResultFunction, method VMExpr::asScalarNumberExpr() -> VMExpr::asNumber(), function isScalarNumber() -> isNumber()). + - NKSP VM API: Added 4 overridden methods to class VMNumberExpr: + evalCastInt(MetricPrefix_t), evalCastInt(MetricPrefix_t,MetricPrefix_t), + evalCastReal(MetricPrefix_t), evalCastReal(MetricPrefix_t,MetricPrefix_t) + as convenient methods for automatically converting values to expected + metric value basis. + - Built-in function "wait()" accepts now both integers and real numbers as + argument. + - NKSP VM API cleanup: Get rid of legacy method + VMFunction::argType(vmint iArg) which was already superseded by its new + replacement VMFunction::acceptsArgType(vmint iArg, ExprType_t type). + - 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. * test cases: - Fixed compiler errors in test cases. @@ -143,6 +168,8 @@ '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. Version 2.1.1 (27 Jul 2019)