10 |
- RTMath: Implemented floating point comparison methods |
- RTMath: Implemented floating point comparison methods |
11 |
fEqual32(float,float) and fEqual64(double,double) which take the |
fEqual32(float,float) and fEqual64(double,double) which take the |
12 |
expected floating point tolerances into account. |
expected floating point tolerances into account. |
13 |
|
- Added public API C++ class "LFO", which is a cluster class encapsulating |
14 |
|
all the sampler's LFO implementations to be used by 3rd party applications |
15 |
|
(e.g. by Gigedit). |
16 |
|
- Added int math square LFO implementation. |
17 |
|
- Added int math saw LFO implementation. |
18 |
|
- Added numeric complex nr sine LFO implementation. |
19 |
|
- Marked class LFOTriangleDiHarmonic as deprecated |
20 |
|
(will be removed in future). |
21 |
|
- Added LFOAll.h which includes all LFO implementation's header files. |
22 |
|
- Refactored LFO class names and their file names (PulseLFO -> LFOPulse, |
23 |
|
LFOSawIntMath -> LFOSawIntMathNew, SawLFO -> LFOSawIntMathOld, |
24 |
|
SineLFO -> LFOSineBuiltinFn, LFOSine -> LFOSineNumericComplexNr, |
25 |
|
SquareLFO -> LFOSquarePulse and separated the latter to its own header |
26 |
|
file). |
27 |
|
- Renamed type LFOSigned -> LFOTriangleSigned. |
28 |
|
- Renamed type LFOUnsigned -> LFOTriangleUnsigned. |
29 |
|
- Using now cubic interpolation as resampling algorithm by default; and |
30 |
|
linear interpolation is deprecated now. |
31 |
|
- Event:Init(): memset() entire Event::Param union to zero instead of trying |
32 |
|
to do that for its individual members; the latter became error prone due |
33 |
|
to the union's growing complexity meanwhile. |
34 |
|
- EngineChannel: Overhaul of RPN/NRPN related methods: Added new |
35 |
|
*Rpn*Parameter*() methods as replacement for previous *Rpn*Controller*() |
36 |
|
methods and marked the old ones as deprecated; and likewise added new |
37 |
|
*Nrpn*Parameter*() methods as replacement for previous *Nrpn*Controller*() |
38 |
|
methods and marked those old ones deprecated as well. |
39 |
|
- Added support for MIDI CC #38 (data entry LSB): this allows higher value |
40 |
|
resolution for certain (e.g. hard coded) RPN and NRPN parameters. |
41 |
|
- Implemented support for compressed RPN/NRPN message sequences (that is to |
42 |
|
allow processing MIDI data entry messages without always having to be |
43 |
|
preceded strictly by RPN/NRPN parameter selection messages on each value |
44 |
|
change). |
45 |
|
- Added support for MIDI CC #96 (data increment) and MIDI CC #97 (data |
46 |
|
decrement). |
47 |
|
- Added support for 'null function RPN/NRPN' (which is RPN/NRPN parameter |
48 |
|
MSB=127 and LSB=127) and which is disabling subsequent data |
49 |
|
entry/increment/decrement CC messages. |
50 |
|
- Fixed crash when editing key groups (a.k.a. exclusive groups) with an |
51 |
|
instrument editor. |
52 |
|
- 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. |
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 |
|
|
71 |
* Real-time instrument scripts: |
* Real-time instrument scripts: |
72 |
- Added method ScriptVM::setExitResultEnabled() which allows to |
- Added method ScriptVM::setExitResultEnabled() which allows to |
239 |
- Added built-in script real number constant "~NI_MATH_PI". |
- Added built-in script real number constant "~NI_MATH_PI". |
240 |
- Added built-in script real number constant "~NI_MATH_E". |
- Added built-in script real number constant "~NI_MATH_E". |
241 |
- NKSP language: Allow unary '+' operator. |
- NKSP language: Allow unary '+' operator. |
242 |
|
- Added built-in script functions "msb()" and "lsb()". |
243 |
|
- NKSP language: Added support for RPN event handler |
244 |
|
("on rpn ... end on" in instrument scripts). |
245 |
|
- NKSP language: Added support for NRPN event handler |
246 |
|
("on nrpn ... end on" in instrument scripts). |
247 |
|
- Added built-in read-only variables "$RPN_ADDRESS" and "$RPN_VALUE" which |
248 |
|
may be read from the new RPN/NRPN script handlers to get the (N)RPN |
249 |
|
parameter that had been changed and its new value. |
250 |
|
- Added built-in const variables "$NI_CB_TYPE_RPN" and "$NI_CB_TYPE_NRPN" |
251 |
|
which are identifying the new (N)RPN handlers as such at script runtime. |
252 |
|
- Implemented built-in script function "set_rpn()". |
253 |
|
- Implemented built-in script function "set_nrpn()". |
254 |
|
- Fix: built-in functions returning an array type were broken and caused a |
255 |
|
crash when the built-in function's (supposed to be array) result value was |
256 |
|
used by the script VM. |
257 |
|
- Removed upper value constraint for 2nd argument of built-in functions |
258 |
|
"change_amp_lfo_freq()", "change_cutoff_lfo_freq()", |
259 |
|
"change_pitch_lfo_freq()","change_reso()", "change_cutoff()", |
260 |
|
"change_amp_lfo_depth()", "change_cutoff_lfo_depth()" and |
261 |
|
"change_pitch_lfo_depth()", to allow e.g. passing value 2000000 to double |
262 |
|
the LFO frequency / resonance / cutoff frequency. |
263 |
|
- Reduced code involved for parsing NKSP variable declarations by using 2 |
264 |
|
generalized grammar rules with optional components (i.e. optional value |
265 |
|
assignment and optional variable qualifiers) instead of previous linear |
266 |
|
combinations of grammar rules, which also fixes some edge case. |
267 |
|
- NKSP language parser: track code block locations also by a) raw byte |
268 |
|
position in NKSP source code string and b) length of that code block in |
269 |
|
bytes (along to the already existing code block tracking by line/column); |
270 |
|
and added appropriate new members to public C++ API classes like |
271 |
|
'firstByte' and 'lengthBytes' to class VMSourceToken and struct CodeBlock. |
272 |
|
- NKSP language: Added support for 'patch' variable qualifier (capture their |
273 |
|
locations and allow replacement of their assignment expression via VM C++ |
274 |
|
API). |
275 |
|
- Fixed incorrect EG times if standard measuring unit was passed to built-in |
276 |
|
functions "change_attack()", "change_decay()" or "change_release()". |
277 |
|
- Fixed intermediate function result values never having reflected any |
278 |
|
standard measuring unit type. |
279 |
|
- Fixed re-entrant issue with function calls which caused wrong result |
280 |
|
values if the same function was called multiple times in a term |
281 |
|
(specifically if metric prefixes were used). |
282 |
|
- NKSP language: Just throw a warning, not an error if an array variable of |
283 |
|
size zero was declared. |
284 |
|
- NKSP language: Allow omitting explicit array size on array variable |
285 |
|
declaration if combined with immediate value assignment |
286 |
|
(e.g. declare %foo[] := ( 1, 2, 3 ) ). |
287 |
|
|
288 |
* test cases: |
* test cases: |
289 |
- Fixed compiler errors in test cases. |
- Fixed compiler errors in test cases. |
308 |
"floor()", "sqrt()", "log()", "log2()", "log10()", "exp()", "pow()", |
"floor()", "sqrt()", "log()", "log2()", "log10()", "exp()", "pow()", |
309 |
"sin()", "cos()", "tan()", "asin()", "acos()", "atan()". |
"sin()", "cos()", "tan()", "asin()", "acos()", "atan()". |
310 |
- Added NKSP test cases for unary '+' operator. |
- Added NKSP test cases for unary '+' operator. |
311 |
|
- Added NKSP test cases for core built-in variables. |
312 |
|
- Added thorough NKSP test cases for variable declarations. |
313 |
|
|
314 |
|
* GigaStudio/Gigasampler format engine: |
315 |
|
- LFOTriangleIntMath and LFOTriangleIntAbsMath: Fixed FlipPhase=true |
316 |
|
behaviour for start_level_mid. |
317 |
|
- Changed LFO start levels: LFO1 and LFO2 both to mid, LFO3 to max. start |
318 |
|
level (see discussion "GigaStudio LFO compatibility" on mailing list |
319 |
|
from 2019-09-26 for details). |
320 |
|
- Changed default wave form for all 3 LFOs to sine (instead of triangle; |
321 |
|
see discussion "GigaStudio LFO compatibility" on mailing list from |
322 |
|
2019-09-26 for details). |
323 |
|
- Format extension: Added support for different LFO wave forms (currently |
324 |
|
either sine [default], triangle, saw or square). |
325 |
|
- Format extension: Added support for LFO phase displacement (0°..360°). |
326 |
|
- Format extension: Added support for flipping LFO polarity on LFO 3 |
327 |
|
(in the original gig format this was only available for LFO 1 and LFO 2). |
328 |
|
- Format extension: Support for additional filter types: |
329 |
|
lowpass 1/2/4/6-pole, highpass 1/2/4/6-pole, bandpass 2-pole, |
330 |
|
bandreject 2-pole. |
331 |
|
- Fixd potential crash with polynomial interpolator and max. pitch. |
332 |
|
- If minimum cutoff is defined, remap cutoff controller CC values to really |
333 |
|
span the entire possible cutoff range (and avoiding a dead controller |
334 |
|
zone). |
335 |
|
- Implemented support for loading instrument scripts with 'patch' variables |
336 |
|
(by patching these script variables with potentially overridden ones by |
337 |
|
gig Instrument). |
338 |
|
|
339 |
* SFZ format engine: |
* SFZ format engine: |
340 |
- Fixed support for regions with loccN/hiccN conditions on more than one |
- Fixed support for regions with loccN/hiccN conditions on more than one |
341 |
MIDI controller. |
MIDI controller. |
342 |
|
|
343 |
|
* Benchmarks: |
344 |
|
- Fixed benchmarks/triang.cpp falsely having favoured "int math abs" |
345 |
|
algorithm (since result of 2nd run was not accumulated). |
346 |
|
- Added benchmark for saw wave (benchmarks/saw.cpp). |
347 |
|
- Added benchmark for sine wave (benchmarks/sine.cpp). |
348 |
|
- Added benchmark for square wave (benchmarks/square.cpp). |
349 |
|
- Increased amount of benchmarks runs by factor 6 to achieve benchmark times |
350 |
|
which are large enough on modern systems. |
351 |
|
|
352 |
Version 2.1.1 (27 Jul 2019) |
Version 2.1.1 (27 Jul 2019) |
353 |
|
|
354 |
* Real-time instrument scripts: |
* Real-time instrument scripts: |