--- linuxsampler/trunk/ChangeLog 2015/01/04 17:16:05 2687 +++ linuxsampler/trunk/ChangeLog 2017/01/18 14:52:31 3095 @@ -1,4 +1,158 @@ -Version CVS HEAD (?) +Version SVN trunk (?) + + * 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). + + * Gigasampler format engine: + - Fixed clicks and pumping noise with Lowpass Turbo filter on very low + cutoff settings. + + * general changes: + - fixed printf type errors (mostly in debug messages) + - use unique_ptr instead of auto_ptr when building with C++11 + - Added RTAVLTree class which is a real-time safe ordered multi-map, thus + allowing to sort data efficiently in real-time safe manner. + - RTList class: added methods for moving/inserting elements to arbitrary + position within a list. + - RTList class: added method fromPtr() for creating an Iterator object from + a raw element pointer. + - Attempt to partly fix resetting engine channels vs. resetting engine, an + overall cleanup of the Reset*(), ConnectAudioDevice(), + DisconnectAudioDevice() API methods would still be desirable though, + because the current situation is still inconsistent and error prone. + - Active voices are now internally grouped to "Note" objects, instead of + being directly assigned to a keyboard key. This allows more fine graded + processing of voices, which is i.e. required for certain instrument + script features. + - Fix: Release trigger voices were not spawned on sustain pedal up + (CC #64) events. + - Fix: Release trigger voices can now also distinguish correctly between + note-off and sustain pedal up events. + - All engines: Increased ramp speed of volume smoother and pan smoother + (while slow rate of crossfade smoother is preserved) to allow quick + volume and pan changes by instrument scripts for instance. + - gig/sf2/sfz: Fixed aftertouch channel pressure events being processed + properly and thus were ignored for certain uses. + - Added new C++ API method + VirtualMidiDevice::SendChannelPressureToSampler(). + - windows, 32-bit: fixed potential crashes by making sure the stack in + sub threads is 16-byte aligned + - fixed numerous compiler warnings + + * 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. + + * Real-time instrument scripts: + - Implemented scheduler for delayed MIDI events and for suspended scripts. + - Built-in script function "wait()": implemented support for function's + "duration-us" argument, thus scripts using this function are now + correctly resumed after the requested amount of microseconds. + - Built-in script function "play_note()": implemented support for + function's "duration-us" argument, thus notes triggered with this + argument are now correctly released after the requested amount of + microseconds. + - Fix: script events were not cleared when engine channel was reset, + potentially causing undefined behavior. + - Fixed crash which happened when trying to reference an undeclared + variable. + - Built-in script function "play_note()": Added support for passing + special value -1 for "duration-us" argument, which will cause the + triggered note to be released once the original note was released. + - Instrument script classes now exported with the liblinuxsampler C++ API. + - Added new API method ScriptVM::syntaxHighlighting() which provides + a convenient syntax highlighting backend for external instrument + script editor applications. + - Added new C++ API class "ScriptVMFactory". + - Extended parser issues to provide not only first line and first + column, but also last line and last column of issue (thus marking + the precise span of the issue within the source code). + - Reload script automatically after being modified by an instrument + editor. + - NKSP language grammar correction: allow empty event handler bodies + like "on note end on". + - Implemented built-in script function "change_vol()". + - Implemented built-in script function "change_tune()". + - Implemented built-in script function "change_pan()". + - Implemented built-in script function "change_cutoff()". + - Implemented built-in script function "change_reso()". + - Implemented built-in script function "event_status()". + - Added built-in script constants "$EVENT_STATUS_INACTIVE" and + "$EVENT_STATUS_NOTE_QUEUE" both for being used as flags for + "event_status()" function. + - NKSP language: Added support for bitwise operators ".or.", ".and." + and ".not.". + - NKSP language scanner: Fixed IDs matching to require at least one + character (i.e. when matching function names or variable names). + - NKSP language scanner: disabled unusued rules. + - Fixed behavior of play_note() and note_off() functions which must + be distinguished engine internally from "real" MIDI note on/off + events in order to avoid misbehaviors like hanging notes. + - Implemented built-in script variable "$KSP_TIMER". + - Implemented built-in script variable "$NKSP_REAL_TIMER". + - Implemented built-in script variable "$NKSP_PERF_TIMER". + - Implemented built-in script variable "$ENGINE_UPTIME". + - Implemented built-in script function "inc()". + - Implemented built-in script function "dec()". + - NKSP language fix: division expressions were evaluated too often. + - NKSP language fix: string concatenation operator was right + associative instead of left (to right). + - NKSP language correction: allow empty statements in entire language + (i.e. "if end if"). + - Implemented built-in script function "stop_wait()". + - Implemented built-in script variable "$NI_CALLBACK_ID". + - Implemented built-in script variable "$NI_CALLBACK_TYPE". + - Implemented built-in script variable "$NKSP_IGNORE_WAIT". + - Added support for read-only built-in variables (respectively + handled by the script parser). + - Added built-in script constant "$NI_CB_TYPE_INIT". + - Added built-in script constant "$NI_CB_TYPE_NOTE". + - Added built-in script constant "$NI_CB_TYPE_RELEASE". + - Added built-in script constant "$NI_CB_TYPE_CONTROLLER". + - NKSP Language: Added support for user defined script functions. + - Implemented built-in script function "change_attack()". + - Implemented built-in script function "change_decay()". + - Implemented built-in script function "change_release()". + - Fixed all change_*() built-in script functions to apply their + synthesis parameter changes immediately in case the respective note + was triggered at the same time, instead of scheduling the parameter + change, especially because it would cause some parameter types's + changes either to be ramped (i.e. change_vol()) or other types even + to have not effect at all (i.e. change_attack()). + - Implemented built-in script function "sh_left()". + - Implemented built-in script function "sh_right()". + - Implemented built-in script function "min()". + - Implemented built-in script function "max()". + - NKSP Fix: "init" event handler was not always executed when a script + was loaded. + - NKSP built-in wait() script function: abort script execution if + a negative or zero wait time was passed as argument (since this is + a common indication of a bug either of the script or even of the + engine, which could lead to RT instability or even worse). + - ScriptVM: Implemented automatic suspension of RT safety + threatening scripts. + - Provide more user friendly error messages on syntax errors. + - 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()". + + * 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. + +Version 2.0.0 (15 July 2015) * packaging changes: - fixed building with newer MinGW-w64 @@ -368,6 +522,8 @@ - MME bugfix: driver wasn't closed properly - CoreMIDI: automatically connect to all input sources by default (driver parameter "AUTO_BIND"). + - CoreMIDI: fixed auto bind feature to CoreMIDI ports that go online + - CoreMIDI: fixed minor memory leak * audio driver: - ASIO driver fixes for newer gcc versions (fix from PortAudio) @@ -419,6 +575,7 @@ "SUBSCRIBE SEND_EFFECT_CHAIN_INFO" - provide comprehensive error messages on LSCP syntax errors (suggesting expected next non-terminal symbols) + - Fixed client connection not being closed after network errors. * LSCP shell: - Added support for auto correction of obvious and trivial syntax mistakes. @@ -482,6 +639,7 @@ (i.e. return value of new script function "by_marks()"). - Pass/preserve polyphonic variable data from respective "note" event handler to "release" event handler. + - Fixed crash when using built-in script function "by_marks()". * Bug fixes: - Fixed crash which may occur when MIDI key + transpose is out of range