/[svn]/linuxsampler/trunk/ChangeLog
ViewVC logotype

Diff of /linuxsampler/trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2951 by schoenebeck, Fri Jul 15 20:07:47 2016 UTC revision 3577 by schoenebeck, Wed Aug 28 15:23:23 2019 UTC
# Line 1  Line 1 
1  Version SVN trunk (?)  Version SVN trunk (?)
2    
3      * general changes:
4        - Fixed compiler error in Pool.h.
5        - Require C++11 compiler support.
6        - Autoconf: Added m4/ax_cxx_compile_stdcxx.m4 macro which is used
7          for checking in configure for C++11 support (as mandatory
8          requirement) and automatically adds compiler argument if required
9          (e.g. -std=C++11).
10        - RTMath: Implemented floating point comparison methods
11          fEqual32(float,float) and fEqual64(double,double) which take the
12          expected floating point tolerances into account.
13    
14      * Real-time instrument scripts:
15        - Added method ScriptVM::setExitResultEnabled() which allows to
16          explicitly enable the built-in exit() function to optionally accept
17          one function argument; the value of the passed exit() function
18          argument will then become available by calling
19          VMExecContext::exitResult() after script execution.
20        - 64 bit support for NKSP integer scripts variables (declare $foo).
21        - Variable names, function names and preprocessor condition names must start
22          with a regular character (a-z or A-Z); starting them with a digit or
23          underscore is not allowed.
24        - NKSP parser fix: equal comparison operator "=" and not equal comparison
25          operator "#" must only accept integer operands.
26        - NKSP language: Implemented support for standard units like Hertz, seconds,
27          Bel including support for metric unit prefixes; so one can now e.g.
28          conveniently use numbers in scripts like "5us" meaning "5 microseconds",
29          or e.g. "12kHz" meaning "12 kilo Hertz", or e.g. "-14mdB" meaning
30          "minus 14 Millidecibel", or e.g. "28c" meaning "28 cents" (for tuning).
31        - NKSP language: Introduced "final" operator "!" which is specifically
32          intended for synthesis parameter values to denote that the synthesis
33          parameter value is intended to be the "final" value for that synthesis
34          parameter that should explicitly be used by the engine and thus causing
35          the sampler engine to ignore all other modulation sources for the same
36          synthesis parameter (like e.g. LFO, EG); by simply prefixing a value,
37          variable or formula with this new "!" operator the expression is marked as
38          being "final".
39        - NKSP script editor API: Added support for detecting standard unit tokens
40          and their potential metric prefix token.
41        - NKSP language: Added support for NKSP real number literals and
42          arithmetic operations on them (e.g. "(3.9 + 2.9) / 12.3 - 42.0").
43        - NKSP language: Added support for NKSP real number (floating point) script
44          variables (declare ~foo).
45        - NKSP language: Added support for NKSP real number (floating point) array
46          script variables (declare ?foo[]).
47        - Built-in script function "message()" accepts now real number argument as
48          well.
49        - Added built-in script function "real_to_int()" and its short hand form
50          "int()" for casting from real number to integer in NKSP scripts.
51        - Added built-in script function "int_to_real()" and its short hand form
52          "real()" for casting from integer to real number in NKSP scripts.
53        - Allow built-in exit() function to potentially accept real number type
54          argument as well.
55        - Built-in script functions may have a different return type depending on
56          the arguments passed to the function.
57        - Built-in script function "abs()" optionally accepts and returns real
58          number.
59        - Built-in script functions "min()" and "max()" optionally accept real
60          number arguments and return real number as result in that case.
61    
62      * test cases:
63        - Fixed compiler errors in test cases.
64        - Updated README for how to compile & run test cases.
65        - Updated test case
66          MutexTest::testDoubleLockStillBlocksConcurrentThread() to latest
67          expected behaviour of the Mutex class implementation (recursive
68          mutex type).
69        - Added test cases for NKSP core language aspects and core built-in
70          functions.
71        - Fixed thread tests segfaulting on Linux.
72        - NKSP: Added real number test cases for built-in functions exit(),
73          int_to_real(), real(), real_to_int() and int(), as well as for the
74          plus, minus and negate language operators.
75    
76    Version 2.1.1 (27 Jul 2019)
77    
78      * Real-time instrument scripts:
79        - Fixed behavior of built-in NKSP functions change_sustain(),
80          change_cutoff_attack(), change_cutoff_decay(), change_cutoff_sustain()
81          and change_cutoff_release().
82    
83      * general changes:
84        - Only play release trigger samples on sustain pedal up if this behaviour
85          was explicitly requested by the instrument (otherwise only on note-off).
86        - Fixed compiler warnings.
87        - Fixed compilation error when cross-compiling to Mac.
88        - FX Sends: Provide more useful error messages on routing problems
89          (see bug #169).
90        - LSCP doc: Be more clear describing the two distinct approaches
91          of using external vs. internal effects (see bug #169).
92        - "optional" class: Fixed comparison operators.
93    
94      * Gigasampler/GigaStudio format engine:
95        - Format extension: If requested by instrument then don't play release
96          trigger sample on note-off events.
97    
98      * SFZ format engine:
99        - Fixed memory leak when releasing samples
100          (fixes bug #307, patch by Jacek Roszkowski)
101        - Fixed potential crash when a sample is shared by more than one region
102          (fixes bug #308, patch by Jacek Roszkowski).
103        - Opcode 'sample': Added support for built-in sample '*silence'
104          (fixes bug #310, patch by Jacek Roszkowski).
105    
106    Version 2.1.0 (25 Nov 2017)
107    
108    * SFZ format engine:    * SFZ format engine:
109      - added support for <global>, <master> and #define (patch by Alby M)      - added support for <global>, <master> and #define (patch by Alby M)
110        - Removed code duplication in SFZ file loading code.
111        - Added support for sfz extension opcode 'script' which may be used to
112          load real-time instrument script file (NKSP script language).
113        - Implemented opcode set_ccN (initial patch by Giovanni Senatore).
114        - Fixed unintended volume fade-in of voices under certain conditions.
115        - sfz parser: allow missing space between header and opcode
116    
117      * Gigasampler/GigaStudio format engine:
118        - Fixed clicks and pumping noise with Lowpass Turbo filter on very low
119          cutoff settings.
120        - Got rid of resembling an ancient GSt misbehavior which did not pitch at
121          all if an up-pitch of more than 40 semi tones was requested (I don't
122          think there is any stock gig sound that requires this behavior to
123          resemble its original sound).
124        - Added support for controlling whether the individual EGADSR stages may
125          be aborted (as LinuxSampler extension to the original GigaStudio 4
126          format).
127    
128    * general changes:    * general changes:
129      - fixed printf type errors (mostly in debug messages)      - fixed printf type errors (mostly in debug messages)
# Line 24  Version SVN trunk (?) Line 146  Version SVN trunk (?)
146        (CC #64) events.        (CC #64) events.
147      - Fix: Release trigger voices can now also distinguish correctly between      - Fix: Release trigger voices can now also distinguish correctly between
148        note-off and sustain pedal up events.        note-off and sustain pedal up events.
149        - All engines: Increased ramp speed of volume smoother and pan smoother
150          (while slow rate of crossfade smoother is preserved) to allow quick
151          volume and pan changes by instrument scripts for instance.
152        - gig/sf2/sfz: Fixed aftertouch channel pressure events being processed
153          properly and thus were ignored for certain uses.
154        - Added new C++ API method
155          VirtualMidiDevice::SendChannelPressureToSampler().
156        - windows, 32-bit: fixed potential crashes by making sure the stack in
157          sub threads is 16-byte aligned
158        - fixed numerous compiler warnings
159        - Fixed invalid (note-on) event ID being assigned to new Note objects.
160        - Revised fundamental C++ classes "Thread", "Mutex" and "Condition" which
161          fixes potential undefined behavior.
162        - Fixed Note object leak when triggering notes on keys which did not
163          have a valid sample mapped (fixes bug #252).
164        - Fixed compilation errors when compiling with CONFIG_DEVMODE enabled.
165        - linuxsampler binary fix: option --create-instruments-db ignored
166          subsequent optional argument due to glibc's implementation oddity
167          which expects a "=" sign, but no space between them.
168    
169    * packaging changes:    * packaging changes:
170      - removed unnecessary dependency to libuuid      - removed unnecessary dependency to libuuid
171        (originated by libgig's usage of it)        (originated by libgig's usage of it)
172      - Automake: set environment variable GCC_COLORS=auto to allow GCC to      - Automake: set environment variable GCC_COLORS=auto to allow GCC to
173        auto detect whether it (sh/c)ould output its messages in color.        auto detect whether it (sh/c)ould output its messages in color.
174        - Debian: Fixed packaging error about invalid "Source-Version"
175          substitution variable.
176        - Debian: Raised Debian compatibility level to Debian 9 "Stretch".
177        - Debian: Added build dependency to libsqlite3-dev for building
178          linuxsampler with instruments DB support.
179    
180    * Real-time instrument scripts:    * Real-time instrument scripts:
181      - Implemented scheduler for delayed MIDI events and for suspended scripts.      - Implemented scheduler for delayed MIDI events and for suspended scripts.
# Line 98  Version SVN trunk (?) Line 244  Version SVN trunk (?)
244      - Added built-in script constant "$NI_CB_TYPE_RELEASE".      - Added built-in script constant "$NI_CB_TYPE_RELEASE".
245      - Added built-in script constant "$NI_CB_TYPE_CONTROLLER".      - Added built-in script constant "$NI_CB_TYPE_CONTROLLER".
246      - NKSP Language: Added support for user defined script functions.      - NKSP Language: Added support for user defined script functions.
247        - Implemented built-in script function "change_attack()".
248        - Implemented built-in script function "change_decay()".
249        - Implemented built-in script function "change_release()".
250        - Fixed all change_*() built-in script functions to apply their
251          synthesis parameter changes immediately in case the respective note
252          was triggered at the same time, instead of scheduling the parameter
253          change, especially because it would cause some parameter types's
254          changes either to be ramped (i.e. change_vol()) or other types even
255          to have not effect at all (i.e. change_attack()).
256        - Implemented built-in script function "sh_left()".
257        - Implemented built-in script function "sh_right()".
258        - Implemented built-in script function "min()".
259        - Implemented built-in script function "max()".
260        - NKSP Fix: "init" event handler was not always executed when a script
261          was loaded.
262        - NKSP built-in wait() script function: abort script execution if
263          a negative or zero wait time was passed as argument (since this is
264          a common indication of a bug either of the script or even of the
265          engine, which could lead to RT instability or even worse).
266        - ScriptVM: Implemented automatic suspension of RT safety
267          threatening scripts.
268        - Provide more user friendly error messages on syntax errors.
269        - Fixed NKSP parser warning "Not a statement" when assigning an
270          initializer list to an array variable.
271        - Implemented built-in script array variable "%ALL_EVENTS".
272        - Implemented built-in script function "in_range()".
273        - Implemented built-in script function "change_amp_lfo_depth()".
274        - Implemented built-in script function "change_amp_lfo_freq()".
275        - Implemented built-in script function "change_pitch_lfo_depth()".
276        - Implemented built-in script function "change_pitch_lfo_freq()".
277        - Implemented built-in script function "change_vol_time()".
278        - Implemented built-in script function "change_tune_time()".
279        - Implemented built-in script function "fade_in()".
280        - Implemented built-in script function "fade_out()".
281        - Fixed acceptance of wrong data type of parameters passed to built-in
282          script functions "change_vol()", "change_tune()", "change_pan()",
283          "change_cutoff()", "change_reso()", "change_attack()", "change_decay()",
284          "change_release()", "change_amp_lfo_depth()", "change_amp_lfo_freq()",
285          "change_pitch_lfo_depth()" and "change_pitch_lfo_freq()".
286        - Added built-in script function "get_event_par()" and implemented some
287          of its possible parameter selections.
288        - Added built-in script function "set_event_par()" and implemented some
289          of its possible parameter selections.
290        - Fixed a bunch of scheduler time related bugs.
291        - Fixed polyphonic variables not being reset to zero after usage.
292        - Built-in "ignore_event()" function: argument is now optional, like with
293          built-in function "ignore_controller()".
294        - Implemented built-in script function "change_velo()".
295        - Implemented built-in script function "change_note()".
296        - Adjusted behavior of "change_vol()" and "change_tune()" to a more
297          intuitive behavior if used in combination with "change_vol_time()" or
298          "change_tune_time()" respectively: now tuning/volume changes are only
299          assigned (without delay) immediately to a new note if the respective
300          timing function has not been called before, otherwise the volume/tuning
301          changes are automatically faded (before, only the event's time stamp was
302          relevant).
303         - Implemented built-in script function "array_equal()".
304         - Implemented built-in script function "search()".
305         - Implemented built-in script function "sort()".
306         - NKSP Fix: Never suspend "init" event handlers.
307         - Implemented built-in script function "same_region()" (currently only
308           available for gig format engine).
309         - Added built-in script constant "$NKSP_LINEAR".
310         - Added built-in script constant "$NKSP_EASE_IN_EASE_OUT".
311         - Implemented built-in script function "change_vol_curve()".
312         - Implemented built-in script function "change_tune_curve()".
313         - built-in "play_note()" function now supports a sample playback start
314           offset with argument 3, where special value -1 means to use the regular
315           sample offset as defined by the instrument file.
316         - Built-in array variable %KEY_DOWN[] is now a read-only variable.
317         - Built-in variable $EVENT_NOTE is now a read-only variable.
318         - Built-in variable $EVENT_VELOCITY is now a read-only variable.
319         - built-in "play_note()" function now accepts -2 for its fourth argument
320           (note duration) which means the life time of the note shall be sticked
321           to the requested note number of argument 1.
322         - Fix: built-in "play_note()" function now returns 0 as result value if
323           -1 was passed for its fourth argument (note duration) and the respective
324           parent note is already gone.
325        - Implemented built-in script function "change_play_pos()".
326        - NKSP language: Added support for user declared const array variables.
327        - NKSP language: Raise parser warning if array variable is accessed with
328          an index that exceeds the array's size.
329        - NKSP language fix: Unknown characters were not handled correctly.
330        - NKSP language: Added support for "synchronized .. end synchronized"
331          code blocks.
332        - Implemented built-in script function "abort()" which allows to abort
333          another script handler by passing its callback ID.
334        - Fixed potential memory access bug and potential undefined behavior of
335          "init" event handlers.
336        - Print a time stamp along to each call of built-in function "message()".
337        - ScriptVM API: Added VMParserContext::preprocessorComments() which allows
338          to retrieve all code blocks filtered out by the preprocessor.
339        - Added built-in script function "fork()".
340        - Added built-in array variable %NKSP_CALLBACK_CHILD_ID[].
341        - Added built-in variable $NKSP_CALLBACK_PARENT_ID.
342        - Fixed potential crash when accessing dynamic built-in array variables.
343        - Added built-in script function "callback_status()".
344        - Added built-in constant $CALLBACK_STATUS_TERMINATED.
345        - Added built-in constant $CALLBACK_STATUS_QUEUE.
346        - Added built-in constant $CALLBACK_STATUS_RUNNING.
347        - Removed max. value limitation of built-in functions "change_attack()",
348          "change_decay()" and "change_release()" to i.e. allow passing 2000000
349          for doubling the respective time.
350        - NKSP script editor syntax highlighting API: Fixed app termination due
351          to a lexer start condition stack underrun.
352        - NKSP preprocessor: Fixed wrong behavior on nested USE_CODE_IF() and
353          USE_CODE_IF_NOT() preprocessor statements.
354        - NKSP: Added built-in preprocessor condition NKSP_NO_MESSAGE, which
355          can be set to disable all subsequent built-in "message()" function calls
356          on preprocessor level.
357        - Implemented built-in script function "change_sustain()".
358        - NKSP script editor syntax highlighting API: catch all fatal lexer errors,
359          to avoid the editor app to crash on ill-formed text input.
360        - Added built-in script function "change_pan_time()".
361        - Added built-in script function "change_pan_curve()".
362        - Added built-in script function "change_cutoff_attack()".
363        - Added built-in script function "change_cutoff_decay()".
364        - Added built-in script function "change_cutoff_sustain()".
365        - Added built-in script function "change_cutoff_release()".
366        - Added built-in script function "change_cutoff_lfo_depth()".
367        - Added built-in script function "change_cutoff_lfo_freq()".
368    
369      * Instruments DB:
370        - Fixed memory access bug of general DB access code which lead to
371          undefined behavior.
372        - Cleanup of instruments DB file creation and opening code.
373        - The instrument DB path of linuxsampler's --create-instruments-db argument
374          is now optional, if it is missing, then a default location is used.
375        - Added support for scanning SFZ (.sfz) files.
376        - Added support for scanning Sound Font (.sf2) files.
377        - Fixed undefined DB transaction behavior.
378    
379  Version 2.0.0 (15 July 2015)  Version 2.0.0 (15 July 2015)
380    
# Line 522  Version 2.0.0 (15 July 2015) Line 799  Version 2.0.0 (15 July 2015)
799        "SUBSCRIBE SEND_EFFECT_CHAIN_INFO"        "SUBSCRIBE SEND_EFFECT_CHAIN_INFO"
800      - provide comprehensive error messages on LSCP syntax errors      - provide comprehensive error messages on LSCP syntax errors
801        (suggesting expected next non-terminal symbols)        (suggesting expected next non-terminal symbols)
802        - Fixed client connection not being closed after network errors.
803    
804    * LSCP shell:    * LSCP shell:
805      - Added support for auto correction of obvious and trivial syntax mistakes.      - Added support for auto correction of obvious and trivial syntax mistakes.
# Line 571  Version 2.0.0 (15 July 2015) Line 849  Version 2.0.0 (15 July 2015)
849        $GIG_DIM_EFFECT3DEPTH, $GIG_DIM_EFFECT4DEPTH, $GIG_DIM_EFFECT5DEPTH.        $GIG_DIM_EFFECT3DEPTH, $GIG_DIM_EFFECT4DEPTH, $GIG_DIM_EFFECT5DEPTH.
850      - Giga format scripts: Implemented built-in script function      - Giga format scripts: Implemented built-in script function
851        "gig_set_dim_zone(event_id, dimension, zone)".        "gig_set_dim_zone(event_id, dimension, zone)".
852      - Implemented built-in script int array variable $KEY_DOWN.      - Implemented built-in script int array variable %KEY_DOWN.
853      - Implemented built-in script function "abs()".      - Implemented built-in script function "abs()".
854      - Implemented built-in script function "random()".      - Implemented built-in script function "random()".
855      - Implemented built-in script function "num_elements()".      - Implemented built-in script function "num_elements()".
# Line 585  Version 2.0.0 (15 July 2015) Line 863  Version 2.0.0 (15 July 2015)
863        (i.e. return value of new script function "by_marks()").        (i.e. return value of new script function "by_marks()").
864      - Pass/preserve polyphonic variable data from respective "note" event      - Pass/preserve polyphonic variable data from respective "note" event
865        handler to "release" event handler.        handler to "release" event handler.
866        - Fixed crash when using built-in script function "by_marks()".
867    
868    * Bug fixes:    * Bug fixes:
869      - Fixed crash which may occur when MIDI key + transpose is out of range      - Fixed crash which may occur when MIDI key + transpose is out of range

Legend:
Removed from v.2951  
changed lines
  Added in v.3577

  ViewVC Help
Powered by ViewVC