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

Diff of /linuxsampler/trunk/ChangeLog

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

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

  ViewVC Help
Powered by ViewVC