/[svn]/linuxsampler/trunk/ChangeLog
ViewVC logotype

Diff of /linuxsampler/trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3581 by schoenebeck, Fri Aug 30 11:40:25 2019 UTC revision 3729 by schoenebeck, Fri Jan 31 10:57:53 2020 UTC
# Line 10  Version SVN trunk (?) Line 10  Version SVN trunk (?)
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    
55    * Real-time instrument scripts:    * Real-time instrument scripts:
56      - Added method ScriptVM::setExitResultEnabled() which allows to      - Added method ScriptVM::setExitResultEnabled() which allows to
# Line 118  Version SVN trunk (?) Line 159  Version SVN trunk (?)
159      - Added individual parse time checks of arguments to be passed to built-in      - Added individual parse time checks of arguments to be passed to built-in
160        functions "random()", "inc()", "dec()", "in_range()", "min()", "max()",        functions "random()", "inc()", "dec()", "in_range()", "min()", "max()",
161        "array_equal()" and "search()" specific for their individual purposes.        "array_equal()" and "search()" specific for their individual purposes.
162        - NKSP VM refactoring: Renamed all methods, functions and classes matching
163          pattern *ScalarNumber* to simply *Number* (that is i.e. classes
164          VMScalarNumberExpr -> VMNumberExpr, ScalarNumberExpr -> NumberExpr,
165          ScalarNumberVariable -> NumberVariable, ScalarNumberBinaryOp ->
166          NumberBinaryOp, VMScalarNumberResultFunction -> VMNumberResultFunction,
167          method VMExpr::asScalarNumberExpr() -> VMExpr::asNumber(), function
168          isScalarNumber() -> isNumber()).
169        - NKSP VM API: Added 4 overridden methods to class VMNumberExpr:
170          evalCastInt(MetricPrefix_t), evalCastInt(MetricPrefix_t,MetricPrefix_t),
171          evalCastReal(MetricPrefix_t), evalCastReal(MetricPrefix_t,MetricPrefix_t)
172          as convenient methods for automatically converting values to expected
173          metric value basis.
174        - Built-in function "wait()" accepts now both integers and real numbers as
175          argument.
176        - NKSP VM API cleanup: Get rid of legacy method
177          VMFunction::argType(vmint iArg) which was already superseded by its new
178          replacement VMFunction::acceptsArgType(vmint iArg, ExprType_t type).
179        - NKSP parser: if wrong argument type was passed to a built-in function and
180          that built-in function accepts more than one data type for the argument,
181          then show all supported data types as parser error message.
182        - Built-in function "play_note()" accepts now real numbers and seconds as
183          unit type as well for its 3rd and 4th function arguments.
184        - The following built-in functions accept now real numbers as well for their
185          2nd function argument: "change_vol()", "change_tune()", "change_cutoff()",
186          "change_attack()", "change_decay()", "change_release()",
187          "change_sustain()", "change_cutoff_attack()", "change_cutoff_decay()",
188          "change_cutoff_sustain()", "change_cutoff_release()",
189          "change_amp_lfo_freq()", "change_cutoff_lfo_freq()",
190          "change_pitch_lfo_freq()", "change_vol_time()", "change_tune_time()",
191          "change_pan_time()", "fade_in()", "fade_out()", "change_play_pos()".
192        - Fixed built-in function "change_play_pos()" not having accepted metric
193          prefixes at all.
194        - Fixed the following built-in functions having misinterpreted values given
195          with unit type (for their 2nd argument) as if they were relative values
196          (that is as if they were passed without a unit type): "change_attack()",
197          "change_decay()", "change_release()", "change_cutoff_attack()",
198          "change_cutoff_decay()", "change_cutoff_release()".
199        - Fixed the following built-in functions having applied completely wrong
200          'final' values: "change_sustain()", "change_cutoff_sustain()" (since the
201          respective EGs being their modulation sink assume uint data type with
202          value range 0..1000 instead of 0.0..1.0.
203        - Added individual parse-time checks of function arguments for the following
204          built-in functions: "play_note()", "note_off()", "set_event_mark()",
205          "delete_event_mark()", "by_marks()", "change_cutoff()", "change_attack()",
206          "change_decay()", "change_release()", "change_cutoff_attack()",
207          "change_cutoff_decay()", "change_cutoff_release()",
208          "change_amp_lfo_freq()", "change_cutoff_lfo_freq()",
209          "change_pitch_lfo_freq()", "change_vol_time()", "change_tune_time()" and
210          "change_pan_time()".
211        - Don't abort function call if unit type was used and at the same time
212          'final' operator was omitted for the primary value argument of the
213          following built-in functions: "change_cutoff()", "change_attack()",
214          "change_decay()", "change_release()", "change_cutoff_attack()",
215          "change_cutoff_decay()", "change_cutoff_release()",
216          "change_amp_lfo_freq()", "change_cutoff_lfo_freq()",
217          "change_pitch_lfo_freq()", "change_vol_time()", "change_tune_time()",
218          "change_pan_time()", instead imply 'final'ness at runtime and raise an
219          appropriate parser warning at parse time.
220        - Added built-in real number functions "round()", "ceil()", "floor()",
221          "sqrt()", "log()", "log2()", "log10()", "exp()", "pow()", "sin()",
222          "cos()", "tan()", "asin()", "acos()", "atan()".
223        - Added built-in script real number constant "~NI_MATH_PI".
224        - Added built-in script real number constant "~NI_MATH_E".
225        - NKSP language: Allow unary '+' operator.
226        - Added built-in script functions "msb()" and "lsb()".
227        - NKSP language: Added support for RPN event handler
228          ("on rpn ... end on" in instrument scripts).
229        - NKSP language: Added support for NRPN event handler
230          ("on nrpn ... end on" in instrument scripts).
231        - Added built-in read-only variables "$RPN_ADDRESS" and "$RPN_VALUE" which
232          may be read from the new RPN/NRPN script handlers to get the (N)RPN
233          parameter that had been changed and its new value.
234        - Added built-in const variables "$NI_CB_TYPE_RPN" and "$NI_CB_TYPE_NRPN"
235          which are identifying the new (N)RPN handlers as such at script runtime.
236        - Implemented built-in script function "set_rpn()".
237        - Implemented built-in script function "set_nrpn()".
238        - Fix: built-in functions returning an array type were broken and caused a
239          crash when the built-in function's (supposed to be array) result value was
240          used by the script VM.
241        - Removed upper value constraint for 2nd argument of built-in functions
242          "change_amp_lfo_freq()", "change_cutoff_lfo_freq()",
243          "change_pitch_lfo_freq()","change_reso()", "change_cutoff()",
244          "change_amp_lfo_depth()", "change_cutoff_lfo_depth()" and
245          "change_pitch_lfo_depth()", to allow e.g. passing value 2000000 to double
246          the LFO frequency / resonance / cutoff frequency.
247        - Reduced code involved for parsing NKSP variable declarations by using 2
248          generalized grammar rules with optional components (i.e. optional value
249          assignment and optional variable qualifiers) instead of previous linear
250          combinations of grammar rules, which also fixes some edge case.
251        - NKSP language parser: track code block locations also by a) raw byte
252          position in NKSP source code string and b) length of that code block in
253          bytes (along to the already existing code block tracking by line/column);
254          and added appropriate new members to public C++ API classes like
255          'firstByte' and 'lengthBytes' to class VMSourceToken and struct CodeBlock.
256    
257    * test cases:    * test cases:
258      - Fixed compiler errors in test cases.      - Fixed compiler errors in test cases.
# Line 136  Version SVN trunk (?) Line 271  Version SVN trunk (?)
271        'final' operator usage cases.        'final' operator usage cases.
272      - Added NKSP test cases for (floating point tolerance aware) real number      - Added NKSP test cases for (floating point tolerance aware) real number
273        equalness / unequalness comparison.        equalness / unequalness comparison.
274        - Added NKSP int array and real array tests for value assignment and
275          initialization of arrays.
276        - Added NKSP test cases for built-in functions "round()", "ceil()",
277          "floor()", "sqrt()", "log()", "log2()", "log10()", "exp()", "pow()",
278          "sin()", "cos()", "tan()", "asin()", "acos()", "atan()".
279        - Added NKSP test cases for unary '+' operator.
280        - Added NKSP test cases for core built-in variables.
281        - Added thorough NKSP test cases for variable declarations.
282    
283      * GigaStudio/Gigasampler format engine:
284        - LFOTriangleIntMath and LFOTriangleIntAbsMath: Fixed FlipPhase=true
285          behaviour for start_level_mid.
286        - Changed LFO start levels: LFO1 and LFO2 both to mid, LFO3 to max. start
287          level (see discussion "GigaStudio LFO compatibility" on mailing list
288          from 2019-09-26 for details).
289        - Changed default wave form for all 3 LFOs to sine (instead of triangle;
290          see discussion "GigaStudio LFO compatibility" on mailing list from
291          2019-09-26 for details).
292        - Format extension: Added support for different LFO wave forms (currently
293          either sine [default], triangle, saw or square).
294        - Format extension: Added support for LFO phase displacement (0°..360°).
295        - Format extension: Added support for flipping LFO polarity on LFO 3
296          (in the original gig format this was only available for LFO 1 and LFO 2).
297        - Format extension: Support for additional filter types:
298          lowpass 1/2/4/6-pole, highpass 1/2/4/6-pole, bandpass 2-pole,
299          bandreject 2-pole.
300        - Fixd potential crash with polynomial interpolator and max. pitch.
301        - If minimum cutoff is defined, remap cutoff controller CC values to really
302          span the entire possible cutoff range (and avoiding a dead controller
303          zone).
304    
305      * SFZ format engine:
306        - Fixed support for regions with loccN/hiccN conditions on more than one
307          MIDI controller.
308    
309      * Benchmarks:
310        - Fixed benchmarks/triang.cpp falsely having favoured "int math abs"
311          algorithm (since result of 2nd run was not accumulated).
312        - Added benchmark for saw wave (benchmarks/saw.cpp).
313        - Added benchmark for sine wave (benchmarks/sine.cpp).
314        - Added benchmark for square wave (benchmarks/square.cpp).
315        - Increased amount of benchmarks runs by factor 6 to achieve benchmark times
316          which are large enough on modern systems.
317    
318  Version 2.1.1 (27 Jul 2019)  Version 2.1.1 (27 Jul 2019)
319    

Legend:
Removed from v.3581  
changed lines
  Added in v.3729

  ViewVC Help
Powered by ViewVC