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

Diff of /linuxsampler/trunk/ChangeLog

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

revision 2452 by persson, Mon May 13 17:26:29 2013 UTC revision 3646 by schoenebeck, Sun Dec 8 23:17:34 2019 UTC
# Line 1  Line 1 
1  Version CVS HEAD (?)  Version SVN trunk (?)
2    
3      * general changes:
4        - Fixed compiler error in Pool.h.
5        - Require C++14 compiler support.
6        - Autoconf: Added m4/ax_cxx_compile_stdcxx.m4 macro which is used
7          for checking in configure for C++14 support (as mandatory
8          requirement) and automatically adds compiler argument if required
9          (e.g. -std=C++14).
10        - RTMath: Implemented floating point comparison methods
11          fEqual32(float,float) and fEqual64(double,double) which take the
12          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:
33        - Added method ScriptVM::setExitResultEnabled() which allows to
34          explicitly enable the built-in exit() function to optionally accept
35          one function argument; the value of the passed exit() function
36          argument will then become available by calling
37          VMExecContext::exitResult() after script execution.
38        - 64 bit support for NKSP integer scripts variables (declare $foo).
39        - Variable names, function names and preprocessor condition names must start
40          with a regular character (a-z or A-Z); starting them with a digit or
41          underscore is not allowed.
42        - NKSP parser fix: equal comparison operator "=" and not equal comparison
43          operator "#" must only accept integer operands.
44        - NKSP language: Implemented support for standard units like Hertz, seconds,
45          Bel including support for metric unit prefixes; so one can now e.g.
46          conveniently use numbers in scripts like "5us" meaning "5 microseconds",
47          or e.g. "12kHz" meaning "12 kilo Hertz", or e.g. "-14mdB" meaning
48          "minus 14 Millidecibel", or e.g. "28c" meaning "28 cents" (for tuning).
49        - NKSP language: Introduced "final" operator "!" which is specifically
50          intended for synthesis parameter values to denote that the synthesis
51          parameter value is intended to be the "final" value for that synthesis
52          parameter that should explicitly be used by the engine and thus causing
53          the sampler engine to ignore all other modulation sources for the same
54          synthesis parameter (like e.g. LFO, EG); by simply prefixing a value,
55          variable or formula with this new "!" operator the expression is marked as
56          being "final".
57        - NKSP script editor API: Added support for detecting standard unit tokens
58          and their potential metric prefix token.
59        - NKSP language: Added support for NKSP real number literals and
60          arithmetic operations on them (e.g. "(3.9 + 2.9) / 12.3 - 42.0").
61        - NKSP language: Added support for NKSP real number (floating point) script
62          variables (declare ~foo).
63        - NKSP language: Added support for NKSP real number (floating point) array
64          script variables (declare ?foo[]).
65        - Built-in script function "message()" accepts now real number argument as
66          well.
67        - Added built-in script function "real_to_int()" and its short hand form
68          "int()" for casting from real number to integer in NKSP scripts.
69        - Added built-in script function "int_to_real()" and its short hand form
70          "real()" for casting from integer to real number in NKSP scripts.
71        - Allow built-in exit() function to potentially accept real number type
72          argument as well.
73        - Built-in script functions may have a different return type depending on
74          the arguments passed to the function.
75        - Built-in script function "abs()" optionally accepts and returns real
76          number.
77        - Built-in script functions "min()" and "max()" optionally accept real
78          number arguments and return real number as result in that case.
79        - NKSP VM API: Allow units and 'final'ness to be returned as result from
80          built-in functions (added methods VMFunction::returnUnitType() and
81          VMFunction::returnsFinal() for that purpose which must be implemented by
82          built-in function implementations).
83        - NKSP language: Allow metric unit prefixes of numeric scalar and array
84          variables to be changed freely at runtime (unlike unit types like Hz etc.
85          which are still sticky, parse-time features of variables which cannot be
86          changed at runtime for the intentional sake of determinism).
87        - NKSP language: 'final' values are prohibited for array variables for now
88          (attempt causes a parsers error).
89        - NKSP language: expressions with unit types (e.g. Hz) are prohibited for
90          conditions of runtime control structures like if(), while(), select()
91          (attempt causes a parser error).
92        - NKSP VM API: Allow built-in functions to perform their own, individual
93          parse time checks of arguments going to be passed to the function at
94          runtime (added method VMFunction::checkArgs() for that purpose).
95        - NKSP language: raise parser warning if only one operand of binary
96          operators (like logical 'or' comparison) contain a 'final' value (because
97          it would always yield in a 'final' result in such cases).
98        - NKSP language: Allow comparison (=, #, <, >, <=, >=) of values with
99          different metric unit prefixes, which will behave as expected (e.g.
100          result of expression '1000us < 2ms' is true).
101        - NKSP language: Allow adding values with different metric unit prefixes
102          (e.g. result of expression '100Hz + 5kHz' is '5100Hz').
103        - NKSP language: Allow subtracting values with different metric unit
104          prefixes (e.g. result of expression '1ms - 20us' is '980us').
105        - NKSP language: Allow multiplying with any metric unit prefixes
106          (e.g. result of expression '2k * 3ms' is '6s'), however multiplications
107          with unit types on both sides (e.g. '2s * 2s') is still prohibited since
108          we don't have any considerable practical use for a term like '4s^2'
109          (hence any attempt multiplying two unit types still causes parser error).
110        - NKSP language: Allow dividing by any metric unit prefixes and allow
111          division of same unit type on both sides (e.g. expression '8kHz / 1000Hz'
112          yields in unit free result '8'). So this is now a way to cast units away
113          e.g. for passing the result to other expressions, certain function calls
114          or variables which are not accepting any units (or that specific unit).
115        - NKSP language: integer arrays and real number arrays can now be converted
116          to strings (e.g. for dumping their content with message() calls for
117          script debugging purposes).
118        - NKSP language: expressions and variables with units are now correctly
119          casted to strings (e.g. with message() calls).
120        - NKSP language: comparing real numbers for equalness (e.g. '~foo = 3.1') or
121          unequalness (e.g. '~foo # 3.1') is now less strict and takes the expected
122          floating point tolerances into account.
123        - NKSP VM API: Added methods VMScalarNumberExpr::evalCastInt() and
124          VMScalarNumberExpr::evalCastReal().
125        - NKSP VM API: Added base class 'VMNumberArrayExpr' for classes
126          'VMIntArrayExpr' and 'VMRealArrayExpr'.
127        - NKSP VM API: replaced all unitPrefix() (parse time) methods by
128          unitFactor() (runtime) methods.
129        - Built-in function "exit()" supports now returning units and 'final'ness
130          for test cases.
131        - The following built-in functions support now units as well: "abs()",
132          "random()", "inc()", "dec()", "in_range()", "min()", "max()",
133          "real_to_int()", "int()", "int_to_real()" and "real()".
134        - Built-in functions "array_equal()", "search()" and "sort()" support now
135          real number arrays (correctly) as well.
136        - Added individual parse time checks of arguments to be passed to built-in
137          functions "random()", "inc()", "dec()", "in_range()", "min()", "max()",
138          "array_equal()" and "search()" specific for their individual purposes.
139        - NKSP VM refactoring: Renamed all methods, functions and classes matching
140          pattern *ScalarNumber* to simply *Number* (that is i.e. classes
141          VMScalarNumberExpr -> VMNumberExpr, ScalarNumberExpr -> NumberExpr,
142          ScalarNumberVariable -> NumberVariable, ScalarNumberBinaryOp ->
143          NumberBinaryOp, VMScalarNumberResultFunction -> VMNumberResultFunction,
144          method VMExpr::asScalarNumberExpr() -> VMExpr::asNumber(), function
145          isScalarNumber() -> isNumber()).
146        - NKSP VM API: Added 4 overridden methods to class VMNumberExpr:
147          evalCastInt(MetricPrefix_t), evalCastInt(MetricPrefix_t,MetricPrefix_t),
148          evalCastReal(MetricPrefix_t), evalCastReal(MetricPrefix_t,MetricPrefix_t)
149          as convenient methods for automatically converting values to expected
150          metric value basis.
151        - Built-in function "wait()" accepts now both integers and real numbers as
152          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    
204      * test cases:
205        - Fixed compiler errors in test cases.
206        - Updated README for how to compile & run test cases.
207        - Updated test case
208          MutexTest::testDoubleLockStillBlocksConcurrentThread() to latest
209          expected behaviour of the Mutex class implementation (recursive
210          mutex type).
211        - Added test cases for NKSP core language aspects and core built-in
212          functions.
213        - Fixed thread tests segfaulting on Linux.
214        - NKSP: Added real number test cases for built-in functions exit(),
215          int_to_real(), real(), real_to_int() and int(), as well as for the
216          plus, minus and negate language operators.
217        - Added massive amount of NKSP test cases for standard measuring units and
218          'final' operator usage cases.
219        - Added NKSP test cases for (floating point tolerance aware) real number
220          equalness / unequalness comparison.
221        - Added NKSP int array and real array tests for value assignment and
222          initialization of arrays.
223        - Added NKSP test cases for built-in functions "round()", "ceil()",
224          "floor()", "sqrt()", "log()", "log2()", "log10()", "exp()", "pow()",
225          "sin()", "cos()", "tan()", "asin()", "acos()", "atan()".
226        - Added NKSP test cases for unary '+' operator.
227    
228      * GigaStudio/Gigasampler format engine:
229        - LFOTriangleIntMath and LFOTriangleIntAbsMath: Fixed FlipPhase=true
230          behaviour for start_level_mid.
231        - Changed LFO start levels: LFO1 and LFO2 both to mid, LFO3 to max. start
232          level (see discussion "GigaStudio LFO compatibility" on mailing list
233          from 2019-09-26 for details).
234        - Changed default wave form for all 3 LFOs to sine (instead of triangle;
235          see discussion "GigaStudio LFO compatibility" on mailing list from
236          2019-09-26 for details).
237        - Format extension: Added support for different LFO wave forms (currently
238          either sine [default], triangle, saw or square).
239        - Format extension: Added support for LFO phase displacement (0°..360°).
240        - Format extension: Added support for flipping LFO polarity on LFO 3
241          (in the original gig format this was only available for LFO 1 and LFO 2).
242        - Format extension: Support for additional filter types:
243          lowpass 1/2/4/6-pole, highpass 1/2/4/6-pole, bandpass 2-pole,
244          bandreject 2-pole.
245    
246      * SFZ format engine:
247        - Fixed support for regions with loccN/hiccN conditions on more than one
248          MIDI controller.
249    
250      * Benchmarks:
251        - Fixed benchmarks/triang.cpp falsely having favoured "int math abs"
252          algorithm (since result of 2nd run was not accumulated).
253        - Added benchmark for saw wave (benchmarks/saw.cpp).
254        - Added benchmark for sine wave (benchmarks/sine.cpp).
255        - Added benchmark for square wave (benchmarks/square.cpp).
256        - Increased amount of benchmarks runs by factor 6 to achieve benchmark times
257          which are large enough on modern systems.
258    
259    Version 2.1.1 (27 Jul 2019)
260    
261      * Real-time instrument scripts:
262        - Fixed behavior of built-in NKSP functions change_sustain(),
263          change_cutoff_attack(), change_cutoff_decay(), change_cutoff_sustain()
264          and change_cutoff_release().
265    
266      * general changes:
267        - Only play release trigger samples on sustain pedal up if this behaviour
268          was explicitly requested by the instrument (otherwise only on note-off).
269        - Fixed compiler warnings.
270        - Fixed compilation error when cross-compiling to Mac.
271        - FX Sends: Provide more useful error messages on routing problems
272          (see bug #169).
273        - LSCP doc: Be more clear describing the two distinct approaches
274          of using external vs. internal effects (see bug #169).
275        - "optional" class: Fixed comparison operators.
276    
277      * Gigasampler/GigaStudio format engine:
278        - Format extension: If requested by instrument then don't play release
279          trigger sample on note-off events.
280    
281      * SFZ format engine:
282        - Fixed memory leak when releasing samples
283          (fixes bug #307, patch by Jacek Roszkowski)
284        - Fixed potential crash when a sample is shared by more than one region
285          (fixes bug #308, patch by Jacek Roszkowski).
286        - Opcode 'sample': Added support for built-in sample '*silence'
287          (fixes bug #310, patch by Jacek Roszkowski).
288    
289    Version 2.1.0 (25 Nov 2017)
290    
291      * SFZ format engine:
292        - added support for <global>, <master> and #define (patch by Alby M)
293        - Removed code duplication in SFZ file loading code.
294        - Added support for sfz extension opcode 'script' which may be used to
295          load real-time instrument script file (NKSP script language).
296        - Implemented opcode set_ccN (initial patch by Giovanni Senatore).
297        - Fixed unintended volume fade-in of voices under certain conditions.
298        - sfz parser: allow missing space between header and opcode
299    
300      * Gigasampler/GigaStudio format engine:
301        - Fixed clicks and pumping noise with Lowpass Turbo filter on very low
302          cutoff settings.
303        - Got rid of resembling an ancient GSt misbehavior which did not pitch at
304          all if an up-pitch of more than 40 semi tones was requested (I don't
305          think there is any stock gig sound that requires this behavior to
306          resemble its original sound).
307        - Added support for controlling whether the individual EGADSR stages may
308          be aborted (as LinuxSampler extension to the original GigaStudio 4
309          format).
310    
311      * general changes:
312        - fixed printf type errors (mostly in debug messages)
313        - use unique_ptr instead of auto_ptr when building with C++11
314        - Added RTAVLTree class which is a real-time safe ordered multi-map, thus
315          allowing to sort data efficiently in real-time safe manner.
316        - RTList class: added methods for moving/inserting elements to arbitrary
317          position within a list.
318        - RTList class: added method fromPtr() for creating an Iterator object from
319          a raw element pointer.
320        - Attempt to partly fix resetting engine channels vs. resetting engine, an
321          overall cleanup of the Reset*(), ConnectAudioDevice(),
322          DisconnectAudioDevice() API methods would still be desirable though,
323          because the current situation is still inconsistent and error prone.
324        - Active voices are now internally grouped to "Note" objects, instead of
325          being directly assigned to a keyboard key. This allows more fine graded
326          processing of voices, which is i.e. required for certain instrument
327          script features.
328        - Fix: Release trigger voices were not spawned on sustain pedal up
329          (CC #64) events.
330        - Fix: Release trigger voices can now also distinguish correctly between
331          note-off and sustain pedal up events.
332        - All engines: Increased ramp speed of volume smoother and pan smoother
333          (while slow rate of crossfade smoother is preserved) to allow quick
334          volume and pan changes by instrument scripts for instance.
335        - gig/sf2/sfz: Fixed aftertouch channel pressure events being processed
336          properly and thus were ignored for certain uses.
337        - Added new C++ API method
338          VirtualMidiDevice::SendChannelPressureToSampler().
339        - windows, 32-bit: fixed potential crashes by making sure the stack in
340          sub threads is 16-byte aligned
341        - fixed numerous compiler warnings
342        - Fixed invalid (note-on) event ID being assigned to new Note objects.
343        - Revised fundamental C++ classes "Thread", "Mutex" and "Condition" which
344          fixes potential undefined behavior.
345        - Fixed Note object leak when triggering notes on keys which did not
346          have a valid sample mapped (fixes bug #252).
347        - Fixed compilation errors when compiling with CONFIG_DEVMODE enabled.
348        - linuxsampler binary fix: option --create-instruments-db ignored
349          subsequent optional argument due to glibc's implementation oddity
350          which expects a "=" sign, but no space between them.
351    
352      * packaging changes:
353        - removed unnecessary dependency to libuuid
354          (originated by libgig's usage of it)
355        - Automake: set environment variable GCC_COLORS=auto to allow GCC to
356          auto detect whether it (sh/c)ould output its messages in color.
357        - Debian: Fixed packaging error about invalid "Source-Version"
358          substitution variable.
359        - Debian: Raised Debian compatibility level to Debian 9 "Stretch".
360        - Debian: Added build dependency to libsqlite3-dev for building
361          linuxsampler with instruments DB support.
362    
363      * Real-time instrument scripts:
364        - Implemented scheduler for delayed MIDI events and for suspended scripts.
365        - Built-in script function "wait()": implemented support for function's
366          "duration-us" argument, thus scripts using this function are now
367          correctly resumed after the requested amount of microseconds.
368        - Built-in script function "play_note()": implemented support for
369          function's "duration-us" argument, thus notes triggered with this
370          argument are now correctly released after the requested amount of
371          microseconds.
372        - Fix: script events were not cleared when engine channel was reset,
373          potentially causing undefined behavior.
374        - Fixed crash which happened when trying to reference an undeclared
375          variable.
376        - Built-in script function "play_note()": Added support for passing
377          special value -1 for "duration-us" argument, which will cause the
378          triggered note to be released once the original note was released.
379        - Instrument script classes now exported with the liblinuxsampler C++ API.
380        - Added new API method ScriptVM::syntaxHighlighting() which provides
381          a convenient syntax highlighting backend for external instrument
382          script editor applications.
383        - Added new C++ API class "ScriptVMFactory".
384        - Extended parser issues to provide not only first line and first
385          column, but also last line and last column of issue (thus marking
386          the precise span of the issue within the source code).
387        - Reload script automatically after being modified by an instrument
388          editor.
389        - NKSP language grammar correction: allow empty event handler bodies
390          like "on note end on".
391        - Implemented built-in script function "change_vol()".
392        - Implemented built-in script function "change_tune()".
393        - Implemented built-in script function "change_pan()".
394        - Implemented built-in script function "change_cutoff()".
395        - Implemented built-in script function "change_reso()".
396        - Implemented built-in script function "event_status()".
397        - Added built-in script constants "$EVENT_STATUS_INACTIVE" and
398          "$EVENT_STATUS_NOTE_QUEUE" both for being used as flags for
399          "event_status()" function.
400        - NKSP language: Added support for bitwise operators ".or.", ".and."
401          and ".not.".
402        - NKSP language scanner: Fixed IDs matching to require at least one
403          character (i.e. when matching function names or variable names).
404        - NKSP language scanner: disabled unusued rules.
405        - Fixed behavior of play_note() and note_off() functions which must
406          be distinguished engine internally from "real" MIDI note on/off
407          events in order to avoid misbehaviors like hanging notes.
408        - Implemented built-in script variable "$KSP_TIMER".
409        - Implemented built-in script variable "$NKSP_REAL_TIMER".
410        - Implemented built-in script variable "$NKSP_PERF_TIMER".
411        - Implemented built-in script variable "$ENGINE_UPTIME".
412        - Implemented built-in script function "inc()".
413        - Implemented built-in script function "dec()".
414        - NKSP language fix: division expressions were evaluated too often.
415        - NKSP language fix: string concatenation operator was right
416          associative instead of left (to right).
417        - NKSP language correction: allow empty statements in entire language
418          (i.e. "if end if").
419        - Implemented built-in script function "stop_wait()".
420        - Implemented built-in script variable "$NI_CALLBACK_ID".
421        - Implemented built-in script variable "$NI_CALLBACK_TYPE".
422        - Implemented built-in script variable "$NKSP_IGNORE_WAIT".
423        - Added support for read-only built-in variables (respectively
424          handled by the script parser).
425        - Added built-in script constant "$NI_CB_TYPE_INIT".
426        - Added built-in script constant "$NI_CB_TYPE_NOTE".
427        - Added built-in script constant "$NI_CB_TYPE_RELEASE".
428        - Added built-in script constant "$NI_CB_TYPE_CONTROLLER".
429        - NKSP Language: Added support for user defined script functions.
430        - Implemented built-in script function "change_attack()".
431        - Implemented built-in script function "change_decay()".
432        - Implemented built-in script function "change_release()".
433        - Fixed all change_*() built-in script functions to apply their
434          synthesis parameter changes immediately in case the respective note
435          was triggered at the same time, instead of scheduling the parameter
436          change, especially because it would cause some parameter types's
437          changes either to be ramped (i.e. change_vol()) or other types even
438          to have not effect at all (i.e. change_attack()).
439        - Implemented built-in script function "sh_left()".
440        - Implemented built-in script function "sh_right()".
441        - Implemented built-in script function "min()".
442        - Implemented built-in script function "max()".
443        - NKSP Fix: "init" event handler was not always executed when a script
444          was loaded.
445        - NKSP built-in wait() script function: abort script execution if
446          a negative or zero wait time was passed as argument (since this is
447          a common indication of a bug either of the script or even of the
448          engine, which could lead to RT instability or even worse).
449        - ScriptVM: Implemented automatic suspension of RT safety
450          threatening scripts.
451        - Provide more user friendly error messages on syntax errors.
452        - Fixed NKSP parser warning "Not a statement" when assigning an
453          initializer list to an array variable.
454        - Implemented built-in script array variable "%ALL_EVENTS".
455        - Implemented built-in script function "in_range()".
456        - Implemented built-in script function "change_amp_lfo_depth()".
457        - Implemented built-in script function "change_amp_lfo_freq()".
458        - Implemented built-in script function "change_pitch_lfo_depth()".
459        - Implemented built-in script function "change_pitch_lfo_freq()".
460        - Implemented built-in script function "change_vol_time()".
461        - Implemented built-in script function "change_tune_time()".
462        - Implemented built-in script function "fade_in()".
463        - Implemented built-in script function "fade_out()".
464        - Fixed acceptance of wrong data type of parameters passed to built-in
465          script functions "change_vol()", "change_tune()", "change_pan()",
466          "change_cutoff()", "change_reso()", "change_attack()", "change_decay()",
467          "change_release()", "change_amp_lfo_depth()", "change_amp_lfo_freq()",
468          "change_pitch_lfo_depth()" and "change_pitch_lfo_freq()".
469        - Added built-in script function "get_event_par()" and implemented some
470          of its possible parameter selections.
471        - Added built-in script function "set_event_par()" and implemented some
472          of its possible parameter selections.
473        - Fixed a bunch of scheduler time related bugs.
474        - Fixed polyphonic variables not being reset to zero after usage.
475        - Built-in "ignore_event()" function: argument is now optional, like with
476          built-in function "ignore_controller()".
477        - Implemented built-in script function "change_velo()".
478        - Implemented built-in script function "change_note()".
479        - Adjusted behavior of "change_vol()" and "change_tune()" to a more
480          intuitive behavior if used in combination with "change_vol_time()" or
481          "change_tune_time()" respectively: now tuning/volume changes are only
482          assigned (without delay) immediately to a new note if the respective
483          timing function has not been called before, otherwise the volume/tuning
484          changes are automatically faded (before, only the event's time stamp was
485          relevant).
486         - Implemented built-in script function "array_equal()".
487         - Implemented built-in script function "search()".
488         - Implemented built-in script function "sort()".
489         - NKSP Fix: Never suspend "init" event handlers.
490         - Implemented built-in script function "same_region()" (currently only
491           available for gig format engine).
492         - Added built-in script constant "$NKSP_LINEAR".
493         - Added built-in script constant "$NKSP_EASE_IN_EASE_OUT".
494         - Implemented built-in script function "change_vol_curve()".
495         - Implemented built-in script function "change_tune_curve()".
496         - built-in "play_note()" function now supports a sample playback start
497           offset with argument 3, where special value -1 means to use the regular
498           sample offset as defined by the instrument file.
499         - Built-in array variable %KEY_DOWN[] is now a read-only variable.
500         - Built-in variable $EVENT_NOTE is now a read-only variable.
501         - Built-in variable $EVENT_VELOCITY is now a read-only variable.
502         - built-in "play_note()" function now accepts -2 for its fourth argument
503           (note duration) which means the life time of the note shall be sticked
504           to the requested note number of argument 1.
505         - Fix: built-in "play_note()" function now returns 0 as result value if
506           -1 was passed for its fourth argument (note duration) and the respective
507           parent note is already gone.
508        - Implemented built-in script function "change_play_pos()".
509        - NKSP language: Added support for user declared const array variables.
510        - NKSP language: Raise parser warning if array variable is accessed with
511          an index that exceeds the array's size.
512        - NKSP language fix: Unknown characters were not handled correctly.
513        - NKSP language: Added support for "synchronized .. end synchronized"
514          code blocks.
515        - Implemented built-in script function "abort()" which allows to abort
516          another script handler by passing its callback ID.
517        - Fixed potential memory access bug and potential undefined behavior of
518          "init" event handlers.
519        - Print a time stamp along to each call of built-in function "message()".
520        - ScriptVM API: Added VMParserContext::preprocessorComments() which allows
521          to retrieve all code blocks filtered out by the preprocessor.
522        - Added built-in script function "fork()".
523        - Added built-in array variable %NKSP_CALLBACK_CHILD_ID[].
524        - Added built-in variable $NKSP_CALLBACK_PARENT_ID.
525        - Fixed potential crash when accessing dynamic built-in array variables.
526        - Added built-in script function "callback_status()".
527        - Added built-in constant $CALLBACK_STATUS_TERMINATED.
528        - Added built-in constant $CALLBACK_STATUS_QUEUE.
529        - Added built-in constant $CALLBACK_STATUS_RUNNING.
530        - Removed max. value limitation of built-in functions "change_attack()",
531          "change_decay()" and "change_release()" to i.e. allow passing 2000000
532          for doubling the respective time.
533        - NKSP script editor syntax highlighting API: Fixed app termination due
534          to a lexer start condition stack underrun.
535        - NKSP preprocessor: Fixed wrong behavior on nested USE_CODE_IF() and
536          USE_CODE_IF_NOT() preprocessor statements.
537        - NKSP: Added built-in preprocessor condition NKSP_NO_MESSAGE, which
538          can be set to disable all subsequent built-in "message()" function calls
539          on preprocessor level.
540        - Implemented built-in script function "change_sustain()".
541        - NKSP script editor syntax highlighting API: catch all fatal lexer errors,
542          to avoid the editor app to crash on ill-formed text input.
543        - Added built-in script function "change_pan_time()".
544        - Added built-in script function "change_pan_curve()".
545        - Added built-in script function "change_cutoff_attack()".
546        - Added built-in script function "change_cutoff_decay()".
547        - Added built-in script function "change_cutoff_sustain()".
548        - Added built-in script function "change_cutoff_release()".
549        - Added built-in script function "change_cutoff_lfo_depth()".
550        - Added built-in script function "change_cutoff_lfo_freq()".
551    
552      * Instruments DB:
553        - Fixed memory access bug of general DB access code which lead to
554          undefined behavior.
555        - Cleanup of instruments DB file creation and opening code.
556        - The instrument DB path of linuxsampler's --create-instruments-db argument
557          is now optional, if it is missing, then a default location is used.
558        - Added support for scanning SFZ (.sfz) files.
559        - Added support for scanning Sound Font (.sf2) files.
560        - Fixed undefined DB transaction behavior.
561    
562    Version 2.0.0 (15 July 2015)
563    
564    * packaging changes:    * packaging changes:
565      - fixed building with newer MinGW-w64      - fixed building with newer MinGW-w64
# Line 24  Version CVS HEAD (?) Line 585  Version CVS HEAD (?)
585        LDFLAGS="-Wl,--no-undefined" (#190)        LDFLAGS="-Wl,--no-undefined" (#190)
586      - fixed compilation with Clang 3.2      - fixed compilation with Clang 3.2
587      - removed usage of deprecated Automake variable INCLUDES      - removed usage of deprecated Automake variable INCLUDES
588        - fixed building with C++11
589        - build fix: ChangeFlagRelaxed.h was missing in makefile
590        - build fix: libsndfile compiler flags were missing in some
591          makefiles
592        - fix for building with bison 3.0 (#202)
593        - Mac OS X: added temporary hack allowing to spawn gigedit as callback
594          on the process's main thread
595        - fixed build error on newer MinGW
596        - support building with older jack versions
597        - support building with spaces in vst sdk path
598        - enabled automake 'subdir-objects' option and moved external
599          source references (vst, au, asio) from makefiles to cpp files,
600          in order to get rid of warnings from automake 1.14
601    
602    * general changes:    * general changes:
603      - Refactoring: moved the independent code from      - Refactoring: moved the independent code from
# Line 73  Version CVS HEAD (?) Line 647  Version CVS HEAD (?)
647        and broken for ppc64. (Seq_cst loads and stores are actually not        and broken for ppc64. (Seq_cst loads and stores are actually not
648        used in LS, so the bug wasn't noticable.)        used in LS, so the bug wasn't noticable.)
649      - lsatomic.h: added ARMv7 support      - lsatomic.h: added ARMv7 support
650        - Added support for multiple MIDI input ports per sampler channel (and
651          added various new C++ methods for this new feature / design change, old
652          C++ API methods for managing SamplerChannel's MIDI inputs are now marked
653          as deprecated but are still there and should provide full behavior
654          backward compatibility).
655        - AbstractEngine::GSChecksum(): don't allocate memory on the stack (was
656          unsafe and caused compilation error with clang 2.x).
657        - Bugfix: only process the latest MIDI program change event.
658        - Introducing the LSCP shell, which provides convenient control of the
659          sampler from the command line by providing LSCP aware features.
660        - VirtualMidiDevice: Added support for program change.
661        - VirtualMidiDevice: Added support for bank select (MSB & LSB).
662        - VirtualMidiDevice: Added support for pitch bend.
663        - Aftertouch: extended API to explicitly handle channel pressure and
664          polyphonic key pressure events (so far polyphonic pressure was not
665          supported at all, and channel pressure was rerouted as CC128 but not
666          used so far).
667        - Added initial support for real-time instrument scripts. The script VM
668          code is shared by all sampler engine implemementations, however only the
669          gig file format currently provides support for storing instrument scripts
670          (as LinuxSampler extension to the original GigaStudio 4 format).
671    
672    * Gigasampler format engine:    * Gigasampler format engine:
673      - implemented the "round robin keyboard" dimension      - implemented the "round robin keyboard" dimension
# Line 89  Version CVS HEAD (?) Line 684  Version CVS HEAD (?)
684      - Exclusive Groups: don't ever stop voices of the same note,      - Exclusive Groups: don't ever stop voices of the same note,
685        doesn't sound naturally with a drumkit        doesn't sound naturally with a drumkit
686      - fixed EG1 modulation when attack or release is zero      - fixed EG1 modulation when attack or release is zero
687        - Fixed support for 'aftertouch' attenuation controller.
688        - Fixed crash that happened with velocity split sounds under certain
689          conditions (see also previous commit on libgig).
690        - fixed behaviour of filter LFO
691    
692    * SFZ format engine:    * SFZ format engine:
693      - Initial implementation (not usable yet)      - Initial implementation (not usable yet)
# Line 248  Version CVS HEAD (?) Line 847  Version CVS HEAD (?)
847      - added FLAC support (#191)      - added FLAC support (#191)
848      - sfz parser bugfix: lines starting with whitespace were ignored      - sfz parser bugfix: lines starting with whitespace were ignored
849      - added amplitude opcode      - added amplitude opcode
850        - added support for "#include" instruction
851          (modified patch which was originally posted by Sergey on LS mailing list)
852        - bugfix: generation of velocity curves etc should not be done
853          after each "#include", only after the main file is parsed
854        - bugfix: line numbers in error messages were wrong after "#include"
855        - added support for float and 32 bit sample files
856    
857    * SoundFont format engine:    * SoundFont format engine:
858      - Initial implementation (not usable yet)      - Initial implementation (not usable yet)
# Line 295  Version CVS HEAD (?) Line 900  Version CVS HEAD (?)
900      - VST: implemented retrieval and switching of programs using the      - VST: implemented retrieval and switching of programs using the
901        sampler's internal MIDI instrument mapping system        sampler's internal MIDI instrument mapping system
902    
903      * Instrument editor interface:
904        - Changed instrument editor plugin interface, providing additional
905          informations like the EngineChannel for which the instrument editor was
906          spawned for. This allows the instrument editors to interact more actively
907          with the sampler.
908    
909    * MIDI driver:    * MIDI driver:
910      - ALSA MIDI driver supports now "NAME" device parameter, for overriding      - ALSA MIDI driver supports now "NAME" device parameter, for overriding
911        the ALSA sequencer client name        the ALSA sequencer client name
# Line 316  Version CVS HEAD (?) Line 927  Version CVS HEAD (?)
927      - Implemented missing handling of MIDI "running status".      - Implemented missing handling of MIDI "running status".
928      - CoreMIDI fix: a MIDIPacket can contain more than one event per packet.      - CoreMIDI fix: a MIDIPacket can contain more than one event per packet.
929      - MME bugfix: driver wasn't closed properly      - MME bugfix: driver wasn't closed properly
930        - CoreMIDI: automatically connect to all input sources by default (driver
931          parameter "AUTO_BIND").
932        - CoreMIDI: fixed auto bind feature to CoreMIDI ports that go online
933        - CoreMIDI: fixed minor memory leak
934    
935    * audio driver:    * audio driver:
936      - ASIO driver fixes for newer gcc versions (fix from PortAudio)      - ASIO driver fixes for newer gcc versions (fix from PortAudio)
# Line 324  Version CVS HEAD (?) Line 939  Version CVS HEAD (?)
939      - JACK audio: jack_port_get_buffer() was cached and called outside      - JACK audio: jack_port_get_buffer() was cached and called outside
940        RT context.        RT context.
941      - ASIO driver: removed compiler warnings      - ASIO driver: removed compiler warnings
942        - CoreAudio: fixed minor error handling bug
943        - ASIO driver: be more verbose when no ASIO card could be found (fixes #203)
944        - JACK audio: return the JACK server's current sample rate as default value
945          for audio device parameter "SAMPLERATE" (fixes #166).
946    
947    * LSCP server:    * LSCP server:
948      - added support for sending MIDI CC messages via LSCP command      - added support for sending MIDI CC messages via LSCP command
# Line 361  Version CVS HEAD (?) Line 980  Version CVS HEAD (?)
980      - added LSCP commands "SUBSCRIBE EFFECT_INSTANCE_COUNT",      - added LSCP commands "SUBSCRIBE EFFECT_INSTANCE_COUNT",
981        "SUBSCRIBE EFFECT_INSTANCE_INFO", "SUBSCRIBE SEND_EFFECT_CHAIN_COUNT",        "SUBSCRIBE EFFECT_INSTANCE_INFO", "SUBSCRIBE SEND_EFFECT_CHAIN_COUNT",
982        "SUBSCRIBE SEND_EFFECT_CHAIN_INFO"        "SUBSCRIBE SEND_EFFECT_CHAIN_INFO"
983        - provide comprehensive error messages on LSCP syntax errors
984          (suggesting expected next non-terminal symbols)
985        - Fixed client connection not being closed after network errors.
986    
987      * LSCP shell:
988        - Added support for auto correction of obvious and trivial syntax mistakes.
989        - Added support for auto completion by tab key.
990        - Show currently available auto completion while typing.
991        - Added support for browsing command history with up / down keys.
992        - Show all possible next symbols immediately right to the current command
993          line while typing (no double tab required for this feature, as it would
994          be the case in other shells).
995        - Added support for moving cursor left/right with arrow keys.
996        - Added support for built-in LSCP reference documentation, which will
997          automatically show the relevant LSCP reference section on screen as soon
998          as one specific LSCP command was detected while typing on the command
999          line.
1000    
1001      * Real-time instrument scripts:
1002        - Implemented built-in script array variable %CC.
1003        - Implemented built-in script int variable $CC_NUM.
1004        - Implemented built-in script int variable $EVENT_NOTE.
1005        - Implemented built-in script int variable $EVENT_VELOCITY.
1006        - Implemented built-in script constant variable $VCC_MONO_AT.
1007        - Implemented built-in script constant variable $VCC_PITCH_BEND.
1008        - Implemented execution of script event handler "init".
1009        - Implemented execution of script event handler "controller".
1010        - Implemented execution of script event handler "note".
1011        - Implemented execution of script event handler "release".
1012        - Implemented built-in script function "play_note()" (only two of the
1013          max. four function arguments are currently implemented yet though).
1014        - Implemented built-in script int variable $EVENT_ID.
1015        - Implemented built-in script function "ignore_event()"
1016        - Implemented built-in script function "ignore_controller()" (may have one
1017          or no argument).
1018        - Implemented built-in script function "set_controller()".
1019        - Added extended script VM for the Gigasampler/GigaStudio format sampler
1020          engine, which extends the general instrument script VM with Giga format
1021          specific variables and functions.
1022        - Giga format scripts: added built-in script int constant variables
1023          $GIG_DIM_CHANNEL, $GIG_DIM_LAYER, $GIG_DIM_VELOCITY, $GIG_DIM_AFTERTOUCH,
1024          $GIG_DIM_RELEASE, $GIG_DIM_KEYBOARD, $GIG_DIM_ROUNDROBIN, $GIG_DIM_RANDOM,
1025          $GIG_DIM_SMARTMIDI, $GIG_DIM_ROUNDROBINKEY, $GIG_DIM_MODWHEEL,
1026          $GIG_DIM_BREATH, $GIG_DIM_FOOT, $GIG_DIM_PORTAMENTOTIME, $GIG_DIM_EFFECT1,
1027          $GIG_DIM_EFFECT2, $GIG_DIM_GENPURPOSE1, $GIG_DIM_GENPURPOSE2,
1028          $GIG_DIM_GENPURPOSE3, $GIG_DIM_GENPURPOSE4, $GIG_DIM_SUSTAIN,
1029          $GIG_DIM_PORTAMENTO, $GIG_DIM_SOSTENUTO, $GIG_DIM_SOFT,
1030          $GIG_DIM_GENPURPOSE5, $GIG_DIM_GENPURPOSE6, $GIG_DIM_GENPURPOSE7,
1031          $GIG_DIM_GENPURPOSE8, $GIG_DIM_EFFECT1DEPTH, $GIG_DIM_EFFECT2DEPTH,
1032          $GIG_DIM_EFFECT3DEPTH, $GIG_DIM_EFFECT4DEPTH, $GIG_DIM_EFFECT5DEPTH.
1033        - Giga format scripts: Implemented built-in script function
1034          "gig_set_dim_zone(event_id, dimension, zone)".
1035        - Implemented built-in script int array variable %KEY_DOWN.
1036        - Implemented built-in script function "abs()".
1037        - Implemented built-in script function "random()".
1038        - Implemented built-in script function "num_elements()".
1039        - Implemented built-in script function "note_off()".
1040        - Implemented built-in script function "set_event_mark()".
1041        - Implemented built-in script function "delete_event_mark()".
1042        - Implemented built-in script function "by_marks()".
1043        - Added built-in script int const variables $MARK_1 to $MARK_28.
1044        - Built-in script functions "ignore_event()", "note_off()" and
1045          "gig_set_dim_zone()" now also accept an array of event IDs as argument
1046          (i.e. return value of new script function "by_marks()").
1047        - Pass/preserve polyphonic variable data from respective "note" event
1048          handler to "release" event handler.
1049        - Fixed crash when using built-in script function "by_marks()".
1050    
1051    * Bug fixes:    * Bug fixes:
1052      - Fixed crash which may occur when MIDI key + transpose is out of range      - Fixed crash which may occur when MIDI key + transpose is out of range
# Line 406  Version CVS HEAD (?) Line 1092  Version CVS HEAD (?)
1092        (labelled "Disk stream not available in time")        (labelled "Disk stream not available in time")
1093      - Update effects on sample rate & period size changes (to avoid      - Update effects on sample rate & period size changes (to avoid
1094        crashes and noise on such transitions).        crashes and noise on such transitions).
1095        - ignore missing LADSPA paths without ignoring valid LADSPA paths
1096          (fixes #208)
1097        - Fixed bug in LSCP grammar definition which caused a statement like
1098          "GET SERVER INFOasdf\n" to be accepted as valid statement (was so far
1099          practically irrelevant, however it caused problems with the new LSCP
1100          shell's auto completion feature).
1101        - Fixed MIDI program change messages being ignored if quickly executed
1102          after each other (fixes #231).
1103    
1104  Version 1.0.0 (31 July 2009)  Version 1.0.0 (31 July 2009)
1105    
# Line 470  Version 1.0.0 (31 July 2009) Line 1164  Version 1.0.0 (31 July 2009)
1164      - Windows: add the installation directory to the DLL search path      - Windows: add the installation directory to the DLL search path
1165        when loading an editor plugin (solves problems with VST and        when loading an editor plugin (solves problems with VST and
1166        gigedit on systems with other GTK versions installed)        gigedit on systems with other GTK versions installed)
1167        - updated linuxsampler man page
1168    
1169    * audio driver:    * audio driver:
1170      - removed the nonsense audio channel constraint (which was hard coded to      - removed the nonsense audio channel constraint (which was hard coded to

Legend:
Removed from v.2452  
changed lines
  Added in v.3646

  ViewVC Help
Powered by ViewVC