125 |
NumberBinaryOp, VMScalarNumberResultFunction -> VMNumberResultFunction, |
NumberBinaryOp, VMScalarNumberResultFunction -> VMNumberResultFunction, |
126 |
method VMExpr::asScalarNumberExpr() -> VMExpr::asNumber(), function |
method VMExpr::asScalarNumberExpr() -> VMExpr::asNumber(), function |
127 |
isScalarNumber() -> isNumber()). |
isScalarNumber() -> isNumber()). |
128 |
|
- NKSP VM API: Added 4 overridden methods to class VMNumberExpr: |
129 |
|
evalCastInt(MetricPrefix_t), evalCastInt(MetricPrefix_t,MetricPrefix_t), |
130 |
|
evalCastReal(MetricPrefix_t), evalCastReal(MetricPrefix_t,MetricPrefix_t) |
131 |
|
as convenient methods for automatically converting values to expected |
132 |
|
metric value basis. |
133 |
|
- Built-in function "wait()" accepts now both integers and real numbers as |
134 |
|
argument. |
135 |
|
- NKSP VM API cleanup: Get rid of legacy method |
136 |
|
VMFunction::argType(vmint iArg) which was already superseded by its new |
137 |
|
replacement VMFunction::acceptsArgType(vmint iArg, ExprType_t type). |
138 |
|
- NKSP parser: if wrong argument type was passed to a built-in function and |
139 |
|
that built-in function accepts more than one data type for the argument, |
140 |
|
then show all supported data types as parser error message. |
141 |
|
- Built-in function "play_note()" accepts now real numbers and seconds as |
142 |
|
unit type as well for its 3rd and 4th function arguments. |
143 |
|
- The following built-in functions accept now real numbers as well for their |
144 |
|
2nd function argument: "change_vol()", "change_tune()", "change_cutoff()", |
145 |
|
"change_attack()", "change_decay()", "change_release()", |
146 |
|
"change_sustain()", "change_cutoff_attack()", "change_cutoff_decay()", |
147 |
|
"change_cutoff_sustain()", "change_cutoff_release()", |
148 |
|
"change_amp_lfo_freq()", "change_cutoff_lfo_freq()", |
149 |
|
"change_pitch_lfo_freq()", "change_vol_time()", "change_tune_time()", |
150 |
|
"change_pan_time()", "fade_in()", "fade_out()", "change_play_pos()". |
151 |
|
- Fixed built-in function "change_play_pos()" not having accepted metric |
152 |
|
prefixes at all. |
153 |
|
- Fixed the following built-in functions having misinterpreted values given |
154 |
|
with unit type (for their 2nd argument) as if they were relative values |
155 |
|
(that is as if they were passed without a unit type): "change_attack()", |
156 |
|
"change_decay()", "change_release()", "change_cutoff_attack()", |
157 |
|
"change_cutoff_decay()", "change_cutoff_release()". |
158 |
|
- Fixed the following built-in functions having applied completely wrong |
159 |
|
'final' values: "change_sustain()", "change_cutoff_sustain()" (since the |
160 |
|
respective EGs being their modulation sink assume uint data type with |
161 |
|
value range 0..1000 instead of 0.0..1.0. |
162 |
|
- Added individual parse-time checks of function arguments for the following |
163 |
|
built-in functions: "play_note()", "note_off()", "set_event_mark()", |
164 |
|
"delete_event_mark()", "by_marks()", "change_cutoff()", "change_attack()", |
165 |
|
"change_decay()", "change_release()", "change_cutoff_attack()", |
166 |
|
"change_cutoff_decay()", "change_cutoff_release()", |
167 |
|
"change_amp_lfo_freq()", "change_cutoff_lfo_freq()", |
168 |
|
"change_pitch_lfo_freq()", "change_vol_time()", "change_tune_time()" and |
169 |
|
"change_pan_time()". |
170 |
|
- Don't abort function call if unit type was used and at the same time |
171 |
|
'final' operator was omitted for the primary value argument of the |
172 |
|
following built-in functions: "change_cutoff()", "change_attack()", |
173 |
|
"change_decay()", "change_release()", "change_cutoff_attack()", |
174 |
|
"change_cutoff_decay()", "change_cutoff_release()", |
175 |
|
"change_amp_lfo_freq()", "change_cutoff_lfo_freq()", |
176 |
|
"change_pitch_lfo_freq()", "change_vol_time()", "change_tune_time()", |
177 |
|
"change_pan_time()", instead imply 'final'ness at runtime and raise an |
178 |
|
appropriate parser warning at parse time. |
179 |
|
- Added built-in real number functions "round()", "ceil()", "floor()", |
180 |
|
"sqrt()", "log()", "log2()", "log10()", "exp()", "pow()", "sin()", |
181 |
|
"cos()", "tan()", "asin()", "acos()", "atan()". |
182 |
|
- Added built-in script real number constant "~NI_MATH_PI". |
183 |
|
- Added built-in script real number constant "~NI_MATH_E". |
184 |
|
- NKSP language: Allow unary '+' operator. |
185 |
|
|
186 |
* test cases: |
* test cases: |
187 |
- Fixed compiler errors in test cases. |
- Fixed compiler errors in test cases. |
200 |
'final' operator usage cases. |
'final' operator usage cases. |
201 |
- Added NKSP test cases for (floating point tolerance aware) real number |
- Added NKSP test cases for (floating point tolerance aware) real number |
202 |
equalness / unequalness comparison. |
equalness / unequalness comparison. |
203 |
|
- Added NKSP int array and real array tests for value assignment and |
204 |
|
initialization of arrays. |
205 |
|
- Added NKSP test cases for built-in functions "round()", "ceil()", |
206 |
|
"floor()", "sqrt()", "log()", "log2()", "log10()", "exp()", "pow()", |
207 |
|
"sin()", "cos()", "tan()", "asin()", "acos()", "atan()". |
208 |
|
- Added NKSP test cases for unary '+' operator. |
209 |
|
|
210 |
|
* SFZ format engine: |
211 |
|
- Fixed support for regions with loccN/hiccN conditions on more than one |
212 |
|
MIDI controller. |
213 |
|
|
214 |
Version 2.1.1 (27 Jul 2019) |
Version 2.1.1 (27 Jul 2019) |
215 |
|
|