--- linuxsampler/trunk/ChangeLog 2019/08/31 12:08:49 3587 +++ linuxsampler/trunk/ChangeLog 2019/10/03 13:37:25 3625 @@ -10,6 +10,22 @@ - RTMath: Implemented floating point comparison methods fEqual32(float,float) and fEqual64(double,double) which take the expected floating point tolerances into account. + - Added public API C++ class "LFO", which is a cluster class encapsulating + all the sampler's LFO implementations to be used by 3rd party applications + (e.g. by Gigedit). + - Added int math square LFO implementation. + - Added int math saw LFO implementation. + - Added numeric complex nr sine LFO implementation. + - Marked class LFOTriangleDiHarmonic as deprecated + (will be removed in future). + - Added LFOAll.h which includes all LFO implementation's header files. + - Refactored LFO class names and their file names (PulseLFO -> LFOPulse, + LFOSawIntMath -> LFOSawIntMathNew, SawLFO -> LFOSawIntMathOld, + SineLFO -> LFOSineBuiltinFn, LFOSine -> LFOSineNumericComplexNr, + SquareLFO -> LFOSquarePulse and separated the latter to its own header + file). + - Renamed type LFOSigned -> LFOTriangleSigned. + - Renamed type LFOUnsigned -> LFOTriangleUnsigned. * Real-time instrument scripts: - Added method ScriptVM::setExitResultEnabled() which allows to @@ -150,6 +166,38 @@ "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. @@ -170,6 +218,38 @@ 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. + + * GigaStudio/Gigasampler format engine: + - LFOTriangleIntMath and LFOTriangleIntAbsMath: Fixed FlipPhase=true + behaviour for start_level_mid. + - Changed LFO start levels: LFO1 and LFO2 both to mid, LFO3 to max. start + level (see discussion "GigaStudio LFO compatibility" on mailing list + from 2019-09-26 for details). + - Changed default wave form for all 3 LFOs to sine (instead of triangle; + see discussion "GigaStudio LFO compatibility" on mailing list from + 2019-09-26 for details). + - Format extension: Added support for different LFO wave forms (currently + either sine [default], triangle, saw or square). + - Format extension: Added support for LFO phase displacement (0°..360°). + - Format extension: Added support for flipping LFO polarity on LFO 3 + (in the original gig format this was only available for LFO 1 and LFO 2). + + * SFZ format engine: + - Fixed support for regions with loccN/hiccN conditions on more than one + MIDI controller. + + * Benchmarks: + - Fixed benchmarks/triang.cpp falsely having favoured "int math abs" + algorithm (since result of 2nd run was not accumulated). + - Added benchmark for saw wave (benchmarks/saw.cpp). + - Added benchmark for sine wave (benchmarks/sine.cpp). + - Added benchmark for square wave (benchmarks/square.cpp). + - Increased amount of benchmarks runs by factor 6 to achieve benchmark times + which are large enough on modern systems. Version 2.1.1 (27 Jul 2019)