1 |
Version SVN trunk (?) |
Version SVN trunk (?) |
2 |
|
|
3 |
|
* GigaStudio/Gigasampler format engine: |
4 |
|
- Use libgig's new IO-per-thread feature to avoid file I/O concurrency |
5 |
|
issues with .gig file. |
6 |
|
- Use libgig's new method gig::File::GetSample() with method |
7 |
|
gig::File::CountSamples() instead of now deprecated |
8 |
|
gig::File::GetFirstSample() / gig::File::GetNextSample() pair. |
9 |
|
|
10 |
|
Version 2.2.0 (9 May 2021) |
11 |
|
|
12 |
* general changes: |
* general changes: |
13 |
- Fixed compiler error in Pool.h. |
- Fixed compiler error in Pool.h. |
14 |
- Require C++14 compiler support. |
- Require C++14 compiler support. |
56 |
- Added support for 'null function RPN/NRPN' (which is RPN/NRPN parameter |
- Added support for 'null function RPN/NRPN' (which is RPN/NRPN parameter |
57 |
MSB=127 and LSB=127) and which is disabling subsequent data |
MSB=127 and LSB=127) and which is disabling subsequent data |
58 |
entry/increment/decrement CC messages. |
entry/increment/decrement CC messages. |
59 |
|
- Fixed crash when editing key groups (a.k.a. exclusive groups) with an |
60 |
|
instrument editor. |
61 |
|
- Fixed playing noise at the end of a disk stream under certain conditions. |
62 |
|
- Fixed potential crash with high pitch at end of RAM playback. |
63 |
|
- Added configure checks whether C++ compiler supports so called |
64 |
|
'designated initializers'. |
65 |
|
- Added global backtraceAsString() function for debugging purposes |
66 |
|
(POSIX systems only, no Windows implementation yet). |
67 |
|
- Thread class: Added new methods pushCancelable(), popCancelable(), name(), |
68 |
|
nameOfCaller() and setNameOfCaller(). |
69 |
|
- configure: Always check for availability of pthread_testcancel() and use |
70 |
|
it if so (previously it was only used if explicitly enabled by configure |
71 |
|
option). |
72 |
|
- Thread class: raise compiler warning if pthread_testcancel() is not |
73 |
|
available, because it can lead to deadlocks. |
74 |
|
- Mutex class: Implemented optional bug detection and deadlock debugging |
75 |
|
features. |
76 |
|
- Ref<> class is now thread safe (as lock-free and wait-free |
77 |
|
implementation). |
78 |
|
- Fixed compilation error with Bison >= 3.6.0. |
79 |
|
- Fixed rare crash when switching between instruments that had instrument |
80 |
|
scripts loaded. |
81 |
|
- Allow EffectChain::InsertEffect() as alternative to |
82 |
|
EffectChain::AppendEffect() (i.e. with index equal to current chain size). |
83 |
|
- ConstCapacityArray class: Fixed bug in remove() method. |
84 |
|
- Fixed crash on certain MIDI RPN and NRPN messages that occurred if no |
85 |
|
real-time instrument script was loaded. |
86 |
|
|
87 |
* Real-time instrument scripts: |
* Real-time instrument scripts: |
88 |
- Added method ScriptVM::setExitResultEnabled() which allows to |
- Added method ScriptVM::setExitResultEnabled() which allows to |
276 |
"change_amp_lfo_depth()", "change_cutoff_lfo_depth()" and |
"change_amp_lfo_depth()", "change_cutoff_lfo_depth()" and |
277 |
"change_pitch_lfo_depth()", to allow e.g. passing value 2000000 to double |
"change_pitch_lfo_depth()", to allow e.g. passing value 2000000 to double |
278 |
the LFO frequency / resonance / cutoff frequency. |
the LFO frequency / resonance / cutoff frequency. |
279 |
|
- Reduced code involved for parsing NKSP variable declarations by using 2 |
280 |
|
generalized grammar rules with optional components (i.e. optional value |
281 |
|
assignment and optional variable qualifiers) instead of previous linear |
282 |
|
combinations of grammar rules, which also fixes some edge case. |
283 |
|
- NKSP language parser: track code block locations also by a) raw byte |
284 |
|
position in NKSP source code string and b) length of that code block in |
285 |
|
bytes (along to the already existing code block tracking by line/column); |
286 |
|
and added appropriate new members to public C++ API classes like |
287 |
|
'firstByte' and 'lengthBytes' to class VMSourceToken and struct CodeBlock. |
288 |
|
- NKSP language: Added support for 'patch' variable qualifier (capture their |
289 |
|
locations and allow replacement of their assignment expression via VM C++ |
290 |
|
API). |
291 |
|
- Fixed incorrect EG times if standard measuring unit was passed to built-in |
292 |
|
functions "change_attack()", "change_decay()" or "change_release()". |
293 |
|
- Fixed intermediate function result values never having reflected any |
294 |
|
standard measuring unit type. |
295 |
|
- Fixed re-entrant issue with function calls which caused wrong result |
296 |
|
values if the same function was called multiple times in a term |
297 |
|
(specifically if metric prefixes were used). |
298 |
|
- NKSP language: Just throw a warning, not an error if an array variable of |
299 |
|
size zero was declared. |
300 |
|
- NKSP language: Allow omitting explicit array size on array variable |
301 |
|
declaration if combined with immediate value assignment |
302 |
|
(e.g. declare %foo[] := ( 1, 2, 3 ) ). |
303 |
|
- NKSP language: emit warning if an array variable was declared with bigger |
304 |
|
array size than amount of initial values been assigned, and initialize the |
305 |
|
missing array elements with zero in this case. |
306 |
|
- Fixed built-in NKSP exit() function to behave as return statement. |
307 |
|
- NKSP parser: Fixed crash if unary '-' operator was used on a non-number |
308 |
|
data type. |
309 |
|
- NKSP VM: Fixed the "release" handler being executed too often under |
310 |
|
certain situations if polyphonic data was passed from "note" handler to |
311 |
|
"release" handler. |
312 |
|
- Fixed memory leak in NKSP parser: string tokens were allocated as C |
313 |
|
strings and never freed. |
314 |
|
- Fixed incorrect polyphonic data transfer from wrong note handler to |
315 |
|
release handler; which also fixes no release handler being executed |
316 |
|
sometimes, and due to the latter it also fixes potential crashes as some |
317 |
|
polyphonic script events were never released and the engine hence was |
318 |
|
running out of free script events. |
319 |
|
- Fixed crash when handling array results of built-in functions |
320 |
|
(e.g. "num_elements(by_marks($MARK_1)"). |
321 |
|
- NKSP VM: Fixed dead note events not been removed from user's event groups |
322 |
|
(i.e. causing incorrect behaviour of built-in NKSP functions by_marks() |
323 |
|
and set_event_mark() after max. size of event group list was exhausted). |
324 |
|
|
325 |
* test cases: |
* test cases: |
326 |
- Fixed compiler errors in test cases. |
- Fixed compiler errors in test cases. |
346 |
"sin()", "cos()", "tan()", "asin()", "acos()", "atan()". |
"sin()", "cos()", "tan()", "asin()", "acos()", "atan()". |
347 |
- Added NKSP test cases for unary '+' operator. |
- Added NKSP test cases for unary '+' operator. |
348 |
- Added NKSP test cases for core built-in variables. |
- Added NKSP test cases for core built-in variables. |
349 |
|
- Added thorough NKSP test cases for variable declarations. |
350 |
|
|
351 |
* GigaStudio/Gigasampler format engine: |
* GigaStudio/Gigasampler format engine: |
352 |
- LFOTriangleIntMath and LFOTriangleIntAbsMath: Fixed FlipPhase=true |
- LFOTriangleIntMath and LFOTriangleIntAbsMath: Fixed FlipPhase=true |
366 |
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, |
367 |
bandreject 2-pole. |
bandreject 2-pole. |
368 |
- Fixd potential crash with polynomial interpolator and max. pitch. |
- Fixd potential crash with polynomial interpolator and max. pitch. |
369 |
|
- If minimum cutoff is defined, remap cutoff controller CC values to really |
370 |
|
span the entire possible cutoff range (and avoiding a dead controller |
371 |
|
zone). |
372 |
|
- Implemented support for loading instrument scripts with 'patch' variables |
373 |
|
(by patching these script variables with potentially overridden ones by |
374 |
|
gig Instrument). |
375 |
|
|
376 |
* SFZ format engine: |
* SFZ format engine: |
377 |
- Fixed support for regions with loccN/hiccN conditions on more than one |
- Fixed support for regions with loccN/hiccN conditions on more than one |
378 |
MIDI controller. |
MIDI controller. |
379 |
|
- Fixed internal opcode 'xfin_hivel' falsely being set by user opcode |
380 |
|
'xfin_lovel' (patch by Christian Czezatke). |
381 |
|
|
382 |
* Benchmarks: |
* Benchmarks: |
383 |
- Fixed benchmarks/triang.cpp falsely having favoured "int math abs" |
- Fixed benchmarks/triang.cpp falsely having favoured "int math abs" |