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 |
|
|
32 |
* Real-time instrument scripts: |
* Real-time instrument scripts: |
33 |
- Added method ScriptVM::setExitResultEnabled() which allows to |
- Added method ScriptVM::setExitResultEnabled() which allows to |
150 |
metric value basis. |
metric value basis. |
151 |
- Built-in function "wait()" accepts now both integers and real numbers as |
- Built-in function "wait()" accepts now both integers and real numbers as |
152 |
argument. |
argument. |
153 |
|
- NKSP VM API cleanup: Get rid of legacy method |
154 |
|
VMFunction::argType(vmint iArg) which was already superseded by its new |
155 |
|
replacement VMFunction::acceptsArgType(vmint iArg, ExprType_t type). |
156 |
|
- NKSP parser: if wrong argument type was passed to a built-in function and |
157 |
|
that built-in function accepts more than one data type for the argument, |
158 |
|
then show all supported data types as parser error message. |
159 |
|
- Built-in function "play_note()" accepts now real numbers and seconds as |
160 |
|
unit type as well for its 3rd and 4th function arguments. |
161 |
|
- The following built-in functions accept now real numbers as well for their |
162 |
|
2nd function argument: "change_vol()", "change_tune()", "change_cutoff()", |
163 |
|
"change_attack()", "change_decay()", "change_release()", |
164 |
|
"change_sustain()", "change_cutoff_attack()", "change_cutoff_decay()", |
165 |
|
"change_cutoff_sustain()", "change_cutoff_release()", |
166 |
|
"change_amp_lfo_freq()", "change_cutoff_lfo_freq()", |
167 |
|
"change_pitch_lfo_freq()", "change_vol_time()", "change_tune_time()", |
168 |
|
"change_pan_time()", "fade_in()", "fade_out()", "change_play_pos()". |
169 |
|
- Fixed built-in function "change_play_pos()" not having accepted metric |
170 |
|
prefixes at all. |
171 |
|
- Fixed the following built-in functions having misinterpreted values given |
172 |
|
with unit type (for their 2nd argument) as if they were relative values |
173 |
|
(that is as if they were passed without a unit type): "change_attack()", |
174 |
|
"change_decay()", "change_release()", "change_cutoff_attack()", |
175 |
|
"change_cutoff_decay()", "change_cutoff_release()". |
176 |
|
- Fixed the following built-in functions having applied completely wrong |
177 |
|
'final' values: "change_sustain()", "change_cutoff_sustain()" (since the |
178 |
|
respective EGs being their modulation sink assume uint data type with |
179 |
|
value range 0..1000 instead of 0.0..1.0. |
180 |
|
- Added individual parse-time checks of function arguments for the following |
181 |
|
built-in functions: "play_note()", "note_off()", "set_event_mark()", |
182 |
|
"delete_event_mark()", "by_marks()", "change_cutoff()", "change_attack()", |
183 |
|
"change_decay()", "change_release()", "change_cutoff_attack()", |
184 |
|
"change_cutoff_decay()", "change_cutoff_release()", |
185 |
|
"change_amp_lfo_freq()", "change_cutoff_lfo_freq()", |
186 |
|
"change_pitch_lfo_freq()", "change_vol_time()", "change_tune_time()" and |
187 |
|
"change_pan_time()". |
188 |
|
- Don't abort function call if unit type was used and at the same time |
189 |
|
'final' operator was omitted for the primary value argument of the |
190 |
|
following built-in functions: "change_cutoff()", "change_attack()", |
191 |
|
"change_decay()", "change_release()", "change_cutoff_attack()", |
192 |
|
"change_cutoff_decay()", "change_cutoff_release()", |
193 |
|
"change_amp_lfo_freq()", "change_cutoff_lfo_freq()", |
194 |
|
"change_pitch_lfo_freq()", "change_vol_time()", "change_tune_time()", |
195 |
|
"change_pan_time()", instead imply 'final'ness at runtime and raise an |
196 |
|
appropriate parser warning at parse time. |
197 |
|
- Added built-in real number functions "round()", "ceil()", "floor()", |
198 |
|
"sqrt()", "log()", "log2()", "log10()", "exp()", "pow()", "sin()", |
199 |
|
"cos()", "tan()", "asin()", "acos()", "atan()". |
200 |
|
- Added built-in script real number constant "~NI_MATH_PI". |
201 |
|
- Added built-in script real number constant "~NI_MATH_E". |
202 |
|
- NKSP language: Allow unary '+' operator. |
203 |
|
- Added built-in script functions "msb()" and "lsb()". |
204 |
|
|
205 |
* test cases: |
* test cases: |
206 |
- Fixed compiler errors in test cases. |
- Fixed compiler errors in test cases. |
219 |
'final' operator usage cases. |
'final' operator usage cases. |
220 |
- Added NKSP test cases for (floating point tolerance aware) real number |
- Added NKSP test cases for (floating point tolerance aware) real number |
221 |
equalness / unequalness comparison. |
equalness / unequalness comparison. |
222 |
|
- Added NKSP int array and real array tests for value assignment and |
223 |
|
initialization of arrays. |
224 |
|
- Added NKSP test cases for built-in functions "round()", "ceil()", |
225 |
|
"floor()", "sqrt()", "log()", "log2()", "log10()", "exp()", "pow()", |
226 |
|
"sin()", "cos()", "tan()", "asin()", "acos()", "atan()". |
227 |
|
- Added NKSP test cases for unary '+' operator. |
228 |
|
|
229 |
|
* GigaStudio/Gigasampler format engine: |
230 |
|
- LFOTriangleIntMath and LFOTriangleIntAbsMath: Fixed FlipPhase=true |
231 |
|
behaviour for start_level_mid. |
232 |
|
- Changed LFO start levels: LFO1 and LFO2 both to mid, LFO3 to max. start |
233 |
|
level (see discussion "GigaStudio LFO compatibility" on mailing list |
234 |
|
from 2019-09-26 for details). |
235 |
|
- Changed default wave form for all 3 LFOs to sine (instead of triangle; |
236 |
|
see discussion "GigaStudio LFO compatibility" on mailing list from |
237 |
|
2019-09-26 for details). |
238 |
|
- Format extension: Added support for different LFO wave forms (currently |
239 |
|
either sine [default], triangle, saw or square). |
240 |
|
- Format extension: Added support for LFO phase displacement (0°..360°). |
241 |
|
- Format extension: Added support for flipping LFO polarity on LFO 3 |
242 |
|
(in the original gig format this was only available for LFO 1 and LFO 2). |
243 |
|
- Format extension: Support for additional filter types: |
244 |
|
lowpass 1/2/4/6-pole, highpass 1/2/4/6-pole, bandpass 2-pole, |
245 |
|
bandreject 2-pole. |
246 |
|
|
247 |
|
* SFZ format engine: |
248 |
|
- Fixed support for regions with loccN/hiccN conditions on more than one |
249 |
|
MIDI controller. |
250 |
|
|
251 |
|
* Benchmarks: |
252 |
|
- Fixed benchmarks/triang.cpp falsely having favoured "int math abs" |
253 |
|
algorithm (since result of 2nd run was not accumulated). |
254 |
|
- Added benchmark for saw wave (benchmarks/saw.cpp). |
255 |
|
- Added benchmark for sine wave (benchmarks/sine.cpp). |
256 |
|
- Added benchmark for square wave (benchmarks/square.cpp). |
257 |
|
- Increased amount of benchmarks runs by factor 6 to achieve benchmark times |
258 |
|
which are large enough on modern systems. |
259 |
|
|
260 |
Version 2.1.1 (27 Jul 2019) |
Version 2.1.1 (27 Jul 2019) |
261 |
|
|