--- linuxsampler/trunk/ChangeLog 2017/05/28 14:46:14 3228 +++ linuxsampler/trunk/ChangeLog 2017/11/28 15:54:49 3381 @@ -1,5 +1,12 @@ Version SVN trunk (?) + * Real-time instrument scripts: + - Fixed behavior of built-in NKSP functions change_sustain(), + change_cutoff_attack(), change_cutoff_decay(), change_cutoff_sustain() + and change_cutoff_release(). + +Version 2.1.0 (25 Nov 2017) + * SFZ format engine: - added support for , and #define (patch by Alby M) - Removed code duplication in SFZ file loading code. @@ -7,10 +14,18 @@ load real-time instrument script file (NKSP script language). - Implemented opcode set_ccN (initial patch by Giovanni Senatore). - Fixed unintended volume fade-in of voices under certain conditions. + - sfz parser: allow missing space between header and opcode * Gigasampler/GigaStudio format engine: - Fixed clicks and pumping noise with Lowpass Turbo filter on very low cutoff settings. + - Got rid of resembling an ancient GSt misbehavior which did not pitch at + all if an up-pitch of more than 40 semi tones was requested (I don't + think there is any stock gig sound that requires this behavior to + resemble its original sound). + - Added support for controlling whether the individual EGADSR stages may + be aborted (as LinuxSampler extension to the original GigaStudio 4 + format). * general changes: - fixed printf type errors (mostly in debug messages) @@ -44,12 +59,25 @@ sub threads is 16-byte aligned - fixed numerous compiler warnings - Fixed invalid (note-on) event ID being assigned to new Note objects. + - Revised fundamental C++ classes "Thread", "Mutex" and "Condition" which + fixes potential undefined behavior. + - Fixed Note object leak when triggering notes on keys which did not + have a valid sample mapped (fixes bug #252). + - Fixed compilation errors when compiling with CONFIG_DEVMODE enabled. + - linuxsampler binary fix: option --create-instruments-db ignored + subsequent optional argument due to glibc's implementation oddity + which expects a "=" sign, but no space between them. * packaging changes: - removed unnecessary dependency to libuuid (originated by libgig's usage of it) - Automake: set environment variable GCC_COLORS=auto to allow GCC to auto detect whether it (sh/c)ould output its messages in color. + - Debian: Fixed packaging error about invalid "Source-Version" + substitution variable. + - Debian: Raised Debian compatibility level to Debian 9 "Stretch". + - Debian: Added build dependency to libsqlite3-dev for building + linuxsampler with instruments DB support. * Real-time instrument scripts: - Implemented scheduler for delayed MIDI events and for suspended scripts. @@ -180,6 +208,65 @@ - NKSP Fix: Never suspend "init" event handlers. - Implemented built-in script function "same_region()" (currently only available for gig format engine). + - Added built-in script constant "$NKSP_LINEAR". + - Added built-in script constant "$NKSP_EASE_IN_EASE_OUT". + - Implemented built-in script function "change_vol_curve()". + - Implemented built-in script function "change_tune_curve()". + - built-in "play_note()" function now supports a sample playback start + offset with argument 3, where special value -1 means to use the regular + sample offset as defined by the instrument file. + - Built-in array variable %KEY_DOWN[] is now a read-only variable. + - Built-in variable $EVENT_NOTE is now a read-only variable. + - Built-in variable $EVENT_VELOCITY is now a read-only variable. + - built-in "play_note()" function now accepts -2 for its fourth argument + (note duration) which means the life time of the note shall be sticked + to the requested note number of argument 1. + - Fix: built-in "play_note()" function now returns 0 as result value if + -1 was passed for its fourth argument (note duration) and the respective + parent note is already gone. + - Implemented built-in script function "change_play_pos()". + - NKSP language: Added support for user declared const array variables. + - NKSP language: Raise parser warning if array variable is accessed with + an index that exceeds the array's size. + - NKSP language fix: Unknown characters were not handled correctly. + - NKSP language: Added support for "synchronized .. end synchronized" + code blocks. + - Implemented built-in script function "abort()" which allows to abort + another script handler by passing its callback ID. + - Fixed potential memory access bug and potential undefined behavior of + "init" event handlers. + - Print a time stamp along to each call of built-in function "message()". + - ScriptVM API: Added VMParserContext::preprocessorComments() which allows + to retrieve all code blocks filtered out by the preprocessor. + - Added built-in script function "fork()". + - Added built-in array variable %NKSP_CALLBACK_CHILD_ID[]. + - Added built-in variable $NKSP_CALLBACK_PARENT_ID. + - Fixed potential crash when accessing dynamic built-in array variables. + - Added built-in script function "callback_status()". + - Added built-in constant $CALLBACK_STATUS_TERMINATED. + - Added built-in constant $CALLBACK_STATUS_QUEUE. + - Added built-in constant $CALLBACK_STATUS_RUNNING. + - Removed max. value limitation of built-in functions "change_attack()", + "change_decay()" and "change_release()" to i.e. allow passing 2000000 + for doubling the respective time. + - NKSP script editor syntax highlighting API: Fixed app termination due + to a lexer start condition stack underrun. + - NKSP preprocessor: Fixed wrong behavior on nested USE_CODE_IF() and + USE_CODE_IF_NOT() preprocessor statements. + - NKSP: Added built-in preprocessor condition NKSP_NO_MESSAGE, which + can be set to disable all subsequent built-in "message()" function calls + on preprocessor level. + - Implemented built-in script function "change_sustain()". + - NKSP script editor syntax highlighting API: catch all fatal lexer errors, + to avoid the editor app to crash on ill-formed text input. + - Added built-in script function "change_pan_time()". + - Added built-in script function "change_pan_curve()". + - Added built-in script function "change_cutoff_attack()". + - Added built-in script function "change_cutoff_decay()". + - Added built-in script function "change_cutoff_sustain()". + - Added built-in script function "change_cutoff_release()". + - Added built-in script function "change_cutoff_lfo_depth()". + - Added built-in script function "change_cutoff_lfo_freq()". * Instruments DB: - Fixed memory access bug of general DB access code which lead to @@ -664,7 +751,7 @@ $GIG_DIM_EFFECT3DEPTH, $GIG_DIM_EFFECT4DEPTH, $GIG_DIM_EFFECT5DEPTH. - Giga format scripts: Implemented built-in script function "gig_set_dim_zone(event_id, dimension, zone)". - - Implemented built-in script int array variable $KEY_DOWN. + - Implemented built-in script int array variable %KEY_DOWN. - Implemented built-in script function "abs()". - Implemented built-in script function "random()". - Implemented built-in script function "num_elements()".