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

Diff of /linuxsampler/trunk/ChangeLog

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

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

Legend:
Removed from v.3678  
changed lines
  Added in v.4015

  ViewVC Help
Powered by ViewVC