--- linuxsampler/trunk/ChangeLog 2017/01/05 16:04:00 3073 +++ linuxsampler/trunk/ChangeLog 2017/10/27 21:19:18 3360 @@ -2,10 +2,23 @@ * SFZ format engine: - added support for , and #define (patch by Alby M) + - Removed code duplication in SFZ file loading code. + - Added support for sfz extension opcode 'script' which may be used to + 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 format engine: + * 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) @@ -38,12 +51,26 @@ - windows, 32-bit: fixed potential crashes by making sure the stack in 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. @@ -137,10 +164,112 @@ - Fixed NKSP parser warning "Not a statement" when assigning an initializer list to an array variable. - Implemented built-in script array variable "%ALL_EVENTS". + - Implemented built-in script function "in_range()". + - Implemented built-in script function "change_amp_lfo_depth()". + - Implemented built-in script function "change_amp_lfo_freq()". + - Implemented built-in script function "change_pitch_lfo_depth()". + - Implemented built-in script function "change_pitch_lfo_freq()". + - Implemented built-in script function "change_vol_time()". + - Implemented built-in script function "change_tune_time()". + - Implemented built-in script function "fade_in()". + - Implemented built-in script function "fade_out()". + - Fixed acceptance of wrong data type of parameters passed to built-in + script functions "change_vol()", "change_tune()", "change_pan()", + "change_cutoff()", "change_reso()", "change_attack()", "change_decay()", + "change_release()", "change_amp_lfo_depth()", "change_amp_lfo_freq()", + "change_pitch_lfo_depth()" and "change_pitch_lfo_freq()". + - Added built-in script function "get_event_par()" and implemented some + of its possible parameter selections. + - Added built-in script function "set_event_par()" and implemented some + of its possible parameter selections. + - Fixed a bunch of scheduler time related bugs. + - Fixed polyphonic variables not being reset to zero after usage. + - Built-in "ignore_event()" function: argument is now optional, like with + built-in function "ignore_controller()". + - Implemented built-in script function "change_velo()". + - Implemented built-in script function "change_note()". + - Adjusted behavior of "change_vol()" and "change_tune()" to a more + intuitive behavior if used in combination with "change_vol_time()" or + "change_tune_time()" respectively: now tuning/volume changes are only + assigned (without delay) immediately to a new note if the respective + timing function has not been called before, otherwise the volume/tuning + changes are automatically faded (before, only the event's time stamp was + relevant). + - Implemented built-in script function "array_equal()". + - Implemented built-in script function "search()". + - Implemented built-in script function "sort()". + - 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 undefined behavior. + - Cleanup of instruments DB file creation and opening code. + - The instrument DB path of linuxsampler's --create-instruments-db argument + is now optional, if it is missing, then a default location is used. + - Added support for scanning SFZ (.sfz) files. + - Added support for scanning Sound Font (.sf2) files. + - Fixed undefined DB transaction behavior. Version 2.0.0 (15 July 2015) @@ -615,7 +744,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()".