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

Diff of /linuxsampler/trunk/ChangeLog

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

revision 2911 by schoenebeck, Mon May 16 20:27:33 2016 UTC revision 3575 by schoenebeck, Wed Aug 28 11:12:04 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    
56      * test cases:
57        - Fixed compiler errors in test cases.
58        - Updated README for how to compile & run test cases.
59        - Updated test case
60          MutexTest::testDoubleLockStillBlocksConcurrentThread() to latest
61          expected behaviour of the Mutex class implementation (recursive
62          mutex type).
63        - Added test cases for NKSP core language aspects and core built-in
64          functions.
65        - Fixed thread tests segfaulting on Linux.
66        - NKSP: Added real number test cases for built-in functions exit(),
67          int_to_real(), real(), real_to_int() and int(), as well as for the
68          plus, minus and negate language operators.
69    
70    Version 2.1.1 (27 Jul 2019)
71    
72      * Real-time instrument scripts:
73        - Fixed behavior of built-in NKSP functions change_sustain(),
74          change_cutoff_attack(), change_cutoff_decay(), change_cutoff_sustain()
75          and change_cutoff_release().
76    
77      * general changes:
78        - Only play release trigger samples on sustain pedal up if this behaviour
79          was explicitly requested by the instrument (otherwise only on note-off).
80        - Fixed compiler warnings.
81        - Fixed compilation error when cross-compiling to Mac.
82        - FX Sends: Provide more useful error messages on routing problems
83          (see bug #169).
84        - LSCP doc: Be more clear describing the two distinct approaches
85          of using external vs. internal effects (see bug #169).
86        - "optional" class: Fixed comparison operators.
87    
88      * Gigasampler/GigaStudio format engine:
89        - Format extension: If requested by instrument then don't play release
90          trigger sample on note-off events.
91    
92      * SFZ format engine:
93        - Fixed memory leak when releasing samples
94          (fixes bug #307, patch by Jacek Roszkowski)
95        - Fixed potential crash when a sample is shared by more than one region
96          (fixes bug #308, patch by Jacek Roszkowski).
97        - Opcode 'sample': Added support for built-in sample '*silence'
98          (fixes bug #310, patch by Jacek Roszkowski).
99    
100    Version 2.1.0 (25 Nov 2017)
101    
102    * SFZ format engine:    * SFZ format engine:
103      - added support for <global>, <master> and #define (patch by Alby M)      - added support for <global>, <master> and #define (patch by Alby M)
104        - Removed code duplication in SFZ file loading code.
105        - Added support for sfz extension opcode 'script' which may be used to
106          load real-time instrument script file (NKSP script language).
107        - Implemented opcode set_ccN (initial patch by Giovanni Senatore).
108        - Fixed unintended volume fade-in of voices under certain conditions.
109        - sfz parser: allow missing space between header and opcode
110    
111      * Gigasampler/GigaStudio format engine:
112        - Fixed clicks and pumping noise with Lowpass Turbo filter on very low
113          cutoff settings.
114        - Got rid of resembling an ancient GSt misbehavior which did not pitch at
115          all if an up-pitch of more than 40 semi tones was requested (I don't
116          think there is any stock gig sound that requires this behavior to
117          resemble its original sound).
118        - Added support for controlling whether the individual EGADSR stages may
119          be aborted (as LinuxSampler extension to the original GigaStudio 4
120          format).
121    
122    * general changes:    * general changes:
123      - fixed printf type errors (mostly in debug messages)      - fixed printf type errors (mostly in debug messages)
# Line 20  Version SVN trunk (?) Line 136  Version SVN trunk (?)
136        being directly assigned to a keyboard key. This allows more fine graded        being directly assigned to a keyboard key. This allows more fine graded
137        processing of voices, which is i.e. required for certain instrument        processing of voices, which is i.e. required for certain instrument
138        script features.        script features.
139        - Fix: Release trigger voices were not spawned on sustain pedal up
140          (CC #64) events.
141        - Fix: Release trigger voices can now also distinguish correctly between
142          note-off and sustain pedal up events.
143        - All engines: Increased ramp speed of volume smoother and pan smoother
144          (while slow rate of crossfade smoother is preserved) to allow quick
145          volume and pan changes by instrument scripts for instance.
146        - gig/sf2/sfz: Fixed aftertouch channel pressure events being processed
147          properly and thus were ignored for certain uses.
148        - Added new C++ API method
149          VirtualMidiDevice::SendChannelPressureToSampler().
150        - windows, 32-bit: fixed potential crashes by making sure the stack in
151          sub threads is 16-byte aligned
152        - fixed numerous compiler warnings
153        - Fixed invalid (note-on) event ID being assigned to new Note objects.
154        - Revised fundamental C++ classes "Thread", "Mutex" and "Condition" which
155          fixes potential undefined behavior.
156        - Fixed Note object leak when triggering notes on keys which did not
157          have a valid sample mapped (fixes bug #252).
158        - Fixed compilation errors when compiling with CONFIG_DEVMODE enabled.
159        - linuxsampler binary fix: option --create-instruments-db ignored
160          subsequent optional argument due to glibc's implementation oddity
161          which expects a "=" sign, but no space between them.
162    
163    * packaging changes:    * packaging changes:
164      - removed unnecessary dependency to libuuid      - removed unnecessary dependency to libuuid
165        (originated by libgig's usage of it)        (originated by libgig's usage of it)
166      - Automake: set environment variable GCC_COLORS=auto to allow GCC to      - Automake: set environment variable GCC_COLORS=auto to allow GCC to
167        auto detect whether it (sh/c)ould output its messages in color.        auto detect whether it (sh/c)ould output its messages in color.
168        - Debian: Fixed packaging error about invalid "Source-Version"
169          substitution variable.
170        - Debian: Raised Debian compatibility level to Debian 9 "Stretch".
171        - Debian: Added build dependency to libsqlite3-dev for building
172          linuxsampler with instruments DB support.
173    
174    * Real-time instrument scripts:    * Real-time instrument scripts:
175      - Implemented scheduler for delayed MIDI events and for suspended scripts.      - Implemented scheduler for delayed MIDI events and for suspended scripts.
# Line 55  Version SVN trunk (?) Line 199  Version SVN trunk (?)
199        editor.        editor.
200      - NKSP language grammar correction: allow empty event handler bodies      - NKSP language grammar correction: allow empty event handler bodies
201        like "on note end on".        like "on note end on".
202        - Implemented built-in script function "change_vol()".
203        - Implemented built-in script function "change_tune()".
204        - Implemented built-in script function "change_pan()".
205        - Implemented built-in script function "change_cutoff()".
206        - Implemented built-in script function "change_reso()".
207        - Implemented built-in script function "event_status()".
208        - Added built-in script constants "$EVENT_STATUS_INACTIVE" and
209          "$EVENT_STATUS_NOTE_QUEUE" both for being used as flags for
210          "event_status()" function.
211        - NKSP language: Added support for bitwise operators ".or.", ".and."
212          and ".not.".
213        - NKSP language scanner: Fixed IDs matching to require at least one
214          character (i.e. when matching function names or variable names).
215        - NKSP language scanner: disabled unusued rules.
216        - Fixed behavior of play_note() and note_off() functions which must
217          be distinguished engine internally from "real" MIDI note on/off
218          events in order to avoid misbehaviors like hanging notes.
219        - Implemented built-in script variable "$KSP_TIMER".
220        - Implemented built-in script variable "$NKSP_REAL_TIMER".
221        - Implemented built-in script variable "$NKSP_PERF_TIMER".
222        - Implemented built-in script variable "$ENGINE_UPTIME".
223        - Implemented built-in script function "inc()".
224        - Implemented built-in script function "dec()".
225        - NKSP language fix: division expressions were evaluated too often.
226        - NKSP language fix: string concatenation operator was right
227          associative instead of left (to right).
228        - NKSP language correction: allow empty statements in entire language
229          (i.e. "if end if").
230        - Implemented built-in script function "stop_wait()".
231        - Implemented built-in script variable "$NI_CALLBACK_ID".
232        - Implemented built-in script variable "$NI_CALLBACK_TYPE".
233        - Implemented built-in script variable "$NKSP_IGNORE_WAIT".
234        - Added support for read-only built-in variables (respectively
235          handled by the script parser).
236        - Added built-in script constant "$NI_CB_TYPE_INIT".
237        - Added built-in script constant "$NI_CB_TYPE_NOTE".
238        - Added built-in script constant "$NI_CB_TYPE_RELEASE".
239        - Added built-in script constant "$NI_CB_TYPE_CONTROLLER".
240        - NKSP Language: Added support for user defined script functions.
241        - Implemented built-in script function "change_attack()".
242        - Implemented built-in script function "change_decay()".
243        - Implemented built-in script function "change_release()".
244        - Fixed all change_*() built-in script functions to apply their
245          synthesis parameter changes immediately in case the respective note
246          was triggered at the same time, instead of scheduling the parameter
247          change, especially because it would cause some parameter types's
248          changes either to be ramped (i.e. change_vol()) or other types even
249          to have not effect at all (i.e. change_attack()).
250        - Implemented built-in script function "sh_left()".
251        - Implemented built-in script function "sh_right()".
252        - Implemented built-in script function "min()".
253        - Implemented built-in script function "max()".
254        - NKSP Fix: "init" event handler was not always executed when a script
255          was loaded.
256        - NKSP built-in wait() script function: abort script execution if
257          a negative or zero wait time was passed as argument (since this is
258          a common indication of a bug either of the script or even of the
259          engine, which could lead to RT instability or even worse).
260        - ScriptVM: Implemented automatic suspension of RT safety
261          threatening scripts.
262        - Provide more user friendly error messages on syntax errors.
263        - Fixed NKSP parser warning "Not a statement" when assigning an
264          initializer list to an array variable.
265        - Implemented built-in script array variable "%ALL_EVENTS".
266        - Implemented built-in script function "in_range()".
267        - Implemented built-in script function "change_amp_lfo_depth()".
268        - Implemented built-in script function "change_amp_lfo_freq()".
269        - Implemented built-in script function "change_pitch_lfo_depth()".
270        - Implemented built-in script function "change_pitch_lfo_freq()".
271        - Implemented built-in script function "change_vol_time()".
272        - Implemented built-in script function "change_tune_time()".
273        - Implemented built-in script function "fade_in()".
274        - Implemented built-in script function "fade_out()".
275        - Fixed acceptance of wrong data type of parameters passed to built-in
276          script functions "change_vol()", "change_tune()", "change_pan()",
277          "change_cutoff()", "change_reso()", "change_attack()", "change_decay()",
278          "change_release()", "change_amp_lfo_depth()", "change_amp_lfo_freq()",
279          "change_pitch_lfo_depth()" and "change_pitch_lfo_freq()".
280        - Added built-in script function "get_event_par()" and implemented some
281          of its possible parameter selections.
282        - Added built-in script function "set_event_par()" and implemented some
283          of its possible parameter selections.
284        - Fixed a bunch of scheduler time related bugs.
285        - Fixed polyphonic variables not being reset to zero after usage.
286        - Built-in "ignore_event()" function: argument is now optional, like with
287          built-in function "ignore_controller()".
288        - Implemented built-in script function "change_velo()".
289        - Implemented built-in script function "change_note()".
290        - Adjusted behavior of "change_vol()" and "change_tune()" to a more
291          intuitive behavior if used in combination with "change_vol_time()" or
292          "change_tune_time()" respectively: now tuning/volume changes are only
293          assigned (without delay) immediately to a new note if the respective
294          timing function has not been called before, otherwise the volume/tuning
295          changes are automatically faded (before, only the event's time stamp was
296          relevant).
297         - Implemented built-in script function "array_equal()".
298         - Implemented built-in script function "search()".
299         - Implemented built-in script function "sort()".
300         - NKSP Fix: Never suspend "init" event handlers.
301         - Implemented built-in script function "same_region()" (currently only
302           available for gig format engine).
303         - Added built-in script constant "$NKSP_LINEAR".
304         - Added built-in script constant "$NKSP_EASE_IN_EASE_OUT".
305         - Implemented built-in script function "change_vol_curve()".
306         - Implemented built-in script function "change_tune_curve()".
307         - built-in "play_note()" function now supports a sample playback start
308           offset with argument 3, where special value -1 means to use the regular
309           sample offset as defined by the instrument file.
310         - Built-in array variable %KEY_DOWN[] is now a read-only variable.
311         - Built-in variable $EVENT_NOTE is now a read-only variable.
312         - Built-in variable $EVENT_VELOCITY is now a read-only variable.
313         - built-in "play_note()" function now accepts -2 for its fourth argument
314           (note duration) which means the life time of the note shall be sticked
315           to the requested note number of argument 1.
316         - Fix: built-in "play_note()" function now returns 0 as result value if
317           -1 was passed for its fourth argument (note duration) and the respective
318           parent note is already gone.
319        - Implemented built-in script function "change_play_pos()".
320        - NKSP language: Added support for user declared const array variables.
321        - NKSP language: Raise parser warning if array variable is accessed with
322          an index that exceeds the array's size.
323        - NKSP language fix: Unknown characters were not handled correctly.
324        - NKSP language: Added support for "synchronized .. end synchronized"
325          code blocks.
326        - Implemented built-in script function "abort()" which allows to abort
327          another script handler by passing its callback ID.
328        - Fixed potential memory access bug and potential undefined behavior of
329          "init" event handlers.
330        - Print a time stamp along to each call of built-in function "message()".
331        - ScriptVM API: Added VMParserContext::preprocessorComments() which allows
332          to retrieve all code blocks filtered out by the preprocessor.
333        - Added built-in script function "fork()".
334        - Added built-in array variable %NKSP_CALLBACK_CHILD_ID[].
335        - Added built-in variable $NKSP_CALLBACK_PARENT_ID.
336        - Fixed potential crash when accessing dynamic built-in array variables.
337        - Added built-in script function "callback_status()".
338        - Added built-in constant $CALLBACK_STATUS_TERMINATED.
339        - Added built-in constant $CALLBACK_STATUS_QUEUE.
340        - Added built-in constant $CALLBACK_STATUS_RUNNING.
341        - Removed max. value limitation of built-in functions "change_attack()",
342          "change_decay()" and "change_release()" to i.e. allow passing 2000000
343          for doubling the respective time.
344        - NKSP script editor syntax highlighting API: Fixed app termination due
345          to a lexer start condition stack underrun.
346        - NKSP preprocessor: Fixed wrong behavior on nested USE_CODE_IF() and
347          USE_CODE_IF_NOT() preprocessor statements.
348        - NKSP: Added built-in preprocessor condition NKSP_NO_MESSAGE, which
349          can be set to disable all subsequent built-in "message()" function calls
350          on preprocessor level.
351        - Implemented built-in script function "change_sustain()".
352        - NKSP script editor syntax highlighting API: catch all fatal lexer errors,
353          to avoid the editor app to crash on ill-formed text input.
354        - Added built-in script function "change_pan_time()".
355        - Added built-in script function "change_pan_curve()".
356        - Added built-in script function "change_cutoff_attack()".
357        - Added built-in script function "change_cutoff_decay()".
358        - Added built-in script function "change_cutoff_sustain()".
359        - Added built-in script function "change_cutoff_release()".
360        - Added built-in script function "change_cutoff_lfo_depth()".
361        - Added built-in script function "change_cutoff_lfo_freq()".
362    
363      * Instruments DB:
364        - Fixed memory access bug of general DB access code which lead to
365          undefined behavior.
366        - Cleanup of instruments DB file creation and opening code.
367        - The instrument DB path of linuxsampler's --create-instruments-db argument
368          is now optional, if it is missing, then a default location is used.
369        - Added support for scanning SFZ (.sfz) files.
370        - Added support for scanning Sound Font (.sf2) files.
371        - Fixed undefined DB transaction behavior.
372    
373  Version 2.0.0 (15 July 2015)  Version 2.0.0 (15 July 2015)
374    
# Line 479  Version 2.0.0 (15 July 2015) Line 793  Version 2.0.0 (15 July 2015)
793        "SUBSCRIBE SEND_EFFECT_CHAIN_INFO"        "SUBSCRIBE SEND_EFFECT_CHAIN_INFO"
794      - provide comprehensive error messages on LSCP syntax errors      - provide comprehensive error messages on LSCP syntax errors
795        (suggesting expected next non-terminal symbols)        (suggesting expected next non-terminal symbols)
796        - Fixed client connection not being closed after network errors.
797    
798    * LSCP shell:    * LSCP shell:
799      - Added support for auto correction of obvious and trivial syntax mistakes.      - Added support for auto correction of obvious and trivial syntax mistakes.
# Line 528  Version 2.0.0 (15 July 2015) Line 843  Version 2.0.0 (15 July 2015)
843        $GIG_DIM_EFFECT3DEPTH, $GIG_DIM_EFFECT4DEPTH, $GIG_DIM_EFFECT5DEPTH.        $GIG_DIM_EFFECT3DEPTH, $GIG_DIM_EFFECT4DEPTH, $GIG_DIM_EFFECT5DEPTH.
844      - Giga format scripts: Implemented built-in script function      - Giga format scripts: Implemented built-in script function
845        "gig_set_dim_zone(event_id, dimension, zone)".        "gig_set_dim_zone(event_id, dimension, zone)".
846      - Implemented built-in script int array variable $KEY_DOWN.      - Implemented built-in script int array variable %KEY_DOWN.
847      - Implemented built-in script function "abs()".      - Implemented built-in script function "abs()".
848      - Implemented built-in script function "random()".      - Implemented built-in script function "random()".
849      - Implemented built-in script function "num_elements()".      - Implemented built-in script function "num_elements()".
# Line 542  Version 2.0.0 (15 July 2015) Line 857  Version 2.0.0 (15 July 2015)
857        (i.e. return value of new script function "by_marks()").        (i.e. return value of new script function "by_marks()").
858      - Pass/preserve polyphonic variable data from respective "note" event      - Pass/preserve polyphonic variable data from respective "note" event
859        handler to "release" event handler.        handler to "release" event handler.
860        - Fixed crash when using built-in script function "by_marks()".
861    
862    * Bug fixes:    * Bug fixes:
863      - 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.2911  
changed lines
  Added in v.3575

  ViewVC Help
Powered by ViewVC