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 |
|
|
51 |
* Real-time instrument scripts: |
* Real-time instrument scripts: |
52 |
- Added method ScriptVM::setExitResultEnabled() which allows to |
- Added method ScriptVM::setExitResultEnabled() which allows to |
169 |
metric value basis. |
metric value basis. |
170 |
- Built-in function "wait()" accepts now both integers and real numbers as |
- Built-in function "wait()" accepts now both integers and real numbers as |
171 |
argument. |
argument. |
172 |
|
- NKSP VM API cleanup: Get rid of legacy method |
173 |
|
VMFunction::argType(vmint iArg) which was already superseded by its new |
174 |
|
replacement VMFunction::acceptsArgType(vmint iArg, ExprType_t type). |
175 |
|
- NKSP parser: if wrong argument type was passed to a built-in function and |
176 |
|
that built-in function accepts more than one data type for the argument, |
177 |
|
then show all supported data types as parser error message. |
178 |
|
- Built-in function "play_note()" accepts now real numbers and seconds as |
179 |
|
unit type as well for its 3rd and 4th function arguments. |
180 |
|
- The following built-in functions accept now real numbers as well for their |
181 |
|
2nd function argument: "change_vol()", "change_tune()", "change_cutoff()", |
182 |
|
"change_attack()", "change_decay()", "change_release()", |
183 |
|
"change_sustain()", "change_cutoff_attack()", "change_cutoff_decay()", |
184 |
|
"change_cutoff_sustain()", "change_cutoff_release()", |
185 |
|
"change_amp_lfo_freq()", "change_cutoff_lfo_freq()", |
186 |
|
"change_pitch_lfo_freq()", "change_vol_time()", "change_tune_time()", |
187 |
|
"change_pan_time()", "fade_in()", "fade_out()", "change_play_pos()". |
188 |
|
- Fixed built-in function "change_play_pos()" not having accepted metric |
189 |
|
prefixes at all. |
190 |
|
- Fixed the following built-in functions having misinterpreted values given |
191 |
|
with unit type (for their 2nd argument) as if they were relative values |
192 |
|
(that is as if they were passed without a unit type): "change_attack()", |
193 |
|
"change_decay()", "change_release()", "change_cutoff_attack()", |
194 |
|
"change_cutoff_decay()", "change_cutoff_release()". |
195 |
|
- Fixed the following built-in functions having applied completely wrong |
196 |
|
'final' values: "change_sustain()", "change_cutoff_sustain()" (since the |
197 |
|
respective EGs being their modulation sink assume uint data type with |
198 |
|
value range 0..1000 instead of 0.0..1.0. |
199 |
|
- Added individual parse-time checks of function arguments for the following |
200 |
|
built-in functions: "play_note()", "note_off()", "set_event_mark()", |
201 |
|
"delete_event_mark()", "by_marks()", "change_cutoff()", "change_attack()", |
202 |
|
"change_decay()", "change_release()", "change_cutoff_attack()", |
203 |
|
"change_cutoff_decay()", "change_cutoff_release()", |
204 |
|
"change_amp_lfo_freq()", "change_cutoff_lfo_freq()", |
205 |
|
"change_pitch_lfo_freq()", "change_vol_time()", "change_tune_time()" and |
206 |
|
"change_pan_time()". |
207 |
|
- Don't abort function call if unit type was used and at the same time |
208 |
|
'final' operator was omitted for the primary value argument of the |
209 |
|
following built-in functions: "change_cutoff()", "change_attack()", |
210 |
|
"change_decay()", "change_release()", "change_cutoff_attack()", |
211 |
|
"change_cutoff_decay()", "change_cutoff_release()", |
212 |
|
"change_amp_lfo_freq()", "change_cutoff_lfo_freq()", |
213 |
|
"change_pitch_lfo_freq()", "change_vol_time()", "change_tune_time()", |
214 |
|
"change_pan_time()", instead imply 'final'ness at runtime and raise an |
215 |
|
appropriate parser warning at parse time. |
216 |
|
- Added built-in real number functions "round()", "ceil()", "floor()", |
217 |
|
"sqrt()", "log()", "log2()", "log10()", "exp()", "pow()", "sin()", |
218 |
|
"cos()", "tan()", "asin()", "acos()", "atan()". |
219 |
|
- Added built-in script real number constant "~NI_MATH_PI". |
220 |
|
- Added built-in script real number constant "~NI_MATH_E". |
221 |
|
- NKSP language: Allow unary '+' operator. |
222 |
|
- Added built-in script functions "msb()" and "lsb()". |
223 |
|
- NKSP language: Added support for RPN event handler |
224 |
|
("on rpn ... end on" in instrument scripts). |
225 |
|
- NKSP language: Added support for NRPN event handler |
226 |
|
("on nrpn ... end on" in instrument scripts). |
227 |
|
- Added built-in read-only variables "$RPN_ADDRESS" and "$RPN_VALUE" which |
228 |
|
may be read from the new RPN/NRPN script handlers to get the (N)RPN |
229 |
|
parameter that had been changed and its new value. |
230 |
|
- Added built-in const variables "$NI_CB_TYPE_RPN" and "$NI_CB_TYPE_NRPN" |
231 |
|
which are identifying the new (N)RPN handlers as such at script runtime. |
232 |
|
- Implemented built-in script function "set_rpn()". |
233 |
|
- Implemented built-in script function "set_nrpn()". |
234 |
|
- Fix: built-in functions returning an array type were broken and caused a |
235 |
|
crash when the built-in function's (supposed to be array) result value was |
236 |
|
used by the script VM. |
237 |
|
- Removed upper value constraint for 2nd argument of built-in functions |
238 |
|
"change_amp_lfo_freq()", "change_cutoff_lfo_freq()", |
239 |
|
"change_pitch_lfo_freq()","change_reso()", "change_cutoff()", |
240 |
|
"change_amp_lfo_depth()", "change_cutoff_lfo_depth()" and |
241 |
|
"change_pitch_lfo_depth()", to allow e.g. passing value 2000000 to double |
242 |
|
the LFO frequency / resonance / cutoff frequency. |
243 |
|
|
244 |
* test cases: |
* test cases: |
245 |
- Fixed compiler errors in test cases. |
- Fixed compiler errors in test cases. |
258 |
'final' operator usage cases. |
'final' operator usage cases. |
259 |
- Added NKSP test cases for (floating point tolerance aware) real number |
- Added NKSP test cases for (floating point tolerance aware) real number |
260 |
equalness / unequalness comparison. |
equalness / unequalness comparison. |
261 |
|
- Added NKSP int array and real array tests for value assignment and |
262 |
|
initialization of arrays. |
263 |
|
- Added NKSP test cases for built-in functions "round()", "ceil()", |
264 |
|
"floor()", "sqrt()", "log()", "log2()", "log10()", "exp()", "pow()", |
265 |
|
"sin()", "cos()", "tan()", "asin()", "acos()", "atan()". |
266 |
|
- Added NKSP test cases for unary '+' operator. |
267 |
|
- Added NKSP test cases for core built-in variables. |
268 |
|
|
269 |
|
* GigaStudio/Gigasampler format engine: |
270 |
|
- LFOTriangleIntMath and LFOTriangleIntAbsMath: Fixed FlipPhase=true |
271 |
|
behaviour for start_level_mid. |
272 |
|
- Changed LFO start levels: LFO1 and LFO2 both to mid, LFO3 to max. start |
273 |
|
level (see discussion "GigaStudio LFO compatibility" on mailing list |
274 |
|
from 2019-09-26 for details). |
275 |
|
- Changed default wave form for all 3 LFOs to sine (instead of triangle; |
276 |
|
see discussion "GigaStudio LFO compatibility" on mailing list from |
277 |
|
2019-09-26 for details). |
278 |
|
- Format extension: Added support for different LFO wave forms (currently |
279 |
|
either sine [default], triangle, saw or square). |
280 |
|
- Format extension: Added support for LFO phase displacement (0°..360°). |
281 |
|
- Format extension: Added support for flipping LFO polarity on LFO 3 |
282 |
|
(in the original gig format this was only available for LFO 1 and LFO 2). |
283 |
|
- Format extension: Support for additional filter types: |
284 |
|
lowpass 1/2/4/6-pole, highpass 1/2/4/6-pole, bandpass 2-pole, |
285 |
|
bandreject 2-pole. |
286 |
|
- Fixd potential crash with polynomial interpolator and max. pitch. |
287 |
|
- If minimum cutoff is defined, remap cutoff controller CC values to really |
288 |
|
span the entire possible cutoff range (and avoiding a dead controller |
289 |
|
zone). |
290 |
|
|
291 |
|
* SFZ format engine: |
292 |
|
- Fixed support for regions with loccN/hiccN conditions on more than one |
293 |
|
MIDI controller. |
294 |
|
|
295 |
|
* Benchmarks: |
296 |
|
- Fixed benchmarks/triang.cpp falsely having favoured "int math abs" |
297 |
|
algorithm (since result of 2nd run was not accumulated). |
298 |
|
- Added benchmark for saw wave (benchmarks/saw.cpp). |
299 |
|
- Added benchmark for sine wave (benchmarks/sine.cpp). |
300 |
|
- Added benchmark for square wave (benchmarks/square.cpp). |
301 |
|
- Increased amount of benchmarks runs by factor 6 to achieve benchmark times |
302 |
|
which are large enough on modern systems. |
303 |
|
|
304 |
Version 2.1.1 (27 Jul 2019) |
Version 2.1.1 (27 Jul 2019) |
305 |
|
|