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

Diff of /linuxsampler/trunk/ChangeLog

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

revision 2719 by schoenebeck, Wed Feb 25 22:46:38 2015 UTC revision 3551 by schoenebeck, Thu Aug 1 10:22:56 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    
6      * Real-time instrument scripts:
7        - Added method ScriptVM::setExitResultEnabled() which allows to
8          explicitly enable the built-in exit() function to optionally accept
9          one function argument; the value of the passed exit() function
10          argument will then become available by calling
11          VMExecContext::exitResult() after script execution.
12    
13      * test cases:
14        - Fixed compiler errors in test cases.
15        - Updated README for how to compile & run test cases.
16        - Updated test case
17          MutexTest::testDoubleLockStillBlocksConcurrentThread() to latest
18          expected behaviour of the Mutex class implementation (recursive
19          mutex type).
20        - Added test cases for NKSP core language aspects and core built-in
21          functions.
22    
23    Version 2.1.1 (27 Jul 2019)
24    
25      * Real-time instrument scripts:
26        - Fixed behavior of built-in NKSP functions change_sustain(),
27          change_cutoff_attack(), change_cutoff_decay(), change_cutoff_sustain()
28          and change_cutoff_release().
29    
30      * general changes:
31        - Only play release trigger samples on sustain pedal up if this behaviour
32          was explicitly requested by the instrument (otherwise only on note-off).
33        - Fixed compiler warnings.
34        - Fixed compilation error when cross-compiling to Mac.
35        - FX Sends: Provide more useful error messages on routing problems
36          (see bug #169).
37        - LSCP doc: Be more clear describing the two distinct approaches
38          of using external vs. internal effects (see bug #169).
39        - "optional" class: Fixed comparison operators.
40    
41      * Gigasampler/GigaStudio format engine:
42        - Format extension: If requested by instrument then don't play release
43          trigger sample on note-off events.
44    
45      * SFZ format engine:
46        - Fixed memory leak when releasing samples
47          (fixes bug #307, patch by Jacek Roszkowski)
48        - Fixed potential crash when a sample is shared by more than one region
49          (fixes bug #308, patch by Jacek Roszkowski).
50        - Opcode 'sample': Added support for built-in sample '*silence'
51          (fixes bug #310, patch by Jacek Roszkowski).
52    
53    Version 2.1.0 (25 Nov 2017)
54    
55      * SFZ format engine:
56        - added support for <global>, <master> and #define (patch by Alby M)
57        - Removed code duplication in SFZ file loading code.
58        - Added support for sfz extension opcode 'script' which may be used to
59          load real-time instrument script file (NKSP script language).
60        - Implemented opcode set_ccN (initial patch by Giovanni Senatore).
61        - Fixed unintended volume fade-in of voices under certain conditions.
62        - sfz parser: allow missing space between header and opcode
63    
64      * Gigasampler/GigaStudio format engine:
65        - Fixed clicks and pumping noise with Lowpass Turbo filter on very low
66          cutoff settings.
67        - Got rid of resembling an ancient GSt misbehavior which did not pitch at
68          all if an up-pitch of more than 40 semi tones was requested (I don't
69          think there is any stock gig sound that requires this behavior to
70          resemble its original sound).
71        - Added support for controlling whether the individual EGADSR stages may
72          be aborted (as LinuxSampler extension to the original GigaStudio 4
73          format).
74    
75      * general changes:
76        - fixed printf type errors (mostly in debug messages)
77        - use unique_ptr instead of auto_ptr when building with C++11
78        - Added RTAVLTree class which is a real-time safe ordered multi-map, thus
79          allowing to sort data efficiently in real-time safe manner.
80        - RTList class: added methods for moving/inserting elements to arbitrary
81          position within a list.
82        - RTList class: added method fromPtr() for creating an Iterator object from
83          a raw element pointer.
84        - Attempt to partly fix resetting engine channels vs. resetting engine, an
85          overall cleanup of the Reset*(), ConnectAudioDevice(),
86          DisconnectAudioDevice() API methods would still be desirable though,
87          because the current situation is still inconsistent and error prone.
88        - Active voices are now internally grouped to "Note" objects, instead of
89          being directly assigned to a keyboard key. This allows more fine graded
90          processing of voices, which is i.e. required for certain instrument
91          script features.
92        - Fix: Release trigger voices were not spawned on sustain pedal up
93          (CC #64) events.
94        - Fix: Release trigger voices can now also distinguish correctly between
95          note-off and sustain pedal up events.
96        - All engines: Increased ramp speed of volume smoother and pan smoother
97          (while slow rate of crossfade smoother is preserved) to allow quick
98          volume and pan changes by instrument scripts for instance.
99        - gig/sf2/sfz: Fixed aftertouch channel pressure events being processed
100          properly and thus were ignored for certain uses.
101        - Added new C++ API method
102          VirtualMidiDevice::SendChannelPressureToSampler().
103        - windows, 32-bit: fixed potential crashes by making sure the stack in
104          sub threads is 16-byte aligned
105        - fixed numerous compiler warnings
106        - Fixed invalid (note-on) event ID being assigned to new Note objects.
107        - Revised fundamental C++ classes "Thread", "Mutex" and "Condition" which
108          fixes potential undefined behavior.
109        - Fixed Note object leak when triggering notes on keys which did not
110          have a valid sample mapped (fixes bug #252).
111        - Fixed compilation errors when compiling with CONFIG_DEVMODE enabled.
112        - linuxsampler binary fix: option --create-instruments-db ignored
113          subsequent optional argument due to glibc's implementation oddity
114          which expects a "=" sign, but no space between them.
115    
116      * packaging changes:
117        - removed unnecessary dependency to libuuid
118          (originated by libgig's usage of it)
119        - Automake: set environment variable GCC_COLORS=auto to allow GCC to
120          auto detect whether it (sh/c)ould output its messages in color.
121        - Debian: Fixed packaging error about invalid "Source-Version"
122          substitution variable.
123        - Debian: Raised Debian compatibility level to Debian 9 "Stretch".
124        - Debian: Added build dependency to libsqlite3-dev for building
125          linuxsampler with instruments DB support.
126    
127      * Real-time instrument scripts:
128        - Implemented scheduler for delayed MIDI events and for suspended scripts.
129        - Built-in script function "wait()": implemented support for function's
130          "duration-us" argument, thus scripts using this function are now
131          correctly resumed after the requested amount of microseconds.
132        - Built-in script function "play_note()": implemented support for
133          function's "duration-us" argument, thus notes triggered with this
134          argument are now correctly released after the requested amount of
135          microseconds.
136        - Fix: script events were not cleared when engine channel was reset,
137          potentially causing undefined behavior.
138        - Fixed crash which happened when trying to reference an undeclared
139          variable.
140        - Built-in script function "play_note()": Added support for passing
141          special value -1 for "duration-us" argument, which will cause the
142          triggered note to be released once the original note was released.
143        - Instrument script classes now exported with the liblinuxsampler C++ API.
144        - Added new API method ScriptVM::syntaxHighlighting() which provides
145          a convenient syntax highlighting backend for external instrument
146          script editor applications.
147        - Added new C++ API class "ScriptVMFactory".
148        - Extended parser issues to provide not only first line and first
149          column, but also last line and last column of issue (thus marking
150          the precise span of the issue within the source code).
151        - Reload script automatically after being modified by an instrument
152          editor.
153        - NKSP language grammar correction: allow empty event handler bodies
154          like "on note end on".
155        - Implemented built-in script function "change_vol()".
156        - Implemented built-in script function "change_tune()".
157        - Implemented built-in script function "change_pan()".
158        - Implemented built-in script function "change_cutoff()".
159        - Implemented built-in script function "change_reso()".
160        - Implemented built-in script function "event_status()".
161        - Added built-in script constants "$EVENT_STATUS_INACTIVE" and
162          "$EVENT_STATUS_NOTE_QUEUE" both for being used as flags for
163          "event_status()" function.
164        - NKSP language: Added support for bitwise operators ".or.", ".and."
165          and ".not.".
166        - NKSP language scanner: Fixed IDs matching to require at least one
167          character (i.e. when matching function names or variable names).
168        - NKSP language scanner: disabled unusued rules.
169        - Fixed behavior of play_note() and note_off() functions which must
170          be distinguished engine internally from "real" MIDI note on/off
171          events in order to avoid misbehaviors like hanging notes.
172        - Implemented built-in script variable "$KSP_TIMER".
173        - Implemented built-in script variable "$NKSP_REAL_TIMER".
174        - Implemented built-in script variable "$NKSP_PERF_TIMER".
175        - Implemented built-in script variable "$ENGINE_UPTIME".
176        - Implemented built-in script function "inc()".
177        - Implemented built-in script function "dec()".
178        - NKSP language fix: division expressions were evaluated too often.
179        - NKSP language fix: string concatenation operator was right
180          associative instead of left (to right).
181        - NKSP language correction: allow empty statements in entire language
182          (i.e. "if end if").
183        - Implemented built-in script function "stop_wait()".
184        - Implemented built-in script variable "$NI_CALLBACK_ID".
185        - Implemented built-in script variable "$NI_CALLBACK_TYPE".
186        - Implemented built-in script variable "$NKSP_IGNORE_WAIT".
187        - Added support for read-only built-in variables (respectively
188          handled by the script parser).
189        - Added built-in script constant "$NI_CB_TYPE_INIT".
190        - Added built-in script constant "$NI_CB_TYPE_NOTE".
191        - Added built-in script constant "$NI_CB_TYPE_RELEASE".
192        - Added built-in script constant "$NI_CB_TYPE_CONTROLLER".
193        - NKSP Language: Added support for user defined script functions.
194        - Implemented built-in script function "change_attack()".
195        - Implemented built-in script function "change_decay()".
196        - Implemented built-in script function "change_release()".
197        - Fixed all change_*() built-in script functions to apply their
198          synthesis parameter changes immediately in case the respective note
199          was triggered at the same time, instead of scheduling the parameter
200          change, especially because it would cause some parameter types's
201          changes either to be ramped (i.e. change_vol()) or other types even
202          to have not effect at all (i.e. change_attack()).
203        - Implemented built-in script function "sh_left()".
204        - Implemented built-in script function "sh_right()".
205        - Implemented built-in script function "min()".
206        - Implemented built-in script function "max()".
207        - NKSP Fix: "init" event handler was not always executed when a script
208          was loaded.
209        - NKSP built-in wait() script function: abort script execution if
210          a negative or zero wait time was passed as argument (since this is
211          a common indication of a bug either of the script or even of the
212          engine, which could lead to RT instability or even worse).
213        - ScriptVM: Implemented automatic suspension of RT safety
214          threatening scripts.
215        - Provide more user friendly error messages on syntax errors.
216        - Fixed NKSP parser warning "Not a statement" when assigning an
217          initializer list to an array variable.
218        - Implemented built-in script array variable "%ALL_EVENTS".
219        - Implemented built-in script function "in_range()".
220        - Implemented built-in script function "change_amp_lfo_depth()".
221        - Implemented built-in script function "change_amp_lfo_freq()".
222        - Implemented built-in script function "change_pitch_lfo_depth()".
223        - Implemented built-in script function "change_pitch_lfo_freq()".
224        - Implemented built-in script function "change_vol_time()".
225        - Implemented built-in script function "change_tune_time()".
226        - Implemented built-in script function "fade_in()".
227        - Implemented built-in script function "fade_out()".
228        - Fixed acceptance of wrong data type of parameters passed to built-in
229          script functions "change_vol()", "change_tune()", "change_pan()",
230          "change_cutoff()", "change_reso()", "change_attack()", "change_decay()",
231          "change_release()", "change_amp_lfo_depth()", "change_amp_lfo_freq()",
232          "change_pitch_lfo_depth()" and "change_pitch_lfo_freq()".
233        - Added built-in script function "get_event_par()" and implemented some
234          of its possible parameter selections.
235        - Added built-in script function "set_event_par()" and implemented some
236          of its possible parameter selections.
237        - Fixed a bunch of scheduler time related bugs.
238        - Fixed polyphonic variables not being reset to zero after usage.
239        - Built-in "ignore_event()" function: argument is now optional, like with
240          built-in function "ignore_controller()".
241        - Implemented built-in script function "change_velo()".
242        - Implemented built-in script function "change_note()".
243        - Adjusted behavior of "change_vol()" and "change_tune()" to a more
244          intuitive behavior if used in combination with "change_vol_time()" or
245          "change_tune_time()" respectively: now tuning/volume changes are only
246          assigned (without delay) immediately to a new note if the respective
247          timing function has not been called before, otherwise the volume/tuning
248          changes are automatically faded (before, only the event's time stamp was
249          relevant).
250         - Implemented built-in script function "array_equal()".
251         - Implemented built-in script function "search()".
252         - Implemented built-in script function "sort()".
253         - NKSP Fix: Never suspend "init" event handlers.
254         - Implemented built-in script function "same_region()" (currently only
255           available for gig format engine).
256         - Added built-in script constant "$NKSP_LINEAR".
257         - Added built-in script constant "$NKSP_EASE_IN_EASE_OUT".
258         - Implemented built-in script function "change_vol_curve()".
259         - Implemented built-in script function "change_tune_curve()".
260         - built-in "play_note()" function now supports a sample playback start
261           offset with argument 3, where special value -1 means to use the regular
262           sample offset as defined by the instrument file.
263         - Built-in array variable %KEY_DOWN[] is now a read-only variable.
264         - Built-in variable $EVENT_NOTE is now a read-only variable.
265         - Built-in variable $EVENT_VELOCITY is now a read-only variable.
266         - built-in "play_note()" function now accepts -2 for its fourth argument
267           (note duration) which means the life time of the note shall be sticked
268           to the requested note number of argument 1.
269         - Fix: built-in "play_note()" function now returns 0 as result value if
270           -1 was passed for its fourth argument (note duration) and the respective
271           parent note is already gone.
272        - Implemented built-in script function "change_play_pos()".
273        - NKSP language: Added support for user declared const array variables.
274        - NKSP language: Raise parser warning if array variable is accessed with
275          an index that exceeds the array's size.
276        - NKSP language fix: Unknown characters were not handled correctly.
277        - NKSP language: Added support for "synchronized .. end synchronized"
278          code blocks.
279        - Implemented built-in script function "abort()" which allows to abort
280          another script handler by passing its callback ID.
281        - Fixed potential memory access bug and potential undefined behavior of
282          "init" event handlers.
283        - Print a time stamp along to each call of built-in function "message()".
284        - ScriptVM API: Added VMParserContext::preprocessorComments() which allows
285          to retrieve all code blocks filtered out by the preprocessor.
286        - Added built-in script function "fork()".
287        - Added built-in array variable %NKSP_CALLBACK_CHILD_ID[].
288        - Added built-in variable $NKSP_CALLBACK_PARENT_ID.
289        - Fixed potential crash when accessing dynamic built-in array variables.
290        - Added built-in script function "callback_status()".
291        - Added built-in constant $CALLBACK_STATUS_TERMINATED.
292        - Added built-in constant $CALLBACK_STATUS_QUEUE.
293        - Added built-in constant $CALLBACK_STATUS_RUNNING.
294        - Removed max. value limitation of built-in functions "change_attack()",
295          "change_decay()" and "change_release()" to i.e. allow passing 2000000
296          for doubling the respective time.
297        - NKSP script editor syntax highlighting API: Fixed app termination due
298          to a lexer start condition stack underrun.
299        - NKSP preprocessor: Fixed wrong behavior on nested USE_CODE_IF() and
300          USE_CODE_IF_NOT() preprocessor statements.
301        - NKSP: Added built-in preprocessor condition NKSP_NO_MESSAGE, which
302          can be set to disable all subsequent built-in "message()" function calls
303          on preprocessor level.
304        - Implemented built-in script function "change_sustain()".
305        - NKSP script editor syntax highlighting API: catch all fatal lexer errors,
306          to avoid the editor app to crash on ill-formed text input.
307        - Added built-in script function "change_pan_time()".
308        - Added built-in script function "change_pan_curve()".
309        - Added built-in script function "change_cutoff_attack()".
310        - Added built-in script function "change_cutoff_decay()".
311        - Added built-in script function "change_cutoff_sustain()".
312        - Added built-in script function "change_cutoff_release()".
313        - Added built-in script function "change_cutoff_lfo_depth()".
314        - Added built-in script function "change_cutoff_lfo_freq()".
315    
316      * Instruments DB:
317        - Fixed memory access bug of general DB access code which lead to
318          undefined behavior.
319        - Cleanup of instruments DB file creation and opening code.
320        - The instrument DB path of linuxsampler's --create-instruments-db argument
321          is now optional, if it is missing, then a default location is used.
322        - Added support for scanning SFZ (.sfz) files.
323        - Added support for scanning Sound Font (.sf2) files.
324        - Fixed undefined DB transaction behavior.
325    
326    Version 2.0.0 (15 July 2015)
327    
328    * packaging changes:    * packaging changes:
329      - fixed building with newer MinGW-w64      - fixed building with newer MinGW-w64
# Line 421  Version CVS HEAD (?) Line 746  Version CVS HEAD (?)
746        "SUBSCRIBE SEND_EFFECT_CHAIN_INFO"        "SUBSCRIBE SEND_EFFECT_CHAIN_INFO"
747      - provide comprehensive error messages on LSCP syntax errors      - provide comprehensive error messages on LSCP syntax errors
748        (suggesting expected next non-terminal symbols)        (suggesting expected next non-terminal symbols)
749        - Fixed client connection not being closed after network errors.
750    
751    * LSCP shell:    * LSCP shell:
752      - Added support for auto correction of obvious and trivial syntax mistakes.      - Added support for auto correction of obvious and trivial syntax mistakes.
# Line 470  Version CVS HEAD (?) Line 796  Version CVS HEAD (?)
796        $GIG_DIM_EFFECT3DEPTH, $GIG_DIM_EFFECT4DEPTH, $GIG_DIM_EFFECT5DEPTH.        $GIG_DIM_EFFECT3DEPTH, $GIG_DIM_EFFECT4DEPTH, $GIG_DIM_EFFECT5DEPTH.
797      - Giga format scripts: Implemented built-in script function      - Giga format scripts: Implemented built-in script function
798        "gig_set_dim_zone(event_id, dimension, zone)".        "gig_set_dim_zone(event_id, dimension, zone)".
799      - Implemented built-in script int array variable $KEY_DOWN.      - Implemented built-in script int array variable %KEY_DOWN.
800      - Implemented built-in script function "abs()".      - Implemented built-in script function "abs()".
801      - Implemented built-in script function "random()".      - Implemented built-in script function "random()".
802      - Implemented built-in script function "num_elements()".      - Implemented built-in script function "num_elements()".
# Line 484  Version CVS HEAD (?) Line 810  Version CVS HEAD (?)
810        (i.e. return value of new script function "by_marks()").        (i.e. return value of new script function "by_marks()").
811      - Pass/preserve polyphonic variable data from respective "note" event      - Pass/preserve polyphonic variable data from respective "note" event
812        handler to "release" event handler.        handler to "release" event handler.
813        - Fixed crash when using built-in script function "by_marks()".
814    
815    * Bug fixes:    * Bug fixes:
816      - 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

Legend:
Removed from v.2719  
changed lines
  Added in v.3551

  ViewVC Help
Powered by ViewVC