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

Diff of /linuxsampler/trunk/ChangeLog

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

revision 3118 by schoenebeck, Fri Apr 21 13:33:03 2017 UTC revision 3585 by schoenebeck, Fri Aug 30 17:51:24 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++14 compiler support.
6        - Autoconf: Added m4/ax_cxx_compile_stdcxx.m4 macro which is used
7          for checking in configure for C++14 support (as mandatory
8          requirement) and automatically adds compiler argument if required
9          (e.g. -std=C++14).
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        - NKSP VM API: Allow units and 'final'ness to be returned as result from
62          built-in functions (added methods VMFunction::returnUnitType() and
63          VMFunction::returnsFinal() for that purpose which must be implemented by
64          built-in function implementations).
65        - NKSP language: Allow metric unit prefixes of numeric scalar and array
66          variables to be changed freely at runtime (unlike unit types like Hz etc.
67          which are still sticky, parse-time features of variables which cannot be
68          changed at runtime for the intentional sake of determinism).
69        - NKSP language: 'final' values are prohibited for array variables for now
70          (attempt causes a parsers error).
71        - NKSP language: expressions with unit types (e.g. Hz) are prohibited for
72          conditions of runtime control structures like if(), while(), select()
73          (attempt causes a parser error).
74        - NKSP VM API: Allow built-in functions to perform their own, individual
75          parse time checks of arguments going to be passed to the function at
76          runtime (added method VMFunction::checkArgs() for that purpose).
77        - NKSP language: raise parser warning if only one operand of binary
78          operators (like logical 'or' comparison) contain a 'final' value (because
79          it would always yield in a 'final' result in such cases).
80        - NKSP language: Allow comparison (=, #, <, >, <=, >=) of values with
81          different metric unit prefixes, which will behave as expected (e.g.
82          result of expression '1000us < 2ms' is true).
83        - NKSP language: Allow adding values with different metric unit prefixes
84          (e.g. result of expression '100Hz + 5kHz' is '5100Hz').
85        - NKSP language: Allow subtracting values with different metric unit
86          prefixes (e.g. result of expression '1ms - 20us' is '980us').
87        - NKSP language: Allow multiplying with any metric unit prefixes
88          (e.g. result of expression '2k * 3ms' is '6s'), however multiplications
89          with unit types on both sides (e.g. '2s * 2s') is still prohibited since
90          we don't have any considerable practical use for a term like '4s^2'
91          (hence any attempt multiplying two unit types still causes parser error).
92        - NKSP language: Allow dividing by any metric unit prefixes and allow
93          division of same unit type on both sides (e.g. expression '8kHz / 1000Hz'
94          yields in unit free result '8'). So this is now a way to cast units away
95          e.g. for passing the result to other expressions, certain function calls
96          or variables which are not accepting any units (or that specific unit).
97        - NKSP language: integer arrays and real number arrays can now be converted
98          to strings (e.g. for dumping their content with message() calls for
99          script debugging purposes).
100        - NKSP language: expressions and variables with units are now correctly
101          casted to strings (e.g. with message() calls).
102        - NKSP language: comparing real numbers for equalness (e.g. '~foo = 3.1') or
103          unequalness (e.g. '~foo # 3.1') is now less strict and takes the expected
104          floating point tolerances into account.
105        - NKSP VM API: Added methods VMScalarNumberExpr::evalCastInt() and
106          VMScalarNumberExpr::evalCastReal().
107        - NKSP VM API: Added base class 'VMNumberArrayExpr' for classes
108          'VMIntArrayExpr' and 'VMRealArrayExpr'.
109        - NKSP VM API: replaced all unitPrefix() (parse time) methods by
110          unitFactor() (runtime) methods.
111        - Built-in function "exit()" supports now returning units and 'final'ness
112          for test cases.
113        - The following built-in functions support now units as well: "abs()",
114          "random()", "inc()", "dec()", "in_range()", "min()", "max()",
115          "real_to_int()", "int()", "int_to_real()" and "real()".
116        - Built-in functions "array_equal()", "search()" and "sort()" support now
117          real number arrays (correctly) as well.
118        - Added individual parse time checks of arguments to be passed to built-in
119          functions "random()", "inc()", "dec()", "in_range()", "min()", "max()",
120          "array_equal()" and "search()" specific for their individual purposes.
121        - NKSP VM refactoring: Renamed all methods, functions and classes matching
122          pattern *ScalarNumber* to simply *Number* (that is i.e. classes
123          VMScalarNumberExpr -> VMNumberExpr, ScalarNumberExpr -> NumberExpr,
124          ScalarNumberVariable -> NumberVariable, ScalarNumberBinaryOp ->
125          NumberBinaryOp, VMScalarNumberResultFunction -> VMNumberResultFunction,
126          method VMExpr::asScalarNumberExpr() -> VMExpr::asNumber(), function
127          isScalarNumber() -> isNumber()).
128        - NKSP VM API: Added 4 overridden methods to class VMNumberExpr:
129          evalCastInt(MetricPrefix_t), evalCastInt(MetricPrefix_t,MetricPrefix_t),
130          evalCastReal(MetricPrefix_t), evalCastReal(MetricPrefix_t,MetricPrefix_t)
131          as convenient methods for automatically converting values to expected
132          metric value basis.
133        - Built-in function "wait()" accepts now both integers and real numbers as
134          argument.
135        - NKSP VM API cleanup: Get rid of legacy method
136          VMFunction::argType(vmint iArg) which was already superseded by its new
137          replacement VMFunction::acceptsArgType(vmint iArg, ExprType_t type).
138        - NKSP parser: if wrong argument type was passed to a built-in function and
139          that built-in function accepts more than one data type for the argument,
140          then show all supported data types as parser error message.
141    
142      * test cases:
143        - Fixed compiler errors in test cases.
144        - Updated README for how to compile & run test cases.
145        - Updated test case
146          MutexTest::testDoubleLockStillBlocksConcurrentThread() to latest
147          expected behaviour of the Mutex class implementation (recursive
148          mutex type).
149        - Added test cases for NKSP core language aspects and core built-in
150          functions.
151        - Fixed thread tests segfaulting on Linux.
152        - NKSP: Added real number test cases for built-in functions exit(),
153          int_to_real(), real(), real_to_int() and int(), as well as for the
154          plus, minus and negate language operators.
155        - Added massive amount of NKSP test cases for standard measuring units and
156          'final' operator usage cases.
157        - Added NKSP test cases for (floating point tolerance aware) real number
158          equalness / unequalness comparison.
159    
160    Version 2.1.1 (27 Jul 2019)
161    
162      * Real-time instrument scripts:
163        - Fixed behavior of built-in NKSP functions change_sustain(),
164          change_cutoff_attack(), change_cutoff_decay(), change_cutoff_sustain()
165          and change_cutoff_release().
166    
167      * general changes:
168        - Only play release trigger samples on sustain pedal up if this behaviour
169          was explicitly requested by the instrument (otherwise only on note-off).
170        - Fixed compiler warnings.
171        - Fixed compilation error when cross-compiling to Mac.
172        - FX Sends: Provide more useful error messages on routing problems
173          (see bug #169).
174        - LSCP doc: Be more clear describing the two distinct approaches
175          of using external vs. internal effects (see bug #169).
176        - "optional" class: Fixed comparison operators.
177    
178      * Gigasampler/GigaStudio format engine:
179        - Format extension: If requested by instrument then don't play release
180          trigger sample on note-off events.
181    
182      * SFZ format engine:
183        - Fixed memory leak when releasing samples
184          (fixes bug #307, patch by Jacek Roszkowski)
185        - Fixed potential crash when a sample is shared by more than one region
186          (fixes bug #308, patch by Jacek Roszkowski).
187        - Opcode 'sample': Added support for built-in sample '*silence'
188          (fixes bug #310, patch by Jacek Roszkowski).
189    
190    Version 2.1.0 (25 Nov 2017)
191    
192    * SFZ format engine:    * SFZ format engine:
193      - added support for <global>, <master> and #define (patch by Alby M)      - added support for <global>, <master> and #define (patch by Alby M)
194      - Removed code duplication in SFZ file loading code.      - Removed code duplication in SFZ file loading code.
# Line 7  Version SVN trunk (?) Line 196  Version SVN trunk (?)
196        load real-time instrument script file (NKSP script language).        load real-time instrument script file (NKSP script language).
197      - Implemented opcode set_ccN (initial patch by Giovanni Senatore).      - Implemented opcode set_ccN (initial patch by Giovanni Senatore).
198      - Fixed unintended volume fade-in of voices under certain conditions.      - Fixed unintended volume fade-in of voices under certain conditions.
199        - sfz parser: allow missing space between header and opcode
200    
201    * Gigasampler format engine:    * Gigasampler/GigaStudio format engine:
202      - Fixed clicks and pumping noise with Lowpass Turbo filter on very low      - Fixed clicks and pumping noise with Lowpass Turbo filter on very low
203        cutoff settings.        cutoff settings.
204        - Got rid of resembling an ancient GSt misbehavior which did not pitch at
205          all if an up-pitch of more than 40 semi tones was requested (I don't
206          think there is any stock gig sound that requires this behavior to
207          resemble its original sound).
208        - Added support for controlling whether the individual EGADSR stages may
209          be aborted (as LinuxSampler extension to the original GigaStudio 4
210          format).
211    
212    * general changes:    * general changes:
213      - fixed printf type errors (mostly in debug messages)      - fixed printf type errors (mostly in debug messages)
# Line 43  Version SVN trunk (?) Line 240  Version SVN trunk (?)
240      - windows, 32-bit: fixed potential crashes by making sure the stack in      - windows, 32-bit: fixed potential crashes by making sure the stack in
241        sub threads is 16-byte aligned        sub threads is 16-byte aligned
242      - fixed numerous compiler warnings      - fixed numerous compiler warnings
243        - Fixed invalid (note-on) event ID being assigned to new Note objects.
244        - Revised fundamental C++ classes "Thread", "Mutex" and "Condition" which
245          fixes potential undefined behavior.
246        - Fixed Note object leak when triggering notes on keys which did not
247          have a valid sample mapped (fixes bug #252).
248        - Fixed compilation errors when compiling with CONFIG_DEVMODE enabled.
249        - linuxsampler binary fix: option --create-instruments-db ignored
250          subsequent optional argument due to glibc's implementation oddity
251          which expects a "=" sign, but no space between them.
252    
253    * packaging changes:    * packaging changes:
254      - removed unnecessary dependency to libuuid      - removed unnecessary dependency to libuuid
255        (originated by libgig's usage of it)        (originated by libgig's usage of it)
256      - Automake: set environment variable GCC_COLORS=auto to allow GCC to      - Automake: set environment variable GCC_COLORS=auto to allow GCC to
257        auto detect whether it (sh/c)ould output its messages in color.        auto detect whether it (sh/c)ould output its messages in color.
258        - Debian: Fixed packaging error about invalid "Source-Version"
259          substitution variable.
260        - Debian: Raised Debian compatibility level to Debian 9 "Stretch".
261        - Debian: Added build dependency to libsqlite3-dev for building
262          linuxsampler with instruments DB support.
263    
264    * Real-time instrument scripts:    * Real-time instrument scripts:
265      - Implemented scheduler for delayed MIDI events and for suspended scripts.      - Implemented scheduler for delayed MIDI events and for suspended scripts.
# Line 147  Version SVN trunk (?) Line 358  Version SVN trunk (?)
358      - Implemented built-in script function "change_amp_lfo_freq()".      - Implemented built-in script function "change_amp_lfo_freq()".
359      - Implemented built-in script function "change_pitch_lfo_depth()".      - Implemented built-in script function "change_pitch_lfo_depth()".
360      - Implemented built-in script function "change_pitch_lfo_freq()".      - Implemented built-in script function "change_pitch_lfo_freq()".
361        - Implemented built-in script function "change_vol_time()".
362        - Implemented built-in script function "change_tune_time()".
363        - Implemented built-in script function "fade_in()".
364        - Implemented built-in script function "fade_out()".
365        - Fixed acceptance of wrong data type of parameters passed to built-in
366          script functions "change_vol()", "change_tune()", "change_pan()",
367          "change_cutoff()", "change_reso()", "change_attack()", "change_decay()",
368          "change_release()", "change_amp_lfo_depth()", "change_amp_lfo_freq()",
369          "change_pitch_lfo_depth()" and "change_pitch_lfo_freq()".
370        - Added built-in script function "get_event_par()" and implemented some
371          of its possible parameter selections.
372        - Added built-in script function "set_event_par()" and implemented some
373          of its possible parameter selections.
374        - Fixed a bunch of scheduler time related bugs.
375        - Fixed polyphonic variables not being reset to zero after usage.
376        - Built-in "ignore_event()" function: argument is now optional, like with
377          built-in function "ignore_controller()".
378        - Implemented built-in script function "change_velo()".
379        - Implemented built-in script function "change_note()".
380        - Adjusted behavior of "change_vol()" and "change_tune()" to a more
381          intuitive behavior if used in combination with "change_vol_time()" or
382          "change_tune_time()" respectively: now tuning/volume changes are only
383          assigned (without delay) immediately to a new note if the respective
384          timing function has not been called before, otherwise the volume/tuning
385          changes are automatically faded (before, only the event's time stamp was
386          relevant).
387         - Implemented built-in script function "array_equal()".
388         - Implemented built-in script function "search()".
389         - Implemented built-in script function "sort()".
390         - NKSP Fix: Never suspend "init" event handlers.
391         - Implemented built-in script function "same_region()" (currently only
392           available for gig format engine).
393         - Added built-in script constant "$NKSP_LINEAR".
394         - Added built-in script constant "$NKSP_EASE_IN_EASE_OUT".
395         - Implemented built-in script function "change_vol_curve()".
396         - Implemented built-in script function "change_tune_curve()".
397         - built-in "play_note()" function now supports a sample playback start
398           offset with argument 3, where special value -1 means to use the regular
399           sample offset as defined by the instrument file.
400         - Built-in array variable %KEY_DOWN[] is now a read-only variable.
401         - Built-in variable $EVENT_NOTE is now a read-only variable.
402         - Built-in variable $EVENT_VELOCITY is now a read-only variable.
403         - built-in "play_note()" function now accepts -2 for its fourth argument
404           (note duration) which means the life time of the note shall be sticked
405           to the requested note number of argument 1.
406         - Fix: built-in "play_note()" function now returns 0 as result value if
407           -1 was passed for its fourth argument (note duration) and the respective
408           parent note is already gone.
409        - Implemented built-in script function "change_play_pos()".
410        - NKSP language: Added support for user declared const array variables.
411        - NKSP language: Raise parser warning if array variable is accessed with
412          an index that exceeds the array's size.
413        - NKSP language fix: Unknown characters were not handled correctly.
414        - NKSP language: Added support for "synchronized .. end synchronized"
415          code blocks.
416        - Implemented built-in script function "abort()" which allows to abort
417          another script handler by passing its callback ID.
418        - Fixed potential memory access bug and potential undefined behavior of
419          "init" event handlers.
420        - Print a time stamp along to each call of built-in function "message()".
421        - ScriptVM API: Added VMParserContext::preprocessorComments() which allows
422          to retrieve all code blocks filtered out by the preprocessor.
423        - Added built-in script function "fork()".
424        - Added built-in array variable %NKSP_CALLBACK_CHILD_ID[].
425        - Added built-in variable $NKSP_CALLBACK_PARENT_ID.
426        - Fixed potential crash when accessing dynamic built-in array variables.
427        - Added built-in script function "callback_status()".
428        - Added built-in constant $CALLBACK_STATUS_TERMINATED.
429        - Added built-in constant $CALLBACK_STATUS_QUEUE.
430        - Added built-in constant $CALLBACK_STATUS_RUNNING.
431        - Removed max. value limitation of built-in functions "change_attack()",
432          "change_decay()" and "change_release()" to i.e. allow passing 2000000
433          for doubling the respective time.
434        - NKSP script editor syntax highlighting API: Fixed app termination due
435          to a lexer start condition stack underrun.
436        - NKSP preprocessor: Fixed wrong behavior on nested USE_CODE_IF() and
437          USE_CODE_IF_NOT() preprocessor statements.
438        - NKSP: Added built-in preprocessor condition NKSP_NO_MESSAGE, which
439          can be set to disable all subsequent built-in "message()" function calls
440          on preprocessor level.
441        - Implemented built-in script function "change_sustain()".
442        - NKSP script editor syntax highlighting API: catch all fatal lexer errors,
443          to avoid the editor app to crash on ill-formed text input.
444        - Added built-in script function "change_pan_time()".
445        - Added built-in script function "change_pan_curve()".
446        - Added built-in script function "change_cutoff_attack()".
447        - Added built-in script function "change_cutoff_decay()".
448        - Added built-in script function "change_cutoff_sustain()".
449        - Added built-in script function "change_cutoff_release()".
450        - Added built-in script function "change_cutoff_lfo_depth()".
451        - Added built-in script function "change_cutoff_lfo_freq()".
452    
453    * Instruments DB:    * Instruments DB:
454      - Fixed memory access bug of general DB access code which lead to      - Fixed memory access bug of general DB access code which lead to
# Line 631  Version 2.0.0 (15 July 2015) Line 933  Version 2.0.0 (15 July 2015)
933        $GIG_DIM_EFFECT3DEPTH, $GIG_DIM_EFFECT4DEPTH, $GIG_DIM_EFFECT5DEPTH.        $GIG_DIM_EFFECT3DEPTH, $GIG_DIM_EFFECT4DEPTH, $GIG_DIM_EFFECT5DEPTH.
934      - Giga format scripts: Implemented built-in script function      - Giga format scripts: Implemented built-in script function
935        "gig_set_dim_zone(event_id, dimension, zone)".        "gig_set_dim_zone(event_id, dimension, zone)".
936      - Implemented built-in script int array variable $KEY_DOWN.      - Implemented built-in script int array variable %KEY_DOWN.
937      - Implemented built-in script function "abs()".      - Implemented built-in script function "abs()".
938      - Implemented built-in script function "random()".      - Implemented built-in script function "random()".
939      - Implemented built-in script function "num_elements()".      - Implemented built-in script function "num_elements()".

Legend:
Removed from v.3118  
changed lines
  Added in v.3585

  ViewVC Help
Powered by ViewVC