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

Diff of /linuxsampler/trunk/ChangeLog

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

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

Legend:
Removed from v.3302  
changed lines
  Added in v.4021

  ViewVC Help
Powered by ViewVC