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

Diff of /linuxsampler/trunk/ChangeLog

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

revision 2945 by schoenebeck, Thu Jul 14 00:22:26 2016 UTC revision 4010 by schoenebeck, Thu Dec 23 15:26:02 2021 UTC
# Line 1  Line 1 
1  Version SVN trunk (?)  Version SVN trunk (?)
2    
3      * general changes:
4        - AbstractEngineChannel: fixed CCs not being forwarded to all
5          VirtualMIDIDevices.
6        - Fix compiler error with release tarball if no Bison installed
7          (SVN version still requires Flex and Bison being installed).
8    
9      * Real-time instrument scripts:
10        - Fix: Do not share compiled instrument scripts among multiple engine
11          channels (sampler parts) as this can lead to crashes and would allow the
12          same global script variables to be accessible from multiple engine
13          channels which would not be the expected behaviour by instrument script
14          authors.
15    
16      * GigaStudio/Gigasampler format engine:
17        - Use libgig's new IO-per-thread feature to avoid file I/O concurrency
18          issues with .gig file.
19        - Use libgig's new method gig::File::GetSample() with method
20          gig::File::CountSamples() instead of now deprecated
21          gig::File::GetFirstSample() / gig::File::GetNextSample() pair.
22        - Use libgig's new method gig::Instrument::GetRegionAt() with method
23          gig::Instrument:CountRegions() instead of now deprecated
24          gig::Instrument::GetFirstRegion() / gig::Instrument::GetNextRegion() pair.
25        - Use libgig's gig::File::GetInstrument() method with method
26          gig::File::CountInstruments() instead of now deprecated
27          gig::File::GetFirstInstrument() / gig::File::GetNextInstrument() pair.
28        - Show a more detailed error message on terminal if an appropriate editor
29          could not be found for a .gig instrument (if there is not any editor then
30          say so, if there is one but not capable to handle the instrument, then
31          make this case clear to the user; in both cases print the expected
32          location for instrument editor plugins).
33    
34      * MIDI driver:
35        - VirtualMidiDevice: added method Reset() which is e.g. intended to be used
36          in "panic" / MIDI "all sound off" / MIDI "all note off" situations.
37        - VirtualMidiDevice: release all notes on MIDI CC #120 and CC #123.
38    
39    Version 2.2.0 (9 May 2021)
40    
41      * general changes:
42        - Fixed compiler error in Pool.h.
43        - Require C++14 compiler support.
44        - Autoconf: Added m4/ax_cxx_compile_stdcxx.m4 macro which is used
45          for checking in configure for C++14 support (as mandatory
46          requirement) and automatically adds compiler argument if required
47          (e.g. -std=C++14).
48        - RTMath: Implemented floating point comparison methods
49          fEqual32(float,float) and fEqual64(double,double) which take the
50          expected floating point tolerances into account.
51        - Added public API C++ class "LFO", which is a cluster class encapsulating
52          all the sampler's LFO implementations to be used by 3rd party applications
53          (e.g. by Gigedit).
54        - Added int math square LFO implementation.
55        - Added int math saw LFO implementation.
56        - Added numeric complex nr sine LFO implementation.
57        - Marked class LFOTriangleDiHarmonic as deprecated
58          (will be removed in future).
59        - Added LFOAll.h which includes all LFO implementation's header files.
60        - Refactored LFO class names and their file names (PulseLFO -> LFOPulse,
61          LFOSawIntMath -> LFOSawIntMathNew, SawLFO -> LFOSawIntMathOld,
62          SineLFO -> LFOSineBuiltinFn, LFOSine -> LFOSineNumericComplexNr,
63          SquareLFO -> LFOSquarePulse and separated the latter to its own header
64          file).
65        - Renamed type LFOSigned -> LFOTriangleSigned.
66        - Renamed type LFOUnsigned -> LFOTriangleUnsigned.
67        - Using now cubic interpolation as resampling algorithm by default; and
68          linear interpolation is deprecated now.
69        - Event:Init(): memset() entire Event::Param union to zero instead of trying
70          to do that for its individual members; the latter became error prone due
71          to the union's growing complexity meanwhile.
72        - EngineChannel: Overhaul of RPN/NRPN related methods: Added new
73          *Rpn*Parameter*() methods as replacement for previous *Rpn*Controller*()
74          methods and marked the old ones as deprecated; and likewise added new
75          *Nrpn*Parameter*() methods as replacement for previous *Nrpn*Controller*()
76          methods and marked those old ones deprecated as well.
77        - Added support for MIDI CC #38 (data entry LSB): this allows higher value
78          resolution for certain (e.g. hard coded) RPN and NRPN parameters.
79        - Implemented support for compressed RPN/NRPN message sequences (that is to
80          allow processing MIDI data entry messages without always having to be
81          preceded strictly by RPN/NRPN parameter selection messages on each value
82          change).
83        - Added support for MIDI CC #96 (data increment) and MIDI CC #97 (data
84          decrement).
85        - Added support for 'null function RPN/NRPN' (which is RPN/NRPN parameter
86          MSB=127 and LSB=127) and which is disabling subsequent data
87          entry/increment/decrement CC messages.
88        - Fixed crash when editing key groups (a.k.a. exclusive groups) with an
89          instrument editor.
90        - Fixed playing noise at the end of a disk stream under certain conditions.
91        - Fixed potential crash with high pitch at end of RAM playback.
92        - Added configure checks whether C++ compiler supports so called
93          'designated initializers'.
94        - Added global backtraceAsString() function for debugging purposes
95          (POSIX systems only, no Windows implementation yet).
96        - Thread class: Added new methods pushCancelable(), popCancelable(), name(),
97          nameOfCaller() and setNameOfCaller().
98        - configure: Always check for availability of pthread_testcancel() and use
99          it if so (previously it was only used if explicitly enabled by configure
100          option).
101        - Thread class: raise compiler warning if pthread_testcancel() is not
102          available, because it can lead to deadlocks.
103        - Mutex class: Implemented optional bug detection and deadlock debugging
104          features.
105        - Ref<> class is now thread safe (as lock-free and wait-free
106          implementation).
107        - Fixed compilation error with Bison >= 3.6.0.
108        - Fixed rare crash when switching between instruments that had instrument
109          scripts loaded.
110        - Allow EffectChain::InsertEffect() as alternative to
111          EffectChain::AppendEffect() (i.e. with index equal to current chain size).
112        - ConstCapacityArray class: Fixed bug in remove() method.
113        - Fixed crash on certain MIDI RPN and NRPN messages that occurred if no
114          real-time instrument script was loaded.
115    
116      * Real-time instrument scripts:
117        - Added method ScriptVM::setExitResultEnabled() which allows to
118          explicitly enable the built-in exit() function to optionally accept
119          one function argument; the value of the passed exit() function
120          argument will then become available by calling
121          VMExecContext::exitResult() after script execution.
122        - 64 bit support for NKSP integer scripts variables (declare $foo).
123        - Variable names, function names and preprocessor condition names must start
124          with a regular character (a-z or A-Z); starting them with a digit or
125          underscore is not allowed.
126        - NKSP parser fix: equal comparison operator "=" and not equal comparison
127          operator "#" must only accept integer operands.
128        - NKSP language: Implemented support for standard units like Hertz, seconds,
129          Bel including support for metric unit prefixes; so one can now e.g.
130          conveniently use numbers in scripts like "5us" meaning "5 microseconds",
131          or e.g. "12kHz" meaning "12 kilo Hertz", or e.g. "-14mdB" meaning
132          "minus 14 Millidecibel", or e.g. "28c" meaning "28 cents" (for tuning).
133        - NKSP language: Introduced "final" operator "!" which is specifically
134          intended for synthesis parameter values to denote that the synthesis
135          parameter value is intended to be the "final" value for that synthesis
136          parameter that should explicitly be used by the engine and thus causing
137          the sampler engine to ignore all other modulation sources for the same
138          synthesis parameter (like e.g. LFO, EG); by simply prefixing a value,
139          variable or formula with this new "!" operator the expression is marked as
140          being "final".
141        - NKSP script editor API: Added support for detecting standard unit tokens
142          and their potential metric prefix token.
143        - NKSP language: Added support for NKSP real number literals and
144          arithmetic operations on them (e.g. "(3.9 + 2.9) / 12.3 - 42.0").
145        - NKSP language: Added support for NKSP real number (floating point) script
146          variables (declare ~foo).
147        - NKSP language: Added support for NKSP real number (floating point) array
148          script variables (declare ?foo[]).
149        - Built-in script function "message()" accepts now real number argument as
150          well.
151        - Added built-in script function "real_to_int()" and its short hand form
152          "int()" for casting from real number to integer in NKSP scripts.
153        - Added built-in script function "int_to_real()" and its short hand form
154          "real()" for casting from integer to real number in NKSP scripts.
155        - Allow built-in exit() function to potentially accept real number type
156          argument as well.
157        - Built-in script functions may have a different return type depending on
158          the arguments passed to the function.
159        - Built-in script function "abs()" optionally accepts and returns real
160          number.
161        - Built-in script functions "min()" and "max()" optionally accept real
162          number arguments and return real number as result in that case.
163        - NKSP VM API: Allow units and 'final'ness to be returned as result from
164          built-in functions (added methods VMFunction::returnUnitType() and
165          VMFunction::returnsFinal() for that purpose which must be implemented by
166          built-in function implementations).
167        - NKSP language: Allow metric unit prefixes of numeric scalar and array
168          variables to be changed freely at runtime (unlike unit types like Hz etc.
169          which are still sticky, parse-time features of variables which cannot be
170          changed at runtime for the intentional sake of determinism).
171        - NKSP language: 'final' values are prohibited for array variables for now
172          (attempt causes a parsers error).
173        - NKSP language: expressions with unit types (e.g. Hz) are prohibited for
174          conditions of runtime control structures like if(), while(), select()
175          (attempt causes a parser error).
176        - NKSP VM API: Allow built-in functions to perform their own, individual
177          parse time checks of arguments going to be passed to the function at
178          runtime (added method VMFunction::checkArgs() for that purpose).
179        - NKSP language: raise parser warning if only one operand of binary
180          operators (like logical 'or' comparison) contain a 'final' value (because
181          it would always yield in a 'final' result in such cases).
182        - NKSP language: Allow comparison (=, #, <, >, <=, >=) of values with
183          different metric unit prefixes, which will behave as expected (e.g.
184          result of expression '1000us < 2ms' is true).
185        - NKSP language: Allow adding values with different metric unit prefixes
186          (e.g. result of expression '100Hz + 5kHz' is '5100Hz').
187        - NKSP language: Allow subtracting values with different metric unit
188          prefixes (e.g. result of expression '1ms - 20us' is '980us').
189        - NKSP language: Allow multiplying with any metric unit prefixes
190          (e.g. result of expression '2k * 3ms' is '6s'), however multiplications
191          with unit types on both sides (e.g. '2s * 2s') is still prohibited since
192          we don't have any considerable practical use for a term like '4s^2'
193          (hence any attempt multiplying two unit types still causes parser error).
194        - NKSP language: Allow dividing by any metric unit prefixes and allow
195          division of same unit type on both sides (e.g. expression '8kHz / 1000Hz'
196          yields in unit free result '8'). So this is now a way to cast units away
197          e.g. for passing the result to other expressions, certain function calls
198          or variables which are not accepting any units (or that specific unit).
199        - NKSP language: integer arrays and real number arrays can now be converted
200          to strings (e.g. for dumping their content with message() calls for
201          script debugging purposes).
202        - NKSP language: expressions and variables with units are now correctly
203          casted to strings (e.g. with message() calls).
204        - NKSP language: comparing real numbers for equalness (e.g. '~foo = 3.1') or
205          unequalness (e.g. '~foo # 3.1') is now less strict and takes the expected
206          floating point tolerances into account.
207        - NKSP VM API: Added methods VMScalarNumberExpr::evalCastInt() and
208          VMScalarNumberExpr::evalCastReal().
209        - NKSP VM API: Added base class 'VMNumberArrayExpr' for classes
210          'VMIntArrayExpr' and 'VMRealArrayExpr'.
211        - NKSP VM API: replaced all unitPrefix() (parse time) methods by
212          unitFactor() (runtime) methods.
213        - Built-in function "exit()" supports now returning units and 'final'ness
214          for test cases.
215        - The following built-in functions support now units as well: "abs()",
216          "random()", "inc()", "dec()", "in_range()", "min()", "max()",
217          "real_to_int()", "int()", "int_to_real()" and "real()".
218        - Built-in functions "array_equal()", "search()" and "sort()" support now
219          real number arrays (correctly) as well.
220        - Added individual parse time checks of arguments to be passed to built-in
221          functions "random()", "inc()", "dec()", "in_range()", "min()", "max()",
222          "array_equal()" and "search()" specific for their individual purposes.
223        - NKSP VM refactoring: Renamed all methods, functions and classes matching
224          pattern *ScalarNumber* to simply *Number* (that is i.e. classes
225          VMScalarNumberExpr -> VMNumberExpr, ScalarNumberExpr -> NumberExpr,
226          ScalarNumberVariable -> NumberVariable, ScalarNumberBinaryOp ->
227          NumberBinaryOp, VMScalarNumberResultFunction -> VMNumberResultFunction,
228          method VMExpr::asScalarNumberExpr() -> VMExpr::asNumber(), function
229          isScalarNumber() -> isNumber()).
230        - NKSP VM API: Added 4 overridden methods to class VMNumberExpr:
231          evalCastInt(MetricPrefix_t), evalCastInt(MetricPrefix_t,MetricPrefix_t),
232          evalCastReal(MetricPrefix_t), evalCastReal(MetricPrefix_t,MetricPrefix_t)
233          as convenient methods for automatically converting values to expected
234          metric value basis.
235        - Built-in function "wait()" accepts now both integers and real numbers as
236          argument.
237        - NKSP VM API cleanup: Get rid of legacy method
238          VMFunction::argType(vmint iArg) which was already superseded by its new
239          replacement VMFunction::acceptsArgType(vmint iArg, ExprType_t type).
240        - NKSP parser: if wrong argument type was passed to a built-in function and
241          that built-in function accepts more than one data type for the argument,
242          then show all supported data types as parser error message.
243        - Built-in function "play_note()" accepts now real numbers and seconds as
244          unit type as well for its 3rd and 4th function arguments.
245        - The following built-in functions accept now real numbers as well for their
246          2nd function argument: "change_vol()", "change_tune()", "change_cutoff()",
247          "change_attack()", "change_decay()", "change_release()",
248          "change_sustain()", "change_cutoff_attack()", "change_cutoff_decay()",
249          "change_cutoff_sustain()", "change_cutoff_release()",
250          "change_amp_lfo_freq()", "change_cutoff_lfo_freq()",
251          "change_pitch_lfo_freq()", "change_vol_time()", "change_tune_time()",
252          "change_pan_time()", "fade_in()", "fade_out()", "change_play_pos()".
253        - Fixed built-in function "change_play_pos()" not having accepted metric
254          prefixes at all.
255        - Fixed the following built-in functions having misinterpreted values given
256          with unit type (for their 2nd argument) as if they were relative values
257          (that is as if they were passed without a unit type): "change_attack()",
258          "change_decay()", "change_release()", "change_cutoff_attack()",
259          "change_cutoff_decay()", "change_cutoff_release()".
260        - Fixed the following built-in functions having applied completely wrong
261          'final' values: "change_sustain()", "change_cutoff_sustain()" (since the
262          respective EGs being their modulation sink assume uint data type with
263          value range 0..1000 instead of 0.0..1.0.
264        - Added individual parse-time checks of function arguments for the following
265          built-in functions: "play_note()", "note_off()", "set_event_mark()",
266          "delete_event_mark()", "by_marks()", "change_cutoff()", "change_attack()",
267          "change_decay()", "change_release()", "change_cutoff_attack()",
268          "change_cutoff_decay()", "change_cutoff_release()",
269          "change_amp_lfo_freq()", "change_cutoff_lfo_freq()",
270          "change_pitch_lfo_freq()", "change_vol_time()", "change_tune_time()" and
271          "change_pan_time()".
272        - Don't abort function call if unit type was used and at the same time
273          'final' operator was omitted for the primary value argument of the
274          following built-in functions: "change_cutoff()", "change_attack()",
275          "change_decay()", "change_release()", "change_cutoff_attack()",
276          "change_cutoff_decay()", "change_cutoff_release()",
277          "change_amp_lfo_freq()", "change_cutoff_lfo_freq()",
278          "change_pitch_lfo_freq()", "change_vol_time()", "change_tune_time()",
279          "change_pan_time()", instead imply 'final'ness at runtime and raise an
280          appropriate parser warning at parse time.
281        - Added built-in real number functions "round()", "ceil()", "floor()",
282          "sqrt()", "log()", "log2()", "log10()", "exp()", "pow()", "sin()",
283          "cos()", "tan()", "asin()", "acos()", "atan()".
284        - Added built-in script real number constant "~NI_MATH_PI".
285        - Added built-in script real number constant "~NI_MATH_E".
286        - NKSP language: Allow unary '+' operator.
287        - Added built-in script functions "msb()" and "lsb()".
288        - NKSP language: Added support for RPN event handler
289          ("on rpn ... end on" in instrument scripts).
290        - NKSP language: Added support for NRPN event handler
291          ("on nrpn ... end on" in instrument scripts).
292        - Added built-in read-only variables "$RPN_ADDRESS" and "$RPN_VALUE" which
293          may be read from the new RPN/NRPN script handlers to get the (N)RPN
294          parameter that had been changed and its new value.
295        - Added built-in const variables "$NI_CB_TYPE_RPN" and "$NI_CB_TYPE_NRPN"
296          which are identifying the new (N)RPN handlers as such at script runtime.
297        - Implemented built-in script function "set_rpn()".
298        - Implemented built-in script function "set_nrpn()".
299        - Fix: built-in functions returning an array type were broken and caused a
300          crash when the built-in function's (supposed to be array) result value was
301          used by the script VM.
302        - Removed upper value constraint for 2nd argument of built-in functions
303          "change_amp_lfo_freq()", "change_cutoff_lfo_freq()",
304          "change_pitch_lfo_freq()","change_reso()", "change_cutoff()",
305          "change_amp_lfo_depth()", "change_cutoff_lfo_depth()" and
306          "change_pitch_lfo_depth()", to allow e.g. passing value 2000000 to double
307          the LFO frequency / resonance / cutoff frequency.
308        - Reduced code involved for parsing NKSP variable declarations by using 2
309          generalized grammar rules with optional components (i.e. optional value
310          assignment and optional variable qualifiers) instead of previous linear
311          combinations of grammar rules, which also fixes some edge case.
312        - NKSP language parser: track code block locations also by a) raw byte
313          position in NKSP source code string and b) length of that code block in
314          bytes (along to the already existing code block tracking by line/column);
315          and added appropriate new members to public C++ API classes like
316          'firstByte' and 'lengthBytes' to class VMSourceToken and struct CodeBlock.
317        - NKSP language: Added support for 'patch' variable qualifier (capture their
318          locations and allow replacement of their assignment expression via VM C++
319          API).
320        - Fixed incorrect EG times if standard measuring unit was passed to built-in
321          functions "change_attack()", "change_decay()" or "change_release()".
322        - Fixed intermediate function result values never having reflected any
323          standard measuring unit type.
324        - Fixed re-entrant issue with function calls which caused wrong result
325          values if the same function was called multiple times in a term
326          (specifically if metric prefixes were used).
327        - NKSP language: Just throw a warning, not an error if an array variable of
328          size zero was declared.
329        - NKSP language: Allow omitting explicit array size on array variable
330          declaration if combined with immediate value assignment
331          (e.g. declare %foo[] := ( 1, 2, 3 ) ).
332        - NKSP language: emit warning if an array variable was declared with bigger
333          array size than amount of initial values been assigned, and initialize the
334          missing array elements with zero in this case.
335        - Fixed built-in NKSP exit() function to behave as return statement.
336        - NKSP parser: Fixed crash if unary '-' operator was used on a non-number
337          data type.
338        - NKSP VM: Fixed the "release" handler being executed too often under
339          certain situations if polyphonic data was passed from "note" handler to
340          "release" handler.
341        - Fixed memory leak in NKSP parser: string tokens were allocated as C
342          strings and never freed.
343        - Fixed incorrect polyphonic data transfer from wrong note handler to
344          release handler; which also fixes no release handler being executed
345          sometimes, and due to the latter it also fixes potential crashes as some
346          polyphonic script events were never released and the engine hence was
347          running out of free script events.
348        - Fixed crash when handling array results of built-in functions
349          (e.g. "num_elements(by_marks($MARK_1)").
350        - NKSP VM: Fixed dead note events not been removed from user's event groups
351          (i.e. causing incorrect behaviour of built-in NKSP functions by_marks()
352          and set_event_mark() after max. size of event group list was exhausted).
353    
354      * test cases:
355        - Fixed compiler errors in test cases.
356        - Updated README for how to compile & run test cases.
357        - Updated test case
358          MutexTest::testDoubleLockStillBlocksConcurrentThread() to latest
359          expected behaviour of the Mutex class implementation (recursive
360          mutex type).
361        - Added test cases for NKSP core language aspects and core built-in
362          functions.
363        - Fixed thread tests segfaulting on Linux.
364        - NKSP: Added real number test cases for built-in functions exit(),
365          int_to_real(), real(), real_to_int() and int(), as well as for the
366          plus, minus and negate language operators.
367        - Added massive amount of NKSP test cases for standard measuring units and
368          'final' operator usage cases.
369        - Added NKSP test cases for (floating point tolerance aware) real number
370          equalness / unequalness comparison.
371        - Added NKSP int array and real array tests for value assignment and
372          initialization of arrays.
373        - Added NKSP test cases for built-in functions "round()", "ceil()",
374          "floor()", "sqrt()", "log()", "log2()", "log10()", "exp()", "pow()",
375          "sin()", "cos()", "tan()", "asin()", "acos()", "atan()".
376        - Added NKSP test cases for unary '+' operator.
377        - Added NKSP test cases for core built-in variables.
378        - Added thorough NKSP test cases for variable declarations.
379    
380      * GigaStudio/Gigasampler format engine:
381        - LFOTriangleIntMath and LFOTriangleIntAbsMath: Fixed FlipPhase=true
382          behaviour for start_level_mid.
383        - Changed LFO start levels: LFO1 and LFO2 both to mid, LFO3 to max. start
384          level (see discussion "GigaStudio LFO compatibility" on mailing list
385          from 2019-09-26 for details).
386        - Changed default wave form for all 3 LFOs to sine (instead of triangle;
387          see discussion "GigaStudio LFO compatibility" on mailing list from
388          2019-09-26 for details).
389        - Format extension: Added support for different LFO wave forms (currently
390          either sine [default], triangle, saw or square).
391        - Format extension: Added support for LFO phase displacement (0°..360°).
392        - Format extension: Added support for flipping LFO polarity on LFO 3
393          (in the original gig format this was only available for LFO 1 and LFO 2).
394        - Format extension: Support for additional filter types:
395          lowpass 1/2/4/6-pole, highpass 1/2/4/6-pole, bandpass 2-pole,
396          bandreject 2-pole.
397        - Fixd potential crash with polynomial interpolator and max. pitch.
398        - If minimum cutoff is defined, remap cutoff controller CC values to really
399          span the entire possible cutoff range (and avoiding a dead controller
400          zone).
401        - Implemented support for loading instrument scripts with 'patch' variables
402          (by patching these script variables with potentially overridden ones by
403          gig Instrument).
404    
405      * SFZ format engine:
406        - Fixed support for regions with loccN/hiccN conditions on more than one
407          MIDI controller.
408        - Fixed internal opcode 'xfin_hivel' falsely being set by user opcode
409          'xfin_lovel' (patch by Christian Czezatke).
410    
411      * Benchmarks:
412        - Fixed benchmarks/triang.cpp falsely having favoured "int math abs"
413          algorithm (since result of 2nd run was not accumulated).
414        - Added benchmark for saw wave (benchmarks/saw.cpp).
415        - Added benchmark for sine wave (benchmarks/sine.cpp).
416        - Added benchmark for square wave (benchmarks/square.cpp).
417        - Increased amount of benchmarks runs by factor 6 to achieve benchmark times
418          which are large enough on modern systems.
419    
420    Version 2.1.1 (27 Jul 2019)
421    
422      * Real-time instrument scripts:
423        - Fixed behavior of built-in NKSP functions change_sustain(),
424          change_cutoff_attack(), change_cutoff_decay(), change_cutoff_sustain()
425          and change_cutoff_release().
426    
427      * general changes:
428        - Only play release trigger samples on sustain pedal up if this behaviour
429          was explicitly requested by the instrument (otherwise only on note-off).
430        - Fixed compiler warnings.
431        - Fixed compilation error when cross-compiling to Mac.
432        - FX Sends: Provide more useful error messages on routing problems
433          (see bug #169).
434        - LSCP doc: Be more clear describing the two distinct approaches
435          of using external vs. internal effects (see bug #169).
436        - "optional" class: Fixed comparison operators.
437    
438      * Gigasampler/GigaStudio format engine:
439        - Format extension: If requested by instrument then don't play release
440          trigger sample on note-off events.
441    
442      * SFZ format engine:
443        - Fixed memory leak when releasing samples
444          (fixes bug #307, patch by Jacek Roszkowski)
445        - Fixed potential crash when a sample is shared by more than one region
446          (fixes bug #308, patch by Jacek Roszkowski).
447        - Opcode 'sample': Added support for built-in sample '*silence'
448          (fixes bug #310, patch by Jacek Roszkowski).
449    
450    Version 2.1.0 (25 Nov 2017)
451    
452    * SFZ format engine:    * SFZ format engine:
453      - added support for <global>, <master> and #define (patch by Alby M)      - added support for <global>, <master> and #define (patch by Alby M)
454        - Removed code duplication in SFZ file loading code.
455        - Added support for sfz extension opcode 'script' which may be used to
456          load real-time instrument script file (NKSP script language).
457        - Implemented opcode set_ccN (initial patch by Giovanni Senatore).
458        - Fixed unintended volume fade-in of voices under certain conditions.
459        - sfz parser: allow missing space between header and opcode
460    
461      * Gigasampler/GigaStudio format engine:
462        - Fixed clicks and pumping noise with Lowpass Turbo filter on very low
463          cutoff settings.
464        - Got rid of resembling an ancient GSt misbehavior which did not pitch at
465          all if an up-pitch of more than 40 semi tones was requested (I don't
466          think there is any stock gig sound that requires this behavior to
467          resemble its original sound).
468        - Added support for controlling whether the individual EGADSR stages may
469          be aborted (as LinuxSampler extension to the original GigaStudio 4
470          format).
471    
472    * general changes:    * general changes:
473      - fixed printf type errors (mostly in debug messages)      - fixed printf type errors (mostly in debug messages)
# Line 24  Version SVN trunk (?) Line 490  Version SVN trunk (?)
490        (CC #64) events.        (CC #64) events.
491      - Fix: Release trigger voices can now also distinguish correctly between      - Fix: Release trigger voices can now also distinguish correctly between
492        note-off and sustain pedal up events.        note-off and sustain pedal up events.
493        - All engines: Increased ramp speed of volume smoother and pan smoother
494          (while slow rate of crossfade smoother is preserved) to allow quick
495          volume and pan changes by instrument scripts for instance.
496        - gig/sf2/sfz: Fixed aftertouch channel pressure events being processed
497          properly and thus were ignored for certain uses.
498        - Added new C++ API method
499          VirtualMidiDevice::SendChannelPressureToSampler().
500        - windows, 32-bit: fixed potential crashes by making sure the stack in
501          sub threads is 16-byte aligned
502        - fixed numerous compiler warnings
503        - Fixed invalid (note-on) event ID being assigned to new Note objects.
504        - Revised fundamental C++ classes "Thread", "Mutex" and "Condition" which
505          fixes potential undefined behavior.
506        - Fixed Note object leak when triggering notes on keys which did not
507          have a valid sample mapped (fixes bug #252).
508        - Fixed compilation errors when compiling with CONFIG_DEVMODE enabled.
509        - linuxsampler binary fix: option --create-instruments-db ignored
510          subsequent optional argument due to glibc's implementation oddity
511          which expects a "=" sign, but no space between them.
512    
513    * packaging changes:    * packaging changes:
514      - removed unnecessary dependency to libuuid      - removed unnecessary dependency to libuuid
515        (originated by libgig's usage of it)        (originated by libgig's usage of it)
516      - Automake: set environment variable GCC_COLORS=auto to allow GCC to      - Automake: set environment variable GCC_COLORS=auto to allow GCC to
517        auto detect whether it (sh/c)ould output its messages in color.        auto detect whether it (sh/c)ould output its messages in color.
518        - Debian: Fixed packaging error about invalid "Source-Version"
519          substitution variable.
520        - Debian: Raised Debian compatibility level to Debian 9 "Stretch".
521        - Debian: Added build dependency to libsqlite3-dev for building
522          linuxsampler with instruments DB support.
523    
524    * Real-time instrument scripts:    * Real-time instrument scripts:
525      - Implemented scheduler for delayed MIDI events and for suspended scripts.      - Implemented scheduler for delayed MIDI events and for suspended scripts.
# Line 85  Version SVN trunk (?) Line 575  Version SVN trunk (?)
575      - NKSP language fix: division expressions were evaluated too often.      - NKSP language fix: division expressions were evaluated too often.
576      - NKSP language fix: string concatenation operator was right      - NKSP language fix: string concatenation operator was right
577        associative instead of left (to right).        associative instead of left (to right).
578        - NKSP language correction: allow empty statements in entire language
579          (i.e. "if end if").
580        - Implemented built-in script function "stop_wait()".
581        - Implemented built-in script variable "$NI_CALLBACK_ID".
582        - Implemented built-in script variable "$NI_CALLBACK_TYPE".
583        - Implemented built-in script variable "$NKSP_IGNORE_WAIT".
584        - Added support for read-only built-in variables (respectively
585          handled by the script parser).
586        - Added built-in script constant "$NI_CB_TYPE_INIT".
587        - Added built-in script constant "$NI_CB_TYPE_NOTE".
588        - Added built-in script constant "$NI_CB_TYPE_RELEASE".
589        - Added built-in script constant "$NI_CB_TYPE_CONTROLLER".
590        - NKSP Language: Added support for user defined script functions.
591        - Implemented built-in script function "change_attack()".
592        - Implemented built-in script function "change_decay()".
593        - Implemented built-in script function "change_release()".
594        - Fixed all change_*() built-in script functions to apply their
595          synthesis parameter changes immediately in case the respective note
596          was triggered at the same time, instead of scheduling the parameter
597          change, especially because it would cause some parameter types's
598          changes either to be ramped (i.e. change_vol()) or other types even
599          to have not effect at all (i.e. change_attack()).
600        - Implemented built-in script function "sh_left()".
601        - Implemented built-in script function "sh_right()".
602        - Implemented built-in script function "min()".
603        - Implemented built-in script function "max()".
604        - NKSP Fix: "init" event handler was not always executed when a script
605          was loaded.
606        - NKSP built-in wait() script function: abort script execution if
607          a negative or zero wait time was passed as argument (since this is
608          a common indication of a bug either of the script or even of the
609          engine, which could lead to RT instability or even worse).
610        - ScriptVM: Implemented automatic suspension of RT safety
611          threatening scripts.
612        - Provide more user friendly error messages on syntax errors.
613        - Fixed NKSP parser warning "Not a statement" when assigning an
614          initializer list to an array variable.
615        - Implemented built-in script array variable "%ALL_EVENTS".
616        - Implemented built-in script function "in_range()".
617        - Implemented built-in script function "change_amp_lfo_depth()".
618        - Implemented built-in script function "change_amp_lfo_freq()".
619        - Implemented built-in script function "change_pitch_lfo_depth()".
620        - Implemented built-in script function "change_pitch_lfo_freq()".
621        - Implemented built-in script function "change_vol_time()".
622        - Implemented built-in script function "change_tune_time()".
623        - Implemented built-in script function "fade_in()".
624        - Implemented built-in script function "fade_out()".
625        - Fixed acceptance of wrong data type of parameters passed to built-in
626          script functions "change_vol()", "change_tune()", "change_pan()",
627          "change_cutoff()", "change_reso()", "change_attack()", "change_decay()",
628          "change_release()", "change_amp_lfo_depth()", "change_amp_lfo_freq()",
629          "change_pitch_lfo_depth()" and "change_pitch_lfo_freq()".
630        - Added built-in script function "get_event_par()" and implemented some
631          of its possible parameter selections.
632        - Added built-in script function "set_event_par()" and implemented some
633          of its possible parameter selections.
634        - Fixed a bunch of scheduler time related bugs.
635        - Fixed polyphonic variables not being reset to zero after usage.
636        - Built-in "ignore_event()" function: argument is now optional, like with
637          built-in function "ignore_controller()".
638        - Implemented built-in script function "change_velo()".
639        - Implemented built-in script function "change_note()".
640        - Adjusted behavior of "change_vol()" and "change_tune()" to a more
641          intuitive behavior if used in combination with "change_vol_time()" or
642          "change_tune_time()" respectively: now tuning/volume changes are only
643          assigned (without delay) immediately to a new note if the respective
644          timing function has not been called before, otherwise the volume/tuning
645          changes are automatically faded (before, only the event's time stamp was
646          relevant).
647         - Implemented built-in script function "array_equal()".
648         - Implemented built-in script function "search()".
649         - Implemented built-in script function "sort()".
650         - NKSP Fix: Never suspend "init" event handlers.
651         - Implemented built-in script function "same_region()" (currently only
652           available for gig format engine).
653         - Added built-in script constant "$NKSP_LINEAR".
654         - Added built-in script constant "$NKSP_EASE_IN_EASE_OUT".
655         - Implemented built-in script function "change_vol_curve()".
656         - Implemented built-in script function "change_tune_curve()".
657         - built-in "play_note()" function now supports a sample playback start
658           offset with argument 3, where special value -1 means to use the regular
659           sample offset as defined by the instrument file.
660         - Built-in array variable %KEY_DOWN[] is now a read-only variable.
661         - Built-in variable $EVENT_NOTE is now a read-only variable.
662         - Built-in variable $EVENT_VELOCITY is now a read-only variable.
663         - built-in "play_note()" function now accepts -2 for its fourth argument
664           (note duration) which means the life time of the note shall be sticked
665           to the requested note number of argument 1.
666         - Fix: built-in "play_note()" function now returns 0 as result value if
667           -1 was passed for its fourth argument (note duration) and the respective
668           parent note is already gone.
669        - Implemented built-in script function "change_play_pos()".
670        - NKSP language: Added support for user declared const array variables.
671        - NKSP language: Raise parser warning if array variable is accessed with
672          an index that exceeds the array's size.
673        - NKSP language fix: Unknown characters were not handled correctly.
674        - NKSP language: Added support for "synchronized .. end synchronized"
675          code blocks.
676        - Implemented built-in script function "abort()" which allows to abort
677          another script handler by passing its callback ID.
678        - Fixed potential memory access bug and potential undefined behavior of
679          "init" event handlers.
680        - Print a time stamp along to each call of built-in function "message()".
681        - ScriptVM API: Added VMParserContext::preprocessorComments() which allows
682          to retrieve all code blocks filtered out by the preprocessor.
683        - Added built-in script function "fork()".
684        - Added built-in array variable %NKSP_CALLBACK_CHILD_ID[].
685        - Added built-in variable $NKSP_CALLBACK_PARENT_ID.
686        - Fixed potential crash when accessing dynamic built-in array variables.
687        - Added built-in script function "callback_status()".
688        - Added built-in constant $CALLBACK_STATUS_TERMINATED.
689        - Added built-in constant $CALLBACK_STATUS_QUEUE.
690        - Added built-in constant $CALLBACK_STATUS_RUNNING.
691        - Removed max. value limitation of built-in functions "change_attack()",
692          "change_decay()" and "change_release()" to i.e. allow passing 2000000
693          for doubling the respective time.
694        - NKSP script editor syntax highlighting API: Fixed app termination due
695          to a lexer start condition stack underrun.
696        - NKSP preprocessor: Fixed wrong behavior on nested USE_CODE_IF() and
697          USE_CODE_IF_NOT() preprocessor statements.
698        - NKSP: Added built-in preprocessor condition NKSP_NO_MESSAGE, which
699          can be set to disable all subsequent built-in "message()" function calls
700          on preprocessor level.
701        - Implemented built-in script function "change_sustain()".
702        - NKSP script editor syntax highlighting API: catch all fatal lexer errors,
703          to avoid the editor app to crash on ill-formed text input.
704        - Added built-in script function "change_pan_time()".
705        - Added built-in script function "change_pan_curve()".
706        - Added built-in script function "change_cutoff_attack()".
707        - Added built-in script function "change_cutoff_decay()".
708        - Added built-in script function "change_cutoff_sustain()".
709        - Added built-in script function "change_cutoff_release()".
710        - Added built-in script function "change_cutoff_lfo_depth()".
711        - Added built-in script function "change_cutoff_lfo_freq()".
712    
713      * Instruments DB:
714        - Fixed memory access bug of general DB access code which lead to
715          undefined behavior.
716        - Cleanup of instruments DB file creation and opening code.
717        - The instrument DB path of linuxsampler's --create-instruments-db argument
718          is now optional, if it is missing, then a default location is used.
719        - Added support for scanning SFZ (.sfz) files.
720        - Added support for scanning Sound Font (.sf2) files.
721        - Fixed undefined DB transaction behavior.
722    
723  Version 2.0.0 (15 July 2015)  Version 2.0.0 (15 July 2015)
724    
# Line 509  Version 2.0.0 (15 July 2015) Line 1143  Version 2.0.0 (15 July 2015)
1143        "SUBSCRIBE SEND_EFFECT_CHAIN_INFO"        "SUBSCRIBE SEND_EFFECT_CHAIN_INFO"
1144      - provide comprehensive error messages on LSCP syntax errors      - provide comprehensive error messages on LSCP syntax errors
1145        (suggesting expected next non-terminal symbols)        (suggesting expected next non-terminal symbols)
1146        - Fixed client connection not being closed after network errors.
1147    
1148    * LSCP shell:    * LSCP shell:
1149      - Added support for auto correction of obvious and trivial syntax mistakes.      - Added support for auto correction of obvious and trivial syntax mistakes.
# Line 558  Version 2.0.0 (15 July 2015) Line 1193  Version 2.0.0 (15 July 2015)
1193        $GIG_DIM_EFFECT3DEPTH, $GIG_DIM_EFFECT4DEPTH, $GIG_DIM_EFFECT5DEPTH.        $GIG_DIM_EFFECT3DEPTH, $GIG_DIM_EFFECT4DEPTH, $GIG_DIM_EFFECT5DEPTH.
1194      - Giga format scripts: Implemented built-in script function      - Giga format scripts: Implemented built-in script function
1195        "gig_set_dim_zone(event_id, dimension, zone)".        "gig_set_dim_zone(event_id, dimension, zone)".
1196      - Implemented built-in script int array variable $KEY_DOWN.      - Implemented built-in script int array variable %KEY_DOWN.
1197      - Implemented built-in script function "abs()".      - Implemented built-in script function "abs()".
1198      - Implemented built-in script function "random()".      - Implemented built-in script function "random()".
1199      - Implemented built-in script function "num_elements()".      - Implemented built-in script function "num_elements()".
# Line 572  Version 2.0.0 (15 July 2015) Line 1207  Version 2.0.0 (15 July 2015)
1207        (i.e. return value of new script function "by_marks()").        (i.e. return value of new script function "by_marks()").
1208      - Pass/preserve polyphonic variable data from respective "note" event      - Pass/preserve polyphonic variable data from respective "note" event
1209        handler to "release" event handler.        handler to "release" event handler.
1210        - Fixed crash when using built-in script function "by_marks()".
1211    
1212    * Bug fixes:    * Bug fixes:
1213      - 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.2945  
changed lines
  Added in v.4010

  ViewVC Help
Powered by ViewVC