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

Diff of /linuxsampler/trunk/ChangeLog

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

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

  ViewVC Help
Powered by ViewVC