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