--- linuxsampler/trunk/ChangeLog 2017/05/28 22:22:56 3246 +++ linuxsampler/trunk/ChangeLog 2017/06/28 09:45:56 3296 @@ -7,6 +7,7 @@ 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 @@ -44,6 +45,8 @@ 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. * packaging changes: - removed unnecessary dependency to libuuid @@ -184,6 +187,40 @@ - 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. * Instruments DB: - Fixed memory access bug of general DB access code which lead to @@ -668,7 +705,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()".