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

Diff of /linuxsampler/trunk/ChangeLog

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

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

  ViewVC Help
Powered by ViewVC