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

Diff of /linuxsampler/trunk/ChangeLog

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

revision 3592 by schoenebeck, Mon Sep 2 09:40:44 2019 UTC revision 4010 by schoenebeck, Thu Dec 23 15:26:02 2021 UTC
# Line 1  Line 1 
1  Version SVN trunk (?)  Version SVN trunk (?)
2    
3    * general changes:    * general changes:
4        - AbstractEngineChannel: fixed CCs not being forwarded to all
5          VirtualMIDIDevices.
6        - Fix compiler error with release tarball if no Bison installed
7          (SVN version still requires Flex and Bison being installed).
8    
9      * Real-time instrument scripts:
10        - Fix: Do not share compiled instrument scripts among multiple engine
11          channels (sampler parts) as this can lead to crashes and would allow the
12          same global script variables to be accessible from multiple engine
13          channels which would not be the expected behaviour by instrument script
14          authors.
15    
16      * GigaStudio/Gigasampler format engine:
17        - Use libgig's new IO-per-thread feature to avoid file I/O concurrency
18          issues with .gig file.
19        - Use libgig's new method gig::File::GetSample() with method
20          gig::File::CountSamples() instead of now deprecated
21          gig::File::GetFirstSample() / gig::File::GetNextSample() pair.
22        - Use libgig's new method gig::Instrument::GetRegionAt() with method
23          gig::Instrument:CountRegions() instead of now deprecated
24          gig::Instrument::GetFirstRegion() / gig::Instrument::GetNextRegion() pair.
25        - Use libgig's gig::File::GetInstrument() method with method
26          gig::File::CountInstruments() instead of now deprecated
27          gig::File::GetFirstInstrument() / gig::File::GetNextInstrument() pair.
28        - Show a more detailed error message on terminal if an appropriate editor
29          could not be found for a .gig instrument (if there is not any editor then
30          say so, if there is one but not capable to handle the instrument, then
31          make this case clear to the user; in both cases print the expected
32          location for instrument editor plugins).
33    
34      * MIDI driver:
35        - VirtualMidiDevice: added method Reset() which is e.g. intended to be used
36          in "panic" / MIDI "all sound off" / MIDI "all note off" situations.
37        - VirtualMidiDevice: release all notes on MIDI CC #120 and CC #123.
38    
39    Version 2.2.0 (9 May 2021)
40    
41      * general changes:
42      - Fixed compiler error in Pool.h.      - Fixed compiler error in Pool.h.
43      - Require C++14 compiler support.      - Require C++14 compiler support.
44      - Autoconf: Added m4/ax_cxx_compile_stdcxx.m4 macro which is used      - Autoconf: Added m4/ax_cxx_compile_stdcxx.m4 macro which is used
# Line 10  Version SVN trunk (?) Line 48  Version SVN trunk (?)
48      - RTMath: Implemented floating point comparison methods      - RTMath: Implemented floating point comparison methods
49        fEqual32(float,float) and fEqual64(double,double) which take the        fEqual32(float,float) and fEqual64(double,double) which take the
50        expected floating point tolerances into account.        expected floating point tolerances into account.
51        - Added public API C++ class "LFO", which is a cluster class encapsulating
52          all the sampler's LFO implementations to be used by 3rd party applications
53          (e.g. by Gigedit).
54        - Added int math square LFO implementation.
55        - Added int math saw LFO implementation.
56        - Added numeric complex nr sine LFO implementation.
57        - Marked class LFOTriangleDiHarmonic as deprecated
58          (will be removed in future).
59        - Added LFOAll.h which includes all LFO implementation's header files.
60        - Refactored LFO class names and their file names (PulseLFO -> LFOPulse,
61          LFOSawIntMath -> LFOSawIntMathNew, SawLFO -> LFOSawIntMathOld,
62          SineLFO -> LFOSineBuiltinFn, LFOSine -> LFOSineNumericComplexNr,
63          SquareLFO -> LFOSquarePulse and separated the latter to its own header
64          file).
65        - Renamed type LFOSigned -> LFOTriangleSigned.
66        - Renamed type LFOUnsigned -> LFOTriangleUnsigned.
67        - Using now cubic interpolation as resampling algorithm by default; and
68          linear interpolation is deprecated now.
69        - Event:Init(): memset() entire Event::Param union to zero instead of trying
70          to do that for its individual members; the latter became error prone due
71          to the union's growing complexity meanwhile.
72        - EngineChannel: Overhaul of RPN/NRPN related methods: Added new
73          *Rpn*Parameter*() methods as replacement for previous *Rpn*Controller*()
74          methods and marked the old ones as deprecated; and likewise added new
75          *Nrpn*Parameter*() methods as replacement for previous *Nrpn*Controller*()
76          methods and marked those old ones deprecated as well.
77        - Added support for MIDI CC #38 (data entry LSB): this allows higher value
78          resolution for certain (e.g. hard coded) RPN and NRPN parameters.
79        - Implemented support for compressed RPN/NRPN message sequences (that is to
80          allow processing MIDI data entry messages without always having to be
81          preceded strictly by RPN/NRPN parameter selection messages on each value
82          change).
83        - Added support for MIDI CC #96 (data increment) and MIDI CC #97 (data
84          decrement).
85        - Added support for 'null function RPN/NRPN' (which is RPN/NRPN parameter
86          MSB=127 and LSB=127) and which is disabling subsequent data
87          entry/increment/decrement CC messages.
88        - Fixed crash when editing key groups (a.k.a. exclusive groups) with an
89          instrument editor.
90        - Fixed playing noise at the end of a disk stream under certain conditions.
91        - Fixed potential crash with high pitch at end of RAM playback.
92        - Added configure checks whether C++ compiler supports so called
93          'designated initializers'.
94        - Added global backtraceAsString() function for debugging purposes
95          (POSIX systems only, no Windows implementation yet).
96        - Thread class: Added new methods pushCancelable(), popCancelable(), name(),
97          nameOfCaller() and setNameOfCaller().
98        - configure: Always check for availability of pthread_testcancel() and use
99          it if so (previously it was only used if explicitly enabled by configure
100          option).
101        - Thread class: raise compiler warning if pthread_testcancel() is not
102          available, because it can lead to deadlocks.
103        - Mutex class: Implemented optional bug detection and deadlock debugging
104          features.
105        - Ref<> class is now thread safe (as lock-free and wait-free
106          implementation).
107        - Fixed compilation error with Bison >= 3.6.0.
108        - Fixed rare crash when switching between instruments that had instrument
109          scripts loaded.
110        - Allow EffectChain::InsertEffect() as alternative to
111          EffectChain::AppendEffect() (i.e. with index equal to current chain size).
112        - ConstCapacityArray class: Fixed bug in remove() method.
113        - Fixed crash on certain MIDI RPN and NRPN messages that occurred if no
114          real-time instrument script was loaded.
115    
116    * Real-time instrument scripts:    * Real-time instrument scripts:
117      - Added method ScriptVM::setExitResultEnabled() which allows to      - Added method ScriptVM::setExitResultEnabled() which allows to
# Line 182  Version SVN trunk (?) Line 284  Version SVN trunk (?)
284      - Added built-in script real number constant "~NI_MATH_PI".      - Added built-in script real number constant "~NI_MATH_PI".
285      - Added built-in script real number constant "~NI_MATH_E".      - Added built-in script real number constant "~NI_MATH_E".
286      - NKSP language: Allow unary '+' operator.      - NKSP language: Allow unary '+' operator.
287        - Added built-in script functions "msb()" and "lsb()".
288        - NKSP language: Added support for RPN event handler
289          ("on rpn ... end on" in instrument scripts).
290        - NKSP language: Added support for NRPN event handler
291          ("on nrpn ... end on" in instrument scripts).
292        - Added built-in read-only variables "$RPN_ADDRESS" and "$RPN_VALUE" which
293          may be read from the new RPN/NRPN script handlers to get the (N)RPN
294          parameter that had been changed and its new value.
295        - Added built-in const variables "$NI_CB_TYPE_RPN" and "$NI_CB_TYPE_NRPN"
296          which are identifying the new (N)RPN handlers as such at script runtime.
297        - Implemented built-in script function "set_rpn()".
298        - Implemented built-in script function "set_nrpn()".
299        - Fix: built-in functions returning an array type were broken and caused a
300          crash when the built-in function's (supposed to be array) result value was
301          used by the script VM.
302        - Removed upper value constraint for 2nd argument of built-in functions
303          "change_amp_lfo_freq()", "change_cutoff_lfo_freq()",
304          "change_pitch_lfo_freq()","change_reso()", "change_cutoff()",
305          "change_amp_lfo_depth()", "change_cutoff_lfo_depth()" and
306          "change_pitch_lfo_depth()", to allow e.g. passing value 2000000 to double
307          the LFO frequency / resonance / cutoff frequency.
308        - Reduced code involved for parsing NKSP variable declarations by using 2
309          generalized grammar rules with optional components (i.e. optional value
310          assignment and optional variable qualifiers) instead of previous linear
311          combinations of grammar rules, which also fixes some edge case.
312        - NKSP language parser: track code block locations also by a) raw byte
313          position in NKSP source code string and b) length of that code block in
314          bytes (along to the already existing code block tracking by line/column);
315          and added appropriate new members to public C++ API classes like
316          'firstByte' and 'lengthBytes' to class VMSourceToken and struct CodeBlock.
317        - NKSP language: Added support for 'patch' variable qualifier (capture their
318          locations and allow replacement of their assignment expression via VM C++
319          API).
320        - Fixed incorrect EG times if standard measuring unit was passed to built-in
321          functions "change_attack()", "change_decay()" or "change_release()".
322        - Fixed intermediate function result values never having reflected any
323          standard measuring unit type.
324        - Fixed re-entrant issue with function calls which caused wrong result
325          values if the same function was called multiple times in a term
326          (specifically if metric prefixes were used).
327        - NKSP language: Just throw a warning, not an error if an array variable of
328          size zero was declared.
329        - NKSP language: Allow omitting explicit array size on array variable
330          declaration if combined with immediate value assignment
331          (e.g. declare %foo[] := ( 1, 2, 3 ) ).
332        - NKSP language: emit warning if an array variable was declared with bigger
333          array size than amount of initial values been assigned, and initialize the
334          missing array elements with zero in this case.
335        - Fixed built-in NKSP exit() function to behave as return statement.
336        - NKSP parser: Fixed crash if unary '-' operator was used on a non-number
337          data type.
338        - NKSP VM: Fixed the "release" handler being executed too often under
339          certain situations if polyphonic data was passed from "note" handler to
340          "release" handler.
341        - Fixed memory leak in NKSP parser: string tokens were allocated as C
342          strings and never freed.
343        - Fixed incorrect polyphonic data transfer from wrong note handler to
344          release handler; which also fixes no release handler being executed
345          sometimes, and due to the latter it also fixes potential crashes as some
346          polyphonic script events were never released and the engine hence was
347          running out of free script events.
348        - Fixed crash when handling array results of built-in functions
349          (e.g. "num_elements(by_marks($MARK_1)").
350        - NKSP VM: Fixed dead note events not been removed from user's event groups
351          (i.e. causing incorrect behaviour of built-in NKSP functions by_marks()
352          and set_event_mark() after max. size of event group list was exhausted).
353    
354    * test cases:    * test cases:
355      - Fixed compiler errors in test cases.      - Fixed compiler errors in test cases.
# Line 206  Version SVN trunk (?) Line 374  Version SVN trunk (?)
374        "floor()", "sqrt()", "log()", "log2()", "log10()", "exp()", "pow()",        "floor()", "sqrt()", "log()", "log2()", "log10()", "exp()", "pow()",
375        "sin()", "cos()", "tan()", "asin()", "acos()", "atan()".        "sin()", "cos()", "tan()", "asin()", "acos()", "atan()".
376      - Added NKSP test cases for unary '+' operator.      - Added NKSP test cases for unary '+' operator.
377        - Added NKSP test cases for core built-in variables.
378        - Added thorough NKSP test cases for variable declarations.
379    
380      * GigaStudio/Gigasampler format engine:
381        - LFOTriangleIntMath and LFOTriangleIntAbsMath: Fixed FlipPhase=true
382          behaviour for start_level_mid.
383        - Changed LFO start levels: LFO1 and LFO2 both to mid, LFO3 to max. start
384          level (see discussion "GigaStudio LFO compatibility" on mailing list
385          from 2019-09-26 for details).
386        - Changed default wave form for all 3 LFOs to sine (instead of triangle;
387          see discussion "GigaStudio LFO compatibility" on mailing list from
388          2019-09-26 for details).
389        - Format extension: Added support for different LFO wave forms (currently
390          either sine [default], triangle, saw or square).
391        - Format extension: Added support for LFO phase displacement (0°..360°).
392        - Format extension: Added support for flipping LFO polarity on LFO 3
393          (in the original gig format this was only available for LFO 1 and LFO 2).
394        - Format extension: Support for additional filter types:
395          lowpass 1/2/4/6-pole, highpass 1/2/4/6-pole, bandpass 2-pole,
396          bandreject 2-pole.
397        - Fixd potential crash with polynomial interpolator and max. pitch.
398        - If minimum cutoff is defined, remap cutoff controller CC values to really
399          span the entire possible cutoff range (and avoiding a dead controller
400          zone).
401        - Implemented support for loading instrument scripts with 'patch' variables
402          (by patching these script variables with potentially overridden ones by
403          gig Instrument).
404    
405      * SFZ format engine:
406        - Fixed support for regions with loccN/hiccN conditions on more than one
407          MIDI controller.
408        - Fixed internal opcode 'xfin_hivel' falsely being set by user opcode
409          'xfin_lovel' (patch by Christian Czezatke).
410    
411      * Benchmarks:
412        - Fixed benchmarks/triang.cpp falsely having favoured "int math abs"
413          algorithm (since result of 2nd run was not accumulated).
414        - Added benchmark for saw wave (benchmarks/saw.cpp).
415        - Added benchmark for sine wave (benchmarks/sine.cpp).
416        - Added benchmark for square wave (benchmarks/square.cpp).
417        - Increased amount of benchmarks runs by factor 6 to achieve benchmark times
418          which are large enough on modern systems.
419    
420  Version 2.1.1 (27 Jul 2019)  Version 2.1.1 (27 Jul 2019)
421    

Legend:
Removed from v.3592  
changed lines
  Added in v.4010

  ViewVC Help
Powered by ViewVC