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 |
|
|
57 |
* Real-time instrument scripts: |
* Real-time instrument scripts: |
58 |
- Added method ScriptVM::setExitResultEnabled() which allows to |
- Added method ScriptVM::setExitResultEnabled() which allows to |
225 |
- Added built-in script real number constant "~NI_MATH_PI". |
- Added built-in script real number constant "~NI_MATH_PI". |
226 |
- Added built-in script real number constant "~NI_MATH_E". |
- Added built-in script real number constant "~NI_MATH_E". |
227 |
- NKSP language: Allow unary '+' operator. |
- NKSP language: Allow unary '+' operator. |
228 |
|
- Added built-in script functions "msb()" and "lsb()". |
229 |
|
- NKSP language: Added support for RPN event handler |
230 |
|
("on rpn ... end on" in instrument scripts). |
231 |
|
- NKSP language: Added support for NRPN event handler |
232 |
|
("on nrpn ... end on" in instrument scripts). |
233 |
|
- Added built-in read-only variables "$RPN_ADDRESS" and "$RPN_VALUE" which |
234 |
|
may be read from the new RPN/NRPN script handlers to get the (N)RPN |
235 |
|
parameter that had been changed and its new value. |
236 |
|
- Added built-in const variables "$NI_CB_TYPE_RPN" and "$NI_CB_TYPE_NRPN" |
237 |
|
which are identifying the new (N)RPN handlers as such at script runtime. |
238 |
|
- Implemented built-in script function "set_rpn()". |
239 |
|
- Implemented built-in script function "set_nrpn()". |
240 |
|
- Fix: built-in functions returning an array type were broken and caused a |
241 |
|
crash when the built-in function's (supposed to be array) result value was |
242 |
|
used by the script VM. |
243 |
|
- Removed upper value constraint for 2nd argument of built-in functions |
244 |
|
"change_amp_lfo_freq()", "change_cutoff_lfo_freq()", |
245 |
|
"change_pitch_lfo_freq()","change_reso()", "change_cutoff()", |
246 |
|
"change_amp_lfo_depth()", "change_cutoff_lfo_depth()" and |
247 |
|
"change_pitch_lfo_depth()", to allow e.g. passing value 2000000 to double |
248 |
|
the LFO frequency / resonance / cutoff frequency. |
249 |
|
- Reduced code involved for parsing NKSP variable declarations by using 2 |
250 |
|
generalized grammar rules with optional components (i.e. optional value |
251 |
|
assignment and optional variable qualifiers) instead of previous linear |
252 |
|
combinations of grammar rules, which also fixes some edge case. |
253 |
|
- NKSP language parser: track code block locations also by a) raw byte |
254 |
|
position in NKSP source code string and b) length of that code block in |
255 |
|
bytes (along to the already existing code block tracking by line/column); |
256 |
|
and added appropriate new members to public C++ API classes like |
257 |
|
'firstByte' and 'lengthBytes' to class VMSourceToken and struct CodeBlock. |
258 |
|
- NKSP language: Added support for 'patch' variable qualifier (capture their |
259 |
|
locations and allow replacement of their assignment expression via VM C++ |
260 |
|
API). |
261 |
|
- Fixed incorrect EG times if standard measuring unit was passed to built-in |
262 |
|
functions "change_attack()", "change_decay()" or "change_release()". |
263 |
|
- Fixed intermediate function result values never having reflected any |
264 |
|
standard measuring unit type. |
265 |
|
|
266 |
* test cases: |
* test cases: |
267 |
- Fixed compiler errors in test cases. |
- Fixed compiler errors in test cases. |
286 |
"floor()", "sqrt()", "log()", "log2()", "log10()", "exp()", "pow()", |
"floor()", "sqrt()", "log()", "log2()", "log10()", "exp()", "pow()", |
287 |
"sin()", "cos()", "tan()", "asin()", "acos()", "atan()". |
"sin()", "cos()", "tan()", "asin()", "acos()", "atan()". |
288 |
- Added NKSP test cases for unary '+' operator. |
- Added NKSP test cases for unary '+' operator. |
289 |
|
- Added NKSP test cases for core built-in variables. |
290 |
|
- Added thorough NKSP test cases for variable declarations. |
291 |
|
|
292 |
|
* GigaStudio/Gigasampler format engine: |
293 |
|
- LFOTriangleIntMath and LFOTriangleIntAbsMath: Fixed FlipPhase=true |
294 |
|
behaviour for start_level_mid. |
295 |
|
- Changed LFO start levels: LFO1 and LFO2 both to mid, LFO3 to max. start |
296 |
|
level (see discussion "GigaStudio LFO compatibility" on mailing list |
297 |
|
from 2019-09-26 for details). |
298 |
|
- Changed default wave form for all 3 LFOs to sine (instead of triangle; |
299 |
|
see discussion "GigaStudio LFO compatibility" on mailing list from |
300 |
|
2019-09-26 for details). |
301 |
|
- Format extension: Added support for different LFO wave forms (currently |
302 |
|
either sine [default], triangle, saw or square). |
303 |
|
- Format extension: Added support for LFO phase displacement (0°..360°). |
304 |
|
- Format extension: Added support for flipping LFO polarity on LFO 3 |
305 |
|
(in the original gig format this was only available for LFO 1 and LFO 2). |
306 |
|
- Format extension: Support for additional filter types: |
307 |
|
lowpass 1/2/4/6-pole, highpass 1/2/4/6-pole, bandpass 2-pole, |
308 |
|
bandreject 2-pole. |
309 |
|
- Fixd potential crash with polynomial interpolator and max. pitch. |
310 |
|
- If minimum cutoff is defined, remap cutoff controller CC values to really |
311 |
|
span the entire possible cutoff range (and avoiding a dead controller |
312 |
|
zone). |
313 |
|
- Implemented support for loading instrument scripts with 'patch' variables |
314 |
|
(by patching these script variables with potentially overridden ones by |
315 |
|
gig Instrument). |
316 |
|
|
317 |
|
* SFZ format engine: |
318 |
|
- Fixed support for regions with loccN/hiccN conditions on more than one |
319 |
|
MIDI controller. |
320 |
|
|
321 |
|
* Benchmarks: |
322 |
|
- Fixed benchmarks/triang.cpp falsely having favoured "int math abs" |
323 |
|
algorithm (since result of 2nd run was not accumulated). |
324 |
|
- Added benchmark for saw wave (benchmarks/saw.cpp). |
325 |
|
- Added benchmark for sine wave (benchmarks/sine.cpp). |
326 |
|
- Added benchmark for square wave (benchmarks/square.cpp). |
327 |
|
- Increased amount of benchmarks runs by factor 6 to achieve benchmark times |
328 |
|
which are large enough on modern systems. |
329 |
|
|
330 |
Version 2.1.1 (27 Jul 2019) |
Version 2.1.1 (27 Jul 2019) |
331 |
|
|