--- linuxsampler/trunk/ChangeLog 2020/01/23 18:45:00 3725 +++ linuxsampler/trunk/ChangeLog 2020/02/01 18:11:20 3733 @@ -50,6 +50,7 @@ - Fixed crash when editing key groups (a.k.a. exclusive groups) with an instrument editor. - Fixed playing noise at the end of a disk stream under certain conditions. + - Fixed potential crash with high pitch at end of RAM playback. * Real-time instrument scripts: - Added method ScriptVM::setExitResultEnabled() which allows to @@ -243,6 +244,18 @@ "change_amp_lfo_depth()", "change_cutoff_lfo_depth()" and "change_pitch_lfo_depth()", to allow e.g. passing value 2000000 to double the LFO frequency / resonance / cutoff frequency. + - Reduced code involved for parsing NKSP variable declarations by using 2 + generalized grammar rules with optional components (i.e. optional value + assignment and optional variable qualifiers) instead of previous linear + combinations of grammar rules, which also fixes some edge case. + - NKSP language parser: track code block locations also by a) raw byte + position in NKSP source code string and b) length of that code block in + bytes (along to the already existing code block tracking by line/column); + and added appropriate new members to public C++ API classes like + 'firstByte' and 'lengthBytes' to class VMSourceToken and struct CodeBlock. + - NKSP language: Added support for 'patch' variable qualifier (capture their + locations and allow replacement of their assignment expression via VM C++ + API). * test cases: - Fixed compiler errors in test cases. @@ -268,6 +281,7 @@ "sin()", "cos()", "tan()", "asin()", "acos()", "atan()". - Added NKSP test cases for unary '+' operator. - Added NKSP test cases for core built-in variables. + - Added thorough NKSP test cases for variable declarations. * GigaStudio/Gigasampler format engine: - LFOTriangleIntMath and LFOTriangleIntAbsMath: Fixed FlipPhase=true @@ -290,6 +304,9 @@ - If minimum cutoff is defined, remap cutoff controller CC values to really span the entire possible cutoff range (and avoiding a dead controller zone). + - Implemented support for loading instrument scripts with 'patch' variables + (by patching these script variables with potentially overridden ones by + gig Instrument). * SFZ format engine: - Fixed support for regions with loccN/hiccN conditions on more than one