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

Diff of /linuxsampler/trunk/ChangeLog

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

revision 2719 by schoenebeck, Wed Feb 25 22:46:38 2015 UTC revision 3701 by schoenebeck, Sat Jan 4 18:15:04 2020 UTC
# Line 1  Line 1 
1  Version CVS HEAD (?)  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        - Added public API C++ class "LFO", which is a cluster class encapsulating
14          all the sampler's LFO implementations to be used by 3rd party applications
15          (e.g. by Gigedit).
16        - Added int math square LFO implementation.
17        - Added int math saw LFO implementation.
18        - Added numeric complex nr sine LFO implementation.
19        - Marked class LFOTriangleDiHarmonic as deprecated
20          (will be removed in future).
21        - Added LFOAll.h which includes all LFO implementation's header files.
22        - Refactored LFO class names and their file names (PulseLFO -> LFOPulse,
23          LFOSawIntMath -> LFOSawIntMathNew, SawLFO -> LFOSawIntMathOld,
24          SineLFO -> LFOSineBuiltinFn, LFOSine -> LFOSineNumericComplexNr,
25          SquareLFO -> LFOSquarePulse and separated the latter to its own header
26          file).
27        - Renamed type LFOSigned -> LFOTriangleSigned.
28        - Renamed type LFOUnsigned -> LFOTriangleUnsigned.
29        - Using now cubic interpolation as resampling algorithm by default; and
30          linear interpolation is deprecated now.
31        - Event:Init(): memset() entire Event::Param union to zero instead of trying
32          to do that for its individual members; the latter became error prone due
33          to the union's growing complexity meanwhile.
34        - EngineChannel: Overhaul of RPN/NRPN related methods: Added new
35          *Rpn*Parameter*() methods as replacement for previous *Rpn*Controller*()
36          methods and marked the old ones as deprecated; and likewise added new
37          *Nrpn*Parameter*() methods as replacement for previous *Nrpn*Controller*()
38          methods and marked those old ones deprecated as well.
39        - Added support for MIDI CC #38 (data entry LSB): this allows higher value
40          resolution for certain (e.g. hard coded) RPN and NRPN parameters.
41        - Implemented support for compressed RPN/NRPN message sequences (that is to
42          allow processing MIDI data entry messages without always having to be
43          preceded strictly by RPN/NRPN parameter selection messages on each value
44          change).
45        - Added support for MIDI CC #96 (data increment) and MIDI CC #97 (data
46          decrement).
47        - Added support for 'null function RPN/NRPN' (which is RPN/NRPN parameter
48          MSB=127 and LSB=127) and which is disabling subsequent data
49          entry/increment/decrement CC messages.
50    
51      * Real-time instrument scripts:
52        - Added method ScriptVM::setExitResultEnabled() which allows to
53          explicitly enable the built-in exit() function to optionally accept
54          one function argument; the value of the passed exit() function
55          argument will then become available by calling
56          VMExecContext::exitResult() after script execution.
57        - 64 bit support for NKSP integer scripts variables (declare $foo).
58        - Variable names, function names and preprocessor condition names must start
59          with a regular character (a-z or A-Z); starting them with a digit or
60          underscore is not allowed.
61        - NKSP parser fix: equal comparison operator "=" and not equal comparison
62          operator "#" must only accept integer operands.
63        - NKSP language: Implemented support for standard units like Hertz, seconds,
64          Bel including support for metric unit prefixes; so one can now e.g.
65          conveniently use numbers in scripts like "5us" meaning "5 microseconds",
66          or e.g. "12kHz" meaning "12 kilo Hertz", or e.g. "-14mdB" meaning
67          "minus 14 Millidecibel", or e.g. "28c" meaning "28 cents" (for tuning).
68        - NKSP language: Introduced "final" operator "!" which is specifically
69          intended for synthesis parameter values to denote that the synthesis
70          parameter value is intended to be the "final" value for that synthesis
71          parameter that should explicitly be used by the engine and thus causing
72          the sampler engine to ignore all other modulation sources for the same
73          synthesis parameter (like e.g. LFO, EG); by simply prefixing a value,
74          variable or formula with this new "!" operator the expression is marked as
75          being "final".
76        - NKSP script editor API: Added support for detecting standard unit tokens
77          and their potential metric prefix token.
78        - NKSP language: Added support for NKSP real number literals and
79          arithmetic operations on them (e.g. "(3.9 + 2.9) / 12.3 - 42.0").
80        - NKSP language: Added support for NKSP real number (floating point) script
81          variables (declare ~foo).
82        - NKSP language: Added support for NKSP real number (floating point) array
83          script variables (declare ?foo[]).
84        - Built-in script function "message()" accepts now real number argument as
85          well.
86        - Added built-in script function "real_to_int()" and its short hand form
87          "int()" for casting from real number to integer in NKSP scripts.
88        - Added built-in script function "int_to_real()" and its short hand form
89          "real()" for casting from integer to real number in NKSP scripts.
90        - Allow built-in exit() function to potentially accept real number type
91          argument as well.
92        - Built-in script functions may have a different return type depending on
93          the arguments passed to the function.
94        - Built-in script function "abs()" optionally accepts and returns real
95          number.
96        - Built-in script functions "min()" and "max()" optionally accept real
97          number arguments and return real number as result in that case.
98        - NKSP VM API: Allow units and 'final'ness to be returned as result from
99          built-in functions (added methods VMFunction::returnUnitType() and
100          VMFunction::returnsFinal() for that purpose which must be implemented by
101          built-in function implementations).
102        - NKSP language: Allow metric unit prefixes of numeric scalar and array
103          variables to be changed freely at runtime (unlike unit types like Hz etc.
104          which are still sticky, parse-time features of variables which cannot be
105          changed at runtime for the intentional sake of determinism).
106        - NKSP language: 'final' values are prohibited for array variables for now
107          (attempt causes a parsers error).
108        - NKSP language: expressions with unit types (e.g. Hz) are prohibited for
109          conditions of runtime control structures like if(), while(), select()
110          (attempt causes a parser error).
111        - NKSP VM API: Allow built-in functions to perform their own, individual
112          parse time checks of arguments going to be passed to the function at
113          runtime (added method VMFunction::checkArgs() for that purpose).
114        - NKSP language: raise parser warning if only one operand of binary
115          operators (like logical 'or' comparison) contain a 'final' value (because
116          it would always yield in a 'final' result in such cases).
117        - NKSP language: Allow comparison (=, #, <, >, <=, >=) of values with
118          different metric unit prefixes, which will behave as expected (e.g.
119          result of expression '1000us < 2ms' is true).
120        - NKSP language: Allow adding values with different metric unit prefixes
121          (e.g. result of expression '100Hz + 5kHz' is '5100Hz').
122        - NKSP language: Allow subtracting values with different metric unit
123          prefixes (e.g. result of expression '1ms - 20us' is '980us').
124        - NKSP language: Allow multiplying with any metric unit prefixes
125          (e.g. result of expression '2k * 3ms' is '6s'), however multiplications
126          with unit types on both sides (e.g. '2s * 2s') is still prohibited since
127          we don't have any considerable practical use for a term like '4s^2'
128          (hence any attempt multiplying two unit types still causes parser error).
129        - NKSP language: Allow dividing by any metric unit prefixes and allow
130          division of same unit type on both sides (e.g. expression '8kHz / 1000Hz'
131          yields in unit free result '8'). So this is now a way to cast units away
132          e.g. for passing the result to other expressions, certain function calls
133          or variables which are not accepting any units (or that specific unit).
134        - NKSP language: integer arrays and real number arrays can now be converted
135          to strings (e.g. for dumping their content with message() calls for
136          script debugging purposes).
137        - NKSP language: expressions and variables with units are now correctly
138          casted to strings (e.g. with message() calls).
139        - NKSP language: comparing real numbers for equalness (e.g. '~foo = 3.1') or
140          unequalness (e.g. '~foo # 3.1') is now less strict and takes the expected
141          floating point tolerances into account.
142        - NKSP VM API: Added methods VMScalarNumberExpr::evalCastInt() and
143          VMScalarNumberExpr::evalCastReal().
144        - NKSP VM API: Added base class 'VMNumberArrayExpr' for classes
145          'VMIntArrayExpr' and 'VMRealArrayExpr'.
146        - NKSP VM API: replaced all unitPrefix() (parse time) methods by
147          unitFactor() (runtime) methods.
148        - Built-in function "exit()" supports now returning units and 'final'ness
149          for test cases.
150        - The following built-in functions support now units as well: "abs()",
151          "random()", "inc()", "dec()", "in_range()", "min()", "max()",
152          "real_to_int()", "int()", "int_to_real()" and "real()".
153        - Built-in functions "array_equal()", "search()" and "sort()" support now
154          real number arrays (correctly) as well.
155        - Added individual parse time checks of arguments to be passed to built-in
156          functions "random()", "inc()", "dec()", "in_range()", "min()", "max()",
157          "array_equal()" and "search()" specific for their individual purposes.
158        - NKSP VM refactoring: Renamed all methods, functions and classes matching
159          pattern *ScalarNumber* to simply *Number* (that is i.e. classes
160          VMScalarNumberExpr -> VMNumberExpr, ScalarNumberExpr -> NumberExpr,
161          ScalarNumberVariable -> NumberVariable, ScalarNumberBinaryOp ->
162          NumberBinaryOp, VMScalarNumberResultFunction -> VMNumberResultFunction,
163          method VMExpr::asScalarNumberExpr() -> VMExpr::asNumber(), function
164          isScalarNumber() -> isNumber()).
165        - NKSP VM API: Added 4 overridden methods to class VMNumberExpr:
166          evalCastInt(MetricPrefix_t), evalCastInt(MetricPrefix_t,MetricPrefix_t),
167          evalCastReal(MetricPrefix_t), evalCastReal(MetricPrefix_t,MetricPrefix_t)
168          as convenient methods for automatically converting values to expected
169          metric value basis.
170        - Built-in function "wait()" accepts now both integers and real numbers as
171          argument.
172        - NKSP VM API cleanup: Get rid of legacy method
173          VMFunction::argType(vmint iArg) which was already superseded by its new
174          replacement VMFunction::acceptsArgType(vmint iArg, ExprType_t type).
175        - NKSP parser: if wrong argument type was passed to a built-in function and
176          that built-in function accepts more than one data type for the argument,
177          then show all supported data types as parser error message.
178        - Built-in function "play_note()" accepts now real numbers and seconds as
179          unit type as well for its 3rd and 4th function arguments.
180        - The following built-in functions accept now real numbers as well for their
181          2nd function argument: "change_vol()", "change_tune()", "change_cutoff()",
182          "change_attack()", "change_decay()", "change_release()",
183          "change_sustain()", "change_cutoff_attack()", "change_cutoff_decay()",
184          "change_cutoff_sustain()", "change_cutoff_release()",
185          "change_amp_lfo_freq()", "change_cutoff_lfo_freq()",
186          "change_pitch_lfo_freq()", "change_vol_time()", "change_tune_time()",
187          "change_pan_time()", "fade_in()", "fade_out()", "change_play_pos()".
188        - Fixed built-in function "change_play_pos()" not having accepted metric
189          prefixes at all.
190        - Fixed the following built-in functions having misinterpreted values given
191          with unit type (for their 2nd argument) as if they were relative values
192          (that is as if they were passed without a unit type): "change_attack()",
193          "change_decay()", "change_release()", "change_cutoff_attack()",
194          "change_cutoff_decay()", "change_cutoff_release()".
195        - Fixed the following built-in functions having applied completely wrong
196          'final' values: "change_sustain()", "change_cutoff_sustain()" (since the
197          respective EGs being their modulation sink assume uint data type with
198          value range 0..1000 instead of 0.0..1.0.
199        - Added individual parse-time checks of function arguments for the following
200          built-in functions: "play_note()", "note_off()", "set_event_mark()",
201          "delete_event_mark()", "by_marks()", "change_cutoff()", "change_attack()",
202          "change_decay()", "change_release()", "change_cutoff_attack()",
203          "change_cutoff_decay()", "change_cutoff_release()",
204          "change_amp_lfo_freq()", "change_cutoff_lfo_freq()",
205          "change_pitch_lfo_freq()", "change_vol_time()", "change_tune_time()" and
206          "change_pan_time()".
207        - Don't abort function call if unit type was used and at the same time
208          'final' operator was omitted for the primary value argument of the
209          following built-in functions: "change_cutoff()", "change_attack()",
210          "change_decay()", "change_release()", "change_cutoff_attack()",
211          "change_cutoff_decay()", "change_cutoff_release()",
212          "change_amp_lfo_freq()", "change_cutoff_lfo_freq()",
213          "change_pitch_lfo_freq()", "change_vol_time()", "change_tune_time()",
214          "change_pan_time()", instead imply 'final'ness at runtime and raise an
215          appropriate parser warning at parse time.
216        - Added built-in real number functions "round()", "ceil()", "floor()",
217          "sqrt()", "log()", "log2()", "log10()", "exp()", "pow()", "sin()",
218          "cos()", "tan()", "asin()", "acos()", "atan()".
219        - Added built-in script real number constant "~NI_MATH_PI".
220        - Added built-in script real number constant "~NI_MATH_E".
221        - NKSP language: Allow unary '+' operator.
222        - Added built-in script functions "msb()" and "lsb()".
223        - NKSP language: Added support for RPN event handler
224          ("on rpn ... end on" in instrument scripts).
225        - NKSP language: Added support for NRPN event handler
226          ("on nrpn ... end on" in instrument scripts).
227        - Added built-in read-only variables "$RPN_ADDRESS" and "$RPN_VALUE" which
228          may be read from the new RPN/NRPN script handlers to get the (N)RPN
229          parameter that had been changed and its new value.
230        - Added built-in const variables "$NI_CB_TYPE_RPN" and "$NI_CB_TYPE_NRPN"
231          which are identifying the new (N)RPN handlers as such at script runtime.
232        - Implemented built-in script function "set_rpn()".
233        - Implemented built-in script function "set_nrpn()".
234    
235      * test cases:
236        - Fixed compiler errors in test cases.
237        - Updated README for how to compile & run test cases.
238        - Updated test case
239          MutexTest::testDoubleLockStillBlocksConcurrentThread() to latest
240          expected behaviour of the Mutex class implementation (recursive
241          mutex type).
242        - Added test cases for NKSP core language aspects and core built-in
243          functions.
244        - Fixed thread tests segfaulting on Linux.
245        - NKSP: Added real number test cases for built-in functions exit(),
246          int_to_real(), real(), real_to_int() and int(), as well as for the
247          plus, minus and negate language operators.
248        - Added massive amount of NKSP test cases for standard measuring units and
249          'final' operator usage cases.
250        - Added NKSP test cases for (floating point tolerance aware) real number
251          equalness / unequalness comparison.
252        - Added NKSP int array and real array tests for value assignment and
253          initialization of arrays.
254        - Added NKSP test cases for built-in functions "round()", "ceil()",
255          "floor()", "sqrt()", "log()", "log2()", "log10()", "exp()", "pow()",
256          "sin()", "cos()", "tan()", "asin()", "acos()", "atan()".
257        - Added NKSP test cases for unary '+' operator.
258        - Added NKSP test cases for core built-in variables.
259    
260      * GigaStudio/Gigasampler format engine:
261        - LFOTriangleIntMath and LFOTriangleIntAbsMath: Fixed FlipPhase=true
262          behaviour for start_level_mid.
263        - Changed LFO start levels: LFO1 and LFO2 both to mid, LFO3 to max. start
264          level (see discussion "GigaStudio LFO compatibility" on mailing list
265          from 2019-09-26 for details).
266        - Changed default wave form for all 3 LFOs to sine (instead of triangle;
267          see discussion "GigaStudio LFO compatibility" on mailing list from
268          2019-09-26 for details).
269        - Format extension: Added support for different LFO wave forms (currently
270          either sine [default], triangle, saw or square).
271        - Format extension: Added support for LFO phase displacement (0°..360°).
272        - Format extension: Added support for flipping LFO polarity on LFO 3
273          (in the original gig format this was only available for LFO 1 and LFO 2).
274        - Format extension: Support for additional filter types:
275          lowpass 1/2/4/6-pole, highpass 1/2/4/6-pole, bandpass 2-pole,
276          bandreject 2-pole.
277    
278      * SFZ format engine:
279        - Fixed support for regions with loccN/hiccN conditions on more than one
280          MIDI controller.
281    
282      * Benchmarks:
283        - Fixed benchmarks/triang.cpp falsely having favoured "int math abs"
284          algorithm (since result of 2nd run was not accumulated).
285        - Added benchmark for saw wave (benchmarks/saw.cpp).
286        - Added benchmark for sine wave (benchmarks/sine.cpp).
287        - Added benchmark for square wave (benchmarks/square.cpp).
288        - Increased amount of benchmarks runs by factor 6 to achieve benchmark times
289          which are large enough on modern systems.
290    
291    Version 2.1.1 (27 Jul 2019)
292    
293      * Real-time instrument scripts:
294        - Fixed behavior of built-in NKSP functions change_sustain(),
295          change_cutoff_attack(), change_cutoff_decay(), change_cutoff_sustain()
296          and change_cutoff_release().
297    
298      * general changes:
299        - Only play release trigger samples on sustain pedal up if this behaviour
300          was explicitly requested by the instrument (otherwise only on note-off).
301        - Fixed compiler warnings.
302        - Fixed compilation error when cross-compiling to Mac.
303        - FX Sends: Provide more useful error messages on routing problems
304          (see bug #169).
305        - LSCP doc: Be more clear describing the two distinct approaches
306          of using external vs. internal effects (see bug #169).
307        - "optional" class: Fixed comparison operators.
308    
309      * Gigasampler/GigaStudio format engine:
310        - Format extension: If requested by instrument then don't play release
311          trigger sample on note-off events.
312    
313      * SFZ format engine:
314        - Fixed memory leak when releasing samples
315          (fixes bug #307, patch by Jacek Roszkowski)
316        - Fixed potential crash when a sample is shared by more than one region
317          (fixes bug #308, patch by Jacek Roszkowski).
318        - Opcode 'sample': Added support for built-in sample '*silence'
319          (fixes bug #310, patch by Jacek Roszkowski).
320    
321    Version 2.1.0 (25 Nov 2017)
322    
323      * SFZ format engine:
324        - added support for <global>, <master> and #define (patch by Alby M)
325        - Removed code duplication in SFZ file loading code.
326        - Added support for sfz extension opcode 'script' which may be used to
327          load real-time instrument script file (NKSP script language).
328        - Implemented opcode set_ccN (initial patch by Giovanni Senatore).
329        - Fixed unintended volume fade-in of voices under certain conditions.
330        - sfz parser: allow missing space between header and opcode
331    
332      * Gigasampler/GigaStudio format engine:
333        - Fixed clicks and pumping noise with Lowpass Turbo filter on very low
334          cutoff settings.
335        - Got rid of resembling an ancient GSt misbehavior which did not pitch at
336          all if an up-pitch of more than 40 semi tones was requested (I don't
337          think there is any stock gig sound that requires this behavior to
338          resemble its original sound).
339        - Added support for controlling whether the individual EGADSR stages may
340          be aborted (as LinuxSampler extension to the original GigaStudio 4
341          format).
342    
343      * general changes:
344        - fixed printf type errors (mostly in debug messages)
345        - use unique_ptr instead of auto_ptr when building with C++11
346        - Added RTAVLTree class which is a real-time safe ordered multi-map, thus
347          allowing to sort data efficiently in real-time safe manner.
348        - RTList class: added methods for moving/inserting elements to arbitrary
349          position within a list.
350        - RTList class: added method fromPtr() for creating an Iterator object from
351          a raw element pointer.
352        - Attempt to partly fix resetting engine channels vs. resetting engine, an
353          overall cleanup of the Reset*(), ConnectAudioDevice(),
354          DisconnectAudioDevice() API methods would still be desirable though,
355          because the current situation is still inconsistent and error prone.
356        - Active voices are now internally grouped to "Note" objects, instead of
357          being directly assigned to a keyboard key. This allows more fine graded
358          processing of voices, which is i.e. required for certain instrument
359          script features.
360        - Fix: Release trigger voices were not spawned on sustain pedal up
361          (CC #64) events.
362        - Fix: Release trigger voices can now also distinguish correctly between
363          note-off and sustain pedal up events.
364        - All engines: Increased ramp speed of volume smoother and pan smoother
365          (while slow rate of crossfade smoother is preserved) to allow quick
366          volume and pan changes by instrument scripts for instance.
367        - gig/sf2/sfz: Fixed aftertouch channel pressure events being processed
368          properly and thus were ignored for certain uses.
369        - Added new C++ API method
370          VirtualMidiDevice::SendChannelPressureToSampler().
371        - windows, 32-bit: fixed potential crashes by making sure the stack in
372          sub threads is 16-byte aligned
373        - fixed numerous compiler warnings
374        - Fixed invalid (note-on) event ID being assigned to new Note objects.
375        - Revised fundamental C++ classes "Thread", "Mutex" and "Condition" which
376          fixes potential undefined behavior.
377        - Fixed Note object leak when triggering notes on keys which did not
378          have a valid sample mapped (fixes bug #252).
379        - Fixed compilation errors when compiling with CONFIG_DEVMODE enabled.
380        - linuxsampler binary fix: option --create-instruments-db ignored
381          subsequent optional argument due to glibc's implementation oddity
382          which expects a "=" sign, but no space between them.
383    
384      * packaging changes:
385        - removed unnecessary dependency to libuuid
386          (originated by libgig's usage of it)
387        - Automake: set environment variable GCC_COLORS=auto to allow GCC to
388          auto detect whether it (sh/c)ould output its messages in color.
389        - Debian: Fixed packaging error about invalid "Source-Version"
390          substitution variable.
391        - Debian: Raised Debian compatibility level to Debian 9 "Stretch".
392        - Debian: Added build dependency to libsqlite3-dev for building
393          linuxsampler with instruments DB support.
394    
395      * Real-time instrument scripts:
396        - Implemented scheduler for delayed MIDI events and for suspended scripts.
397        - Built-in script function "wait()": implemented support for function's
398          "duration-us" argument, thus scripts using this function are now
399          correctly resumed after the requested amount of microseconds.
400        - Built-in script function "play_note()": implemented support for
401          function's "duration-us" argument, thus notes triggered with this
402          argument are now correctly released after the requested amount of
403          microseconds.
404        - Fix: script events were not cleared when engine channel was reset,
405          potentially causing undefined behavior.
406        - Fixed crash which happened when trying to reference an undeclared
407          variable.
408        - Built-in script function "play_note()": Added support for passing
409          special value -1 for "duration-us" argument, which will cause the
410          triggered note to be released once the original note was released.
411        - Instrument script classes now exported with the liblinuxsampler C++ API.
412        - Added new API method ScriptVM::syntaxHighlighting() which provides
413          a convenient syntax highlighting backend for external instrument
414          script editor applications.
415        - Added new C++ API class "ScriptVMFactory".
416        - Extended parser issues to provide not only first line and first
417          column, but also last line and last column of issue (thus marking
418          the precise span of the issue within the source code).
419        - Reload script automatically after being modified by an instrument
420          editor.
421        - NKSP language grammar correction: allow empty event handler bodies
422          like "on note end on".
423        - Implemented built-in script function "change_vol()".
424        - Implemented built-in script function "change_tune()".
425        - Implemented built-in script function "change_pan()".
426        - Implemented built-in script function "change_cutoff()".
427        - Implemented built-in script function "change_reso()".
428        - Implemented built-in script function "event_status()".
429        - Added built-in script constants "$EVENT_STATUS_INACTIVE" and
430          "$EVENT_STATUS_NOTE_QUEUE" both for being used as flags for
431          "event_status()" function.
432        - NKSP language: Added support for bitwise operators ".or.", ".and."
433          and ".not.".
434        - NKSP language scanner: Fixed IDs matching to require at least one
435          character (i.e. when matching function names or variable names).
436        - NKSP language scanner: disabled unusued rules.
437        - Fixed behavior of play_note() and note_off() functions which must
438          be distinguished engine internally from "real" MIDI note on/off
439          events in order to avoid misbehaviors like hanging notes.
440        - Implemented built-in script variable "$KSP_TIMER".
441        - Implemented built-in script variable "$NKSP_REAL_TIMER".
442        - Implemented built-in script variable "$NKSP_PERF_TIMER".
443        - Implemented built-in script variable "$ENGINE_UPTIME".
444        - Implemented built-in script function "inc()".
445        - Implemented built-in script function "dec()".
446        - NKSP language fix: division expressions were evaluated too often.
447        - NKSP language fix: string concatenation operator was right
448          associative instead of left (to right).
449        - NKSP language correction: allow empty statements in entire language
450          (i.e. "if end if").
451        - Implemented built-in script function "stop_wait()".
452        - Implemented built-in script variable "$NI_CALLBACK_ID".
453        - Implemented built-in script variable "$NI_CALLBACK_TYPE".
454        - Implemented built-in script variable "$NKSP_IGNORE_WAIT".
455        - Added support for read-only built-in variables (respectively
456          handled by the script parser).
457        - Added built-in script constant "$NI_CB_TYPE_INIT".
458        - Added built-in script constant "$NI_CB_TYPE_NOTE".
459        - Added built-in script constant "$NI_CB_TYPE_RELEASE".
460        - Added built-in script constant "$NI_CB_TYPE_CONTROLLER".
461        - NKSP Language: Added support for user defined script functions.
462        - Implemented built-in script function "change_attack()".
463        - Implemented built-in script function "change_decay()".
464        - Implemented built-in script function "change_release()".
465        - Fixed all change_*() built-in script functions to apply their
466          synthesis parameter changes immediately in case the respective note
467          was triggered at the same time, instead of scheduling the parameter
468          change, especially because it would cause some parameter types's
469          changes either to be ramped (i.e. change_vol()) or other types even
470          to have not effect at all (i.e. change_attack()).
471        - Implemented built-in script function "sh_left()".
472        - Implemented built-in script function "sh_right()".
473        - Implemented built-in script function "min()".
474        - Implemented built-in script function "max()".
475        - NKSP Fix: "init" event handler was not always executed when a script
476          was loaded.
477        - NKSP built-in wait() script function: abort script execution if
478          a negative or zero wait time was passed as argument (since this is
479          a common indication of a bug either of the script or even of the
480          engine, which could lead to RT instability or even worse).
481        - ScriptVM: Implemented automatic suspension of RT safety
482          threatening scripts.
483        - Provide more user friendly error messages on syntax errors.
484        - Fixed NKSP parser warning "Not a statement" when assigning an
485          initializer list to an array variable.
486        - Implemented built-in script array variable "%ALL_EVENTS".
487        - Implemented built-in script function "in_range()".
488        - Implemented built-in script function "change_amp_lfo_depth()".
489        - Implemented built-in script function "change_amp_lfo_freq()".
490        - Implemented built-in script function "change_pitch_lfo_depth()".
491        - Implemented built-in script function "change_pitch_lfo_freq()".
492        - Implemented built-in script function "change_vol_time()".
493        - Implemented built-in script function "change_tune_time()".
494        - Implemented built-in script function "fade_in()".
495        - Implemented built-in script function "fade_out()".
496        - Fixed acceptance of wrong data type of parameters passed to built-in
497          script functions "change_vol()", "change_tune()", "change_pan()",
498          "change_cutoff()", "change_reso()", "change_attack()", "change_decay()",
499          "change_release()", "change_amp_lfo_depth()", "change_amp_lfo_freq()",
500          "change_pitch_lfo_depth()" and "change_pitch_lfo_freq()".
501        - Added built-in script function "get_event_par()" and implemented some
502          of its possible parameter selections.
503        - Added built-in script function "set_event_par()" and implemented some
504          of its possible parameter selections.
505        - Fixed a bunch of scheduler time related bugs.
506        - Fixed polyphonic variables not being reset to zero after usage.
507        - Built-in "ignore_event()" function: argument is now optional, like with
508          built-in function "ignore_controller()".
509        - Implemented built-in script function "change_velo()".
510        - Implemented built-in script function "change_note()".
511        - Adjusted behavior of "change_vol()" and "change_tune()" to a more
512          intuitive behavior if used in combination with "change_vol_time()" or
513          "change_tune_time()" respectively: now tuning/volume changes are only
514          assigned (without delay) immediately to a new note if the respective
515          timing function has not been called before, otherwise the volume/tuning
516          changes are automatically faded (before, only the event's time stamp was
517          relevant).
518         - Implemented built-in script function "array_equal()".
519         - Implemented built-in script function "search()".
520         - Implemented built-in script function "sort()".
521         - NKSP Fix: Never suspend "init" event handlers.
522         - Implemented built-in script function "same_region()" (currently only
523           available for gig format engine).
524         - Added built-in script constant "$NKSP_LINEAR".
525         - Added built-in script constant "$NKSP_EASE_IN_EASE_OUT".
526         - Implemented built-in script function "change_vol_curve()".
527         - Implemented built-in script function "change_tune_curve()".
528         - built-in "play_note()" function now supports a sample playback start
529           offset with argument 3, where special value -1 means to use the regular
530           sample offset as defined by the instrument file.
531         - Built-in array variable %KEY_DOWN[] is now a read-only variable.
532         - Built-in variable $EVENT_NOTE is now a read-only variable.
533         - Built-in variable $EVENT_VELOCITY is now a read-only variable.
534         - built-in "play_note()" function now accepts -2 for its fourth argument
535           (note duration) which means the life time of the note shall be sticked
536           to the requested note number of argument 1.
537         - Fix: built-in "play_note()" function now returns 0 as result value if
538           -1 was passed for its fourth argument (note duration) and the respective
539           parent note is already gone.
540        - Implemented built-in script function "change_play_pos()".
541        - NKSP language: Added support for user declared const array variables.
542        - NKSP language: Raise parser warning if array variable is accessed with
543          an index that exceeds the array's size.
544        - NKSP language fix: Unknown characters were not handled correctly.
545        - NKSP language: Added support for "synchronized .. end synchronized"
546          code blocks.
547        - Implemented built-in script function "abort()" which allows to abort
548          another script handler by passing its callback ID.
549        - Fixed potential memory access bug and potential undefined behavior of
550          "init" event handlers.
551        - Print a time stamp along to each call of built-in function "message()".
552        - ScriptVM API: Added VMParserContext::preprocessorComments() which allows
553          to retrieve all code blocks filtered out by the preprocessor.
554        - Added built-in script function "fork()".
555        - Added built-in array variable %NKSP_CALLBACK_CHILD_ID[].
556        - Added built-in variable $NKSP_CALLBACK_PARENT_ID.
557        - Fixed potential crash when accessing dynamic built-in array variables.
558        - Added built-in script function "callback_status()".
559        - Added built-in constant $CALLBACK_STATUS_TERMINATED.
560        - Added built-in constant $CALLBACK_STATUS_QUEUE.
561        - Added built-in constant $CALLBACK_STATUS_RUNNING.
562        - Removed max. value limitation of built-in functions "change_attack()",
563          "change_decay()" and "change_release()" to i.e. allow passing 2000000
564          for doubling the respective time.
565        - NKSP script editor syntax highlighting API: Fixed app termination due
566          to a lexer start condition stack underrun.
567        - NKSP preprocessor: Fixed wrong behavior on nested USE_CODE_IF() and
568          USE_CODE_IF_NOT() preprocessor statements.
569        - NKSP: Added built-in preprocessor condition NKSP_NO_MESSAGE, which
570          can be set to disable all subsequent built-in "message()" function calls
571          on preprocessor level.
572        - Implemented built-in script function "change_sustain()".
573        - NKSP script editor syntax highlighting API: catch all fatal lexer errors,
574          to avoid the editor app to crash on ill-formed text input.
575        - Added built-in script function "change_pan_time()".
576        - Added built-in script function "change_pan_curve()".
577        - Added built-in script function "change_cutoff_attack()".
578        - Added built-in script function "change_cutoff_decay()".
579        - Added built-in script function "change_cutoff_sustain()".
580        - Added built-in script function "change_cutoff_release()".
581        - Added built-in script function "change_cutoff_lfo_depth()".
582        - Added built-in script function "change_cutoff_lfo_freq()".
583    
584      * Instruments DB:
585        - Fixed memory access bug of general DB access code which lead to
586          undefined behavior.
587        - Cleanup of instruments DB file creation and opening code.
588        - The instrument DB path of linuxsampler's --create-instruments-db argument
589          is now optional, if it is missing, then a default location is used.
590        - Added support for scanning SFZ (.sfz) files.
591        - Added support for scanning Sound Font (.sf2) files.
592        - Fixed undefined DB transaction behavior.
593    
594    Version 2.0.0 (15 July 2015)
595    
596    * packaging changes:    * packaging changes:
597      - fixed building with newer MinGW-w64      - fixed building with newer MinGW-w64
# Line 421  Version CVS HEAD (?) Line 1014  Version CVS HEAD (?)
1014        "SUBSCRIBE SEND_EFFECT_CHAIN_INFO"        "SUBSCRIBE SEND_EFFECT_CHAIN_INFO"
1015      - provide comprehensive error messages on LSCP syntax errors      - provide comprehensive error messages on LSCP syntax errors
1016        (suggesting expected next non-terminal symbols)        (suggesting expected next non-terminal symbols)
1017        - Fixed client connection not being closed after network errors.
1018    
1019    * LSCP shell:    * LSCP shell:
1020      - Added support for auto correction of obvious and trivial syntax mistakes.      - Added support for auto correction of obvious and trivial syntax mistakes.
# Line 470  Version CVS HEAD (?) Line 1064  Version CVS HEAD (?)
1064        $GIG_DIM_EFFECT3DEPTH, $GIG_DIM_EFFECT4DEPTH, $GIG_DIM_EFFECT5DEPTH.        $GIG_DIM_EFFECT3DEPTH, $GIG_DIM_EFFECT4DEPTH, $GIG_DIM_EFFECT5DEPTH.
1065      - Giga format scripts: Implemented built-in script function      - Giga format scripts: Implemented built-in script function
1066        "gig_set_dim_zone(event_id, dimension, zone)".        "gig_set_dim_zone(event_id, dimension, zone)".
1067      - Implemented built-in script int array variable $KEY_DOWN.      - Implemented built-in script int array variable %KEY_DOWN.
1068      - Implemented built-in script function "abs()".      - Implemented built-in script function "abs()".
1069      - Implemented built-in script function "random()".      - Implemented built-in script function "random()".
1070      - Implemented built-in script function "num_elements()".      - Implemented built-in script function "num_elements()".
# Line 484  Version CVS HEAD (?) Line 1078  Version CVS HEAD (?)
1078        (i.e. return value of new script function "by_marks()").        (i.e. return value of new script function "by_marks()").
1079      - Pass/preserve polyphonic variable data from respective "note" event      - Pass/preserve polyphonic variable data from respective "note" event
1080        handler to "release" event handler.        handler to "release" event handler.
1081        - Fixed crash when using built-in script function "by_marks()".
1082    
1083    * Bug fixes:    * Bug fixes:
1084      - 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.2719  
changed lines
  Added in v.3701

  ViewVC Help
Powered by ViewVC