--- linuxsampler/trunk/ChangeLog 2014/06/10 15:17:01 2613 +++ linuxsampler/trunk/ChangeLog 2017/05/24 20:05:38 3205 @@ -1,4 +1,179 @@ -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). + - Fixed unintended volume fade-in of voices under certain conditions. + + * Gigasampler/GigaStudio 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 + - Fixed invalid (note-on) event ID being assigned to new Note objects. + + * 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()". + - 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. + + * 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) * packaging changes: - fixed building with newer MinGW-w64 @@ -126,6 +301,7 @@ - Fixed support for 'aftertouch' attenuation controller. - Fixed crash that happened with velocity split sounds under certain conditions (see also previous commit on libgig). + - fixed behaviour of filter LFO * SFZ format engine: - Initial implementation (not usable yet) @@ -290,6 +466,7 @@ - bugfix: generation of velocity curves etc should not be done after each "#include", only after the main file is parsed - bugfix: line numbers in error messages were wrong after "#include" + - added support for float and 32 bit sample files * SoundFont format engine: - Initial implementation (not usable yet) @@ -337,6 +514,12 @@ - VST: implemented retrieval and switching of programs using the sampler's internal MIDI instrument mapping system + * Instrument editor interface: + - Changed instrument editor plugin interface, providing additional + informations like the EngineChannel for which the instrument editor was + spawned for. This allows the instrument editors to interact more actively + with the sampler. + * MIDI driver: - ALSA MIDI driver supports now "NAME" device parameter, for overriding the ALSA sequencer client name @@ -360,6 +543,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) @@ -411,6 +596,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. @@ -461,6 +647,20 @@ - 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 function "abs()". + - Implemented built-in script function "random()". + - Implemented built-in script function "num_elements()". + - Implemented built-in script function "note_off()". + - Implemented built-in script function "set_event_mark()". + - Implemented built-in script function "delete_event_mark()". + - Implemented built-in script function "by_marks()". + - Added built-in script int const variables $MARK_1 to $MARK_28. + - Built-in script functions "ignore_event()", "note_off()" and + "gig_set_dim_zone()" now also accept an array of event IDs as argument + (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 @@ -512,6 +712,8 @@ "GET SERVER INFOasdf\n" to be accepted as valid statement (was so far practically irrelevant, however it caused problems with the new LSCP shell's auto completion feature). + - Fixed MIDI program change messages being ignored if quickly executed + after each other (fixes #231). Version 1.0.0 (31 July 2009)