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 |
|
|
39 |
|
* MIDI driver: |
40 |
|
- VirtualMidiDevice: added method Reset() which is e.g. intended to be used |
41 |
|
in "panic" / MIDI "all sound off" / MIDI "all note off" situations. |
42 |
|
- VirtualMidiDevice: release all notes on MIDI CC #120 and CC #123. |
43 |
|
|
44 |
|
Version 2.2.0 (9 May 2021) |
45 |
|
|
46 |
|
* general changes: |
47 |
- Fixed compiler error in Pool.h. |
- Fixed compiler error in Pool.h. |
48 |
- Require C++14 compiler support. |
- Require C++14 compiler support. |
49 |
- Autoconf: Added m4/ax_cxx_compile_stdcxx.m4 macro which is used |
- Autoconf: Added m4/ax_cxx_compile_stdcxx.m4 macro which is used |
94 |
instrument editor. |
instrument editor. |
95 |
- 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. |
96 |
- Fixed potential crash with high pitch at end of RAM playback. |
- Fixed potential crash with high pitch at end of RAM playback. |
97 |
|
- Added configure checks whether C++ compiler supports so called |
98 |
|
'designated initializers'. |
99 |
|
- Added global backtraceAsString() function for debugging purposes |
100 |
|
(POSIX systems only, no Windows implementation yet). |
101 |
|
- Thread class: Added new methods pushCancelable(), popCancelable(), name(), |
102 |
|
nameOfCaller() and setNameOfCaller(). |
103 |
|
- configure: Always check for availability of pthread_testcancel() and use |
104 |
|
it if so (previously it was only used if explicitly enabled by configure |
105 |
|
option). |
106 |
|
- Thread class: raise compiler warning if pthread_testcancel() is not |
107 |
|
available, because it can lead to deadlocks. |
108 |
|
- Mutex class: Implemented optional bug detection and deadlock debugging |
109 |
|
features. |
110 |
|
- Ref<> class is now thread safe (as lock-free and wait-free |
111 |
|
implementation). |
112 |
|
- Fixed compilation error with Bison >= 3.6.0. |
113 |
|
- Fixed rare crash when switching between instruments that had instrument |
114 |
|
scripts loaded. |
115 |
|
- Allow EffectChain::InsertEffect() as alternative to |
116 |
|
EffectChain::AppendEffect() (i.e. with index equal to current chain size). |
117 |
|
- ConstCapacityArray class: Fixed bug in remove() method. |
118 |
|
- Fixed crash on certain MIDI RPN and NRPN messages that occurred if no |
119 |
|
real-time instrument script was loaded. |
120 |
|
|
121 |
* Real-time instrument scripts: |
* Real-time instrument scripts: |
122 |
- Added method ScriptVM::setExitResultEnabled() which allows to |
- Added method ScriptVM::setExitResultEnabled() which allows to |
310 |
"change_amp_lfo_depth()", "change_cutoff_lfo_depth()" and |
"change_amp_lfo_depth()", "change_cutoff_lfo_depth()" and |
311 |
"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 |
312 |
the LFO frequency / resonance / cutoff frequency. |
the LFO frequency / resonance / cutoff frequency. |
313 |
|
- Reduced code involved for parsing NKSP variable declarations by using 2 |
314 |
|
generalized grammar rules with optional components (i.e. optional value |
315 |
|
assignment and optional variable qualifiers) instead of previous linear |
316 |
|
combinations of grammar rules, which also fixes some edge case. |
317 |
|
- NKSP language parser: track code block locations also by a) raw byte |
318 |
|
position in NKSP source code string and b) length of that code block in |
319 |
|
bytes (along to the already existing code block tracking by line/column); |
320 |
|
and added appropriate new members to public C++ API classes like |
321 |
|
'firstByte' and 'lengthBytes' to class VMSourceToken and struct CodeBlock. |
322 |
|
- NKSP language: Added support for 'patch' variable qualifier (capture their |
323 |
|
locations and allow replacement of their assignment expression via VM C++ |
324 |
|
API). |
325 |
|
- Fixed incorrect EG times if standard measuring unit was passed to built-in |
326 |
|
functions "change_attack()", "change_decay()" or "change_release()". |
327 |
|
- Fixed intermediate function result values never having reflected any |
328 |
|
standard measuring unit type. |
329 |
|
- Fixed re-entrant issue with function calls which caused wrong result |
330 |
|
values if the same function was called multiple times in a term |
331 |
|
(specifically if metric prefixes were used). |
332 |
|
- NKSP language: Just throw a warning, not an error if an array variable of |
333 |
|
size zero was declared. |
334 |
|
- NKSP language: Allow omitting explicit array size on array variable |
335 |
|
declaration if combined with immediate value assignment |
336 |
|
(e.g. declare %foo[] := ( 1, 2, 3 ) ). |
337 |
|
- NKSP language: emit warning if an array variable was declared with bigger |
338 |
|
array size than amount of initial values been assigned, and initialize the |
339 |
|
missing array elements with zero in this case. |
340 |
|
- Fixed built-in NKSP exit() function to behave as return statement. |
341 |
|
- NKSP parser: Fixed crash if unary '-' operator was used on a non-number |
342 |
|
data type. |
343 |
|
- NKSP VM: Fixed the "release" handler being executed too often under |
344 |
|
certain situations if polyphonic data was passed from "note" handler to |
345 |
|
"release" handler. |
346 |
|
- Fixed memory leak in NKSP parser: string tokens were allocated as C |
347 |
|
strings and never freed. |
348 |
|
- Fixed incorrect polyphonic data transfer from wrong note handler to |
349 |
|
release handler; which also fixes no release handler being executed |
350 |
|
sometimes, and due to the latter it also fixes potential crashes as some |
351 |
|
polyphonic script events were never released and the engine hence was |
352 |
|
running out of free script events. |
353 |
|
- Fixed crash when handling array results of built-in functions |
354 |
|
(e.g. "num_elements(by_marks($MARK_1)"). |
355 |
|
- NKSP VM: Fixed dead note events not been removed from user's event groups |
356 |
|
(i.e. causing incorrect behaviour of built-in NKSP functions by_marks() |
357 |
|
and set_event_mark() after max. size of event group list was exhausted). |
358 |
|
|
359 |
* test cases: |
* test cases: |
360 |
- Fixed compiler errors in test cases. |
- Fixed compiler errors in test cases. |
380 |
"sin()", "cos()", "tan()", "asin()", "acos()", "atan()". |
"sin()", "cos()", "tan()", "asin()", "acos()", "atan()". |
381 |
- Added NKSP test cases for unary '+' operator. |
- Added NKSP test cases for unary '+' operator. |
382 |
- Added NKSP test cases for core built-in variables. |
- Added NKSP test cases for core built-in variables. |
383 |
|
- Added thorough NKSP test cases for variable declarations. |
384 |
|
|
385 |
* GigaStudio/Gigasampler format engine: |
* GigaStudio/Gigasampler format engine: |
386 |
- LFOTriangleIntMath and LFOTriangleIntAbsMath: Fixed FlipPhase=true |
- LFOTriangleIntMath and LFOTriangleIntAbsMath: Fixed FlipPhase=true |
403 |
- If minimum cutoff is defined, remap cutoff controller CC values to really |
- If minimum cutoff is defined, remap cutoff controller CC values to really |
404 |
span the entire possible cutoff range (and avoiding a dead controller |
span the entire possible cutoff range (and avoiding a dead controller |
405 |
zone). |
zone). |
406 |
|
- Implemented support for loading instrument scripts with 'patch' variables |
407 |
|
(by patching these script variables with potentially overridden ones by |
408 |
|
gig Instrument). |
409 |
|
|
410 |
* SFZ format engine: |
* SFZ format engine: |
411 |
- Fixed support for regions with loccN/hiccN conditions on more than one |
- Fixed support for regions with loccN/hiccN conditions on more than one |
412 |
MIDI controller. |
MIDI controller. |
413 |
|
- Fixed internal opcode 'xfin_hivel' falsely being set by user opcode |
414 |
|
'xfin_lovel' (patch by Christian Czezatke). |
415 |
|
|
416 |
* Benchmarks: |
* Benchmarks: |
417 |
- Fixed benchmarks/triang.cpp falsely having favoured "int math abs" |
- Fixed benchmarks/triang.cpp falsely having favoured "int math abs" |