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

Diff of /linuxsampler/trunk/ChangeLog

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

revision 2596 by schoenebeck, Thu Jun 5 19:39:12 2014 UTC revision 3492 by schoenebeck, Thu Mar 7 12:34:44 2019 UTC
# Line 1  Line 1 
1  Version CVS HEAD (?)  Version SVN trunk (?)
2    
3      * Real-time instrument scripts:
4        - Fixed behavior of built-in NKSP functions change_sustain(),
5          change_cutoff_attack(), change_cutoff_decay(), change_cutoff_sustain()
6          and change_cutoff_release().
7    
8      * general changes:
9        - Only play release trigger samples on sustain pedal up if this behaviour
10          was explicitly requested by the instrument (otherwise only on note-off).
11        - Fixed compiler warnings.
12        - Fixed compilation error when cross-compiling to Mac.
13    
14      * Gigasampler/GigaStudio format engine:
15        - Format extension: If requested by instrument then don't play release
16          trigger sample on note-off events.
17    
18      * SFZ format engine:
19        - Fixed memory leak when releasing samples
20          (fixes bug #307, patch by Jacek Roszkowski)
21        - Fixed potential crash when a sample is shared by more than one region
22          (fixes bug #308, patch by Jacek Roszkowski).
23    
24    Version 2.1.0 (25 Nov 2017)
25    
26      * SFZ format engine:
27        - added support for <global>, <master> and #define (patch by Alby M)
28        - Removed code duplication in SFZ file loading code.
29        - Added support for sfz extension opcode 'script' which may be used to
30          load real-time instrument script file (NKSP script language).
31        - Implemented opcode set_ccN (initial patch by Giovanni Senatore).
32        - Fixed unintended volume fade-in of voices under certain conditions.
33        - sfz parser: allow missing space between header and opcode
34    
35      * Gigasampler/GigaStudio format engine:
36        - Fixed clicks and pumping noise with Lowpass Turbo filter on very low
37          cutoff settings.
38        - Got rid of resembling an ancient GSt misbehavior which did not pitch at
39          all if an up-pitch of more than 40 semi tones was requested (I don't
40          think there is any stock gig sound that requires this behavior to
41          resemble its original sound).
42        - Added support for controlling whether the individual EGADSR stages may
43          be aborted (as LinuxSampler extension to the original GigaStudio 4
44          format).
45    
46      * general changes:
47        - fixed printf type errors (mostly in debug messages)
48        - use unique_ptr instead of auto_ptr when building with C++11
49        - Added RTAVLTree class which is a real-time safe ordered multi-map, thus
50          allowing to sort data efficiently in real-time safe manner.
51        - RTList class: added methods for moving/inserting elements to arbitrary
52          position within a list.
53        - RTList class: added method fromPtr() for creating an Iterator object from
54          a raw element pointer.
55        - Attempt to partly fix resetting engine channels vs. resetting engine, an
56          overall cleanup of the Reset*(), ConnectAudioDevice(),
57          DisconnectAudioDevice() API methods would still be desirable though,
58          because the current situation is still inconsistent and error prone.
59        - Active voices are now internally grouped to "Note" objects, instead of
60          being directly assigned to a keyboard key. This allows more fine graded
61          processing of voices, which is i.e. required for certain instrument
62          script features.
63        - Fix: Release trigger voices were not spawned on sustain pedal up
64          (CC #64) events.
65        - Fix: Release trigger voices can now also distinguish correctly between
66          note-off and sustain pedal up events.
67        - All engines: Increased ramp speed of volume smoother and pan smoother
68          (while slow rate of crossfade smoother is preserved) to allow quick
69          volume and pan changes by instrument scripts for instance.
70        - gig/sf2/sfz: Fixed aftertouch channel pressure events being processed
71          properly and thus were ignored for certain uses.
72        - Added new C++ API method
73          VirtualMidiDevice::SendChannelPressureToSampler().
74        - windows, 32-bit: fixed potential crashes by making sure the stack in
75          sub threads is 16-byte aligned
76        - fixed numerous compiler warnings
77        - Fixed invalid (note-on) event ID being assigned to new Note objects.
78        - Revised fundamental C++ classes "Thread", "Mutex" and "Condition" which
79          fixes potential undefined behavior.
80        - Fixed Note object leak when triggering notes on keys which did not
81          have a valid sample mapped (fixes bug #252).
82        - Fixed compilation errors when compiling with CONFIG_DEVMODE enabled.
83        - linuxsampler binary fix: option --create-instruments-db ignored
84          subsequent optional argument due to glibc's implementation oddity
85          which expects a "=" sign, but no space between them.
86    
87      * packaging changes:
88        - removed unnecessary dependency to libuuid
89          (originated by libgig's usage of it)
90        - Automake: set environment variable GCC_COLORS=auto to allow GCC to
91          auto detect whether it (sh/c)ould output its messages in color.
92        - Debian: Fixed packaging error about invalid "Source-Version"
93          substitution variable.
94        - Debian: Raised Debian compatibility level to Debian 9 "Stretch".
95        - Debian: Added build dependency to libsqlite3-dev for building
96          linuxsampler with instruments DB support.
97    
98      * Real-time instrument scripts:
99        - Implemented scheduler for delayed MIDI events and for suspended scripts.
100        - Built-in script function "wait()": implemented support for function's
101          "duration-us" argument, thus scripts using this function are now
102          correctly resumed after the requested amount of microseconds.
103        - Built-in script function "play_note()": implemented support for
104          function's "duration-us" argument, thus notes triggered with this
105          argument are now correctly released after the requested amount of
106          microseconds.
107        - Fix: script events were not cleared when engine channel was reset,
108          potentially causing undefined behavior.
109        - Fixed crash which happened when trying to reference an undeclared
110          variable.
111        - Built-in script function "play_note()": Added support for passing
112          special value -1 for "duration-us" argument, which will cause the
113          triggered note to be released once the original note was released.
114        - Instrument script classes now exported with the liblinuxsampler C++ API.
115        - Added new API method ScriptVM::syntaxHighlighting() which provides
116          a convenient syntax highlighting backend for external instrument
117          script editor applications.
118        - Added new C++ API class "ScriptVMFactory".
119        - Extended parser issues to provide not only first line and first
120          column, but also last line and last column of issue (thus marking
121          the precise span of the issue within the source code).
122        - Reload script automatically after being modified by an instrument
123          editor.
124        - NKSP language grammar correction: allow empty event handler bodies
125          like "on note end on".
126        - Implemented built-in script function "change_vol()".
127        - Implemented built-in script function "change_tune()".
128        - Implemented built-in script function "change_pan()".
129        - Implemented built-in script function "change_cutoff()".
130        - Implemented built-in script function "change_reso()".
131        - Implemented built-in script function "event_status()".
132        - Added built-in script constants "$EVENT_STATUS_INACTIVE" and
133          "$EVENT_STATUS_NOTE_QUEUE" both for being used as flags for
134          "event_status()" function.
135        - NKSP language: Added support for bitwise operators ".or.", ".and."
136          and ".not.".
137        - NKSP language scanner: Fixed IDs matching to require at least one
138          character (i.e. when matching function names or variable names).
139        - NKSP language scanner: disabled unusued rules.
140        - Fixed behavior of play_note() and note_off() functions which must
141          be distinguished engine internally from "real" MIDI note on/off
142          events in order to avoid misbehaviors like hanging notes.
143        - Implemented built-in script variable "$KSP_TIMER".
144        - Implemented built-in script variable "$NKSP_REAL_TIMER".
145        - Implemented built-in script variable "$NKSP_PERF_TIMER".
146        - Implemented built-in script variable "$ENGINE_UPTIME".
147        - Implemented built-in script function "inc()".
148        - Implemented built-in script function "dec()".
149        - NKSP language fix: division expressions were evaluated too often.
150        - NKSP language fix: string concatenation operator was right
151          associative instead of left (to right).
152        - NKSP language correction: allow empty statements in entire language
153          (i.e. "if end if").
154        - Implemented built-in script function "stop_wait()".
155        - Implemented built-in script variable "$NI_CALLBACK_ID".
156        - Implemented built-in script variable "$NI_CALLBACK_TYPE".
157        - Implemented built-in script variable "$NKSP_IGNORE_WAIT".
158        - Added support for read-only built-in variables (respectively
159          handled by the script parser).
160        - Added built-in script constant "$NI_CB_TYPE_INIT".
161        - Added built-in script constant "$NI_CB_TYPE_NOTE".
162        - Added built-in script constant "$NI_CB_TYPE_RELEASE".
163        - Added built-in script constant "$NI_CB_TYPE_CONTROLLER".
164        - NKSP Language: Added support for user defined script functions.
165        - Implemented built-in script function "change_attack()".
166        - Implemented built-in script function "change_decay()".
167        - Implemented built-in script function "change_release()".
168        - Fixed all change_*() built-in script functions to apply their
169          synthesis parameter changes immediately in case the respective note
170          was triggered at the same time, instead of scheduling the parameter
171          change, especially because it would cause some parameter types's
172          changes either to be ramped (i.e. change_vol()) or other types even
173          to have not effect at all (i.e. change_attack()).
174        - Implemented built-in script function "sh_left()".
175        - Implemented built-in script function "sh_right()".
176        - Implemented built-in script function "min()".
177        - Implemented built-in script function "max()".
178        - NKSP Fix: "init" event handler was not always executed when a script
179          was loaded.
180        - NKSP built-in wait() script function: abort script execution if
181          a negative or zero wait time was passed as argument (since this is
182          a common indication of a bug either of the script or even of the
183          engine, which could lead to RT instability or even worse).
184        - ScriptVM: Implemented automatic suspension of RT safety
185          threatening scripts.
186        - Provide more user friendly error messages on syntax errors.
187        - Fixed NKSP parser warning "Not a statement" when assigning an
188          initializer list to an array variable.
189        - Implemented built-in script array variable "%ALL_EVENTS".
190        - Implemented built-in script function "in_range()".
191        - Implemented built-in script function "change_amp_lfo_depth()".
192        - Implemented built-in script function "change_amp_lfo_freq()".
193        - Implemented built-in script function "change_pitch_lfo_depth()".
194        - Implemented built-in script function "change_pitch_lfo_freq()".
195        - Implemented built-in script function "change_vol_time()".
196        - Implemented built-in script function "change_tune_time()".
197        - Implemented built-in script function "fade_in()".
198        - Implemented built-in script function "fade_out()".
199        - Fixed acceptance of wrong data type of parameters passed to built-in
200          script functions "change_vol()", "change_tune()", "change_pan()",
201          "change_cutoff()", "change_reso()", "change_attack()", "change_decay()",
202          "change_release()", "change_amp_lfo_depth()", "change_amp_lfo_freq()",
203          "change_pitch_lfo_depth()" and "change_pitch_lfo_freq()".
204        - Added built-in script function "get_event_par()" and implemented some
205          of its possible parameter selections.
206        - Added built-in script function "set_event_par()" and implemented some
207          of its possible parameter selections.
208        - Fixed a bunch of scheduler time related bugs.
209        - Fixed polyphonic variables not being reset to zero after usage.
210        - Built-in "ignore_event()" function: argument is now optional, like with
211          built-in function "ignore_controller()".
212        - Implemented built-in script function "change_velo()".
213        - Implemented built-in script function "change_note()".
214        - Adjusted behavior of "change_vol()" and "change_tune()" to a more
215          intuitive behavior if used in combination with "change_vol_time()" or
216          "change_tune_time()" respectively: now tuning/volume changes are only
217          assigned (without delay) immediately to a new note if the respective
218          timing function has not been called before, otherwise the volume/tuning
219          changes are automatically faded (before, only the event's time stamp was
220          relevant).
221         - Implemented built-in script function "array_equal()".
222         - Implemented built-in script function "search()".
223         - Implemented built-in script function "sort()".
224         - NKSP Fix: Never suspend "init" event handlers.
225         - Implemented built-in script function "same_region()" (currently only
226           available for gig format engine).
227         - Added built-in script constant "$NKSP_LINEAR".
228         - Added built-in script constant "$NKSP_EASE_IN_EASE_OUT".
229         - Implemented built-in script function "change_vol_curve()".
230         - Implemented built-in script function "change_tune_curve()".
231         - built-in "play_note()" function now supports a sample playback start
232           offset with argument 3, where special value -1 means to use the regular
233           sample offset as defined by the instrument file.
234         - Built-in array variable %KEY_DOWN[] is now a read-only variable.
235         - Built-in variable $EVENT_NOTE is now a read-only variable.
236         - Built-in variable $EVENT_VELOCITY is now a read-only variable.
237         - built-in "play_note()" function now accepts -2 for its fourth argument
238           (note duration) which means the life time of the note shall be sticked
239           to the requested note number of argument 1.
240         - Fix: built-in "play_note()" function now returns 0 as result value if
241           -1 was passed for its fourth argument (note duration) and the respective
242           parent note is already gone.
243        - Implemented built-in script function "change_play_pos()".
244        - NKSP language: Added support for user declared const array variables.
245        - NKSP language: Raise parser warning if array variable is accessed with
246          an index that exceeds the array's size.
247        - NKSP language fix: Unknown characters were not handled correctly.
248        - NKSP language: Added support for "synchronized .. end synchronized"
249          code blocks.
250        - Implemented built-in script function "abort()" which allows to abort
251          another script handler by passing its callback ID.
252        - Fixed potential memory access bug and potential undefined behavior of
253          "init" event handlers.
254        - Print a time stamp along to each call of built-in function "message()".
255        - ScriptVM API: Added VMParserContext::preprocessorComments() which allows
256          to retrieve all code blocks filtered out by the preprocessor.
257        - Added built-in script function "fork()".
258        - Added built-in array variable %NKSP_CALLBACK_CHILD_ID[].
259        - Added built-in variable $NKSP_CALLBACK_PARENT_ID.
260        - Fixed potential crash when accessing dynamic built-in array variables.
261        - Added built-in script function "callback_status()".
262        - Added built-in constant $CALLBACK_STATUS_TERMINATED.
263        - Added built-in constant $CALLBACK_STATUS_QUEUE.
264        - Added built-in constant $CALLBACK_STATUS_RUNNING.
265        - Removed max. value limitation of built-in functions "change_attack()",
266          "change_decay()" and "change_release()" to i.e. allow passing 2000000
267          for doubling the respective time.
268        - NKSP script editor syntax highlighting API: Fixed app termination due
269          to a lexer start condition stack underrun.
270        - NKSP preprocessor: Fixed wrong behavior on nested USE_CODE_IF() and
271          USE_CODE_IF_NOT() preprocessor statements.
272        - NKSP: Added built-in preprocessor condition NKSP_NO_MESSAGE, which
273          can be set to disable all subsequent built-in "message()" function calls
274          on preprocessor level.
275        - Implemented built-in script function "change_sustain()".
276        - NKSP script editor syntax highlighting API: catch all fatal lexer errors,
277          to avoid the editor app to crash on ill-formed text input.
278        - Added built-in script function "change_pan_time()".
279        - Added built-in script function "change_pan_curve()".
280        - Added built-in script function "change_cutoff_attack()".
281        - Added built-in script function "change_cutoff_decay()".
282        - Added built-in script function "change_cutoff_sustain()".
283        - Added built-in script function "change_cutoff_release()".
284        - Added built-in script function "change_cutoff_lfo_depth()".
285        - Added built-in script function "change_cutoff_lfo_freq()".
286    
287      * Instruments DB:
288        - Fixed memory access bug of general DB access code which lead to
289          undefined behavior.
290        - Cleanup of instruments DB file creation and opening code.
291        - The instrument DB path of linuxsampler's --create-instruments-db argument
292          is now optional, if it is missing, then a default location is used.
293        - Added support for scanning SFZ (.sfz) files.
294        - Added support for scanning Sound Font (.sf2) files.
295        - Fixed undefined DB transaction behavior.
296    
297    Version 2.0.0 (15 July 2015)
298    
299    * packaging changes:    * packaging changes:
300      - fixed building with newer MinGW-w64      - fixed building with newer MinGW-w64
# Line 126  Version CVS HEAD (?) Line 422  Version CVS HEAD (?)
422      - Fixed support for 'aftertouch' attenuation controller.      - Fixed support for 'aftertouch' attenuation controller.
423      - Fixed crash that happened with velocity split sounds under certain      - Fixed crash that happened with velocity split sounds under certain
424        conditions (see also previous commit on libgig).        conditions (see also previous commit on libgig).
425        - fixed behaviour of filter LFO
426    
427    * SFZ format engine:    * SFZ format engine:
428      - Initial implementation (not usable yet)      - Initial implementation (not usable yet)
# Line 290  Version CVS HEAD (?) Line 587  Version CVS HEAD (?)
587      - bugfix: generation of velocity curves etc should not be done      - bugfix: generation of velocity curves etc should not be done
588        after each "#include", only after the main file is parsed        after each "#include", only after the main file is parsed
589      - bugfix: line numbers in error messages were wrong after "#include"      - bugfix: line numbers in error messages were wrong after "#include"
590        - added support for float and 32 bit sample files
591    
592    * SoundFont format engine:    * SoundFont format engine:
593      - Initial implementation (not usable yet)      - Initial implementation (not usable yet)
# Line 337  Version CVS HEAD (?) Line 635  Version CVS HEAD (?)
635      - VST: implemented retrieval and switching of programs using the      - VST: implemented retrieval and switching of programs using the
636        sampler's internal MIDI instrument mapping system        sampler's internal MIDI instrument mapping system
637    
638      * Instrument editor interface:
639        - Changed instrument editor plugin interface, providing additional
640          informations like the EngineChannel for which the instrument editor was
641          spawned for. This allows the instrument editors to interact more actively
642          with the sampler.
643    
644    * MIDI driver:    * MIDI driver:
645      - ALSA MIDI driver supports now "NAME" device parameter, for overriding      - ALSA MIDI driver supports now "NAME" device parameter, for overriding
646        the ALSA sequencer client name        the ALSA sequencer client name
# Line 360  Version CVS HEAD (?) Line 664  Version CVS HEAD (?)
664      - MME bugfix: driver wasn't closed properly      - MME bugfix: driver wasn't closed properly
665      - CoreMIDI: automatically connect to all input sources by default (driver      - CoreMIDI: automatically connect to all input sources by default (driver
666        parameter "AUTO_BIND").        parameter "AUTO_BIND").
667        - CoreMIDI: fixed auto bind feature to CoreMIDI ports that go online
668        - CoreMIDI: fixed minor memory leak
669    
670    * audio driver:    * audio driver:
671      - ASIO driver fixes for newer gcc versions (fix from PortAudio)      - ASIO driver fixes for newer gcc versions (fix from PortAudio)
# Line 411  Version CVS HEAD (?) Line 717  Version CVS HEAD (?)
717        "SUBSCRIBE SEND_EFFECT_CHAIN_INFO"        "SUBSCRIBE SEND_EFFECT_CHAIN_INFO"
718      - provide comprehensive error messages on LSCP syntax errors      - provide comprehensive error messages on LSCP syntax errors
719        (suggesting expected next non-terminal symbols)        (suggesting expected next non-terminal symbols)
720        - Fixed client connection not being closed after network errors.
721    
722    * LSCP shell:    * LSCP shell:
723      - Added support for auto correction of obvious and trivial syntax mistakes.      - Added support for auto correction of obvious and trivial syntax mistakes.
# Line 439  Version CVS HEAD (?) Line 746  Version CVS HEAD (?)
746      - Implemented execution of script event handler "release".      - Implemented execution of script event handler "release".
747      - Implemented built-in script function "play_note()" (only two of the      - Implemented built-in script function "play_note()" (only two of the
748        max. four function arguments are currently implemented yet though).        max. four function arguments are currently implemented yet though).
749        - Implemented built-in script int variable $EVENT_ID.
750        - Implemented built-in script function "ignore_event()"
751        - Implemented built-in script function "ignore_controller()" (may have one
752          or no argument).
753        - Implemented built-in script function "set_controller()".
754        - Added extended script VM for the Gigasampler/GigaStudio format sampler
755          engine, which extends the general instrument script VM with Giga format
756          specific variables and functions.
757        - Giga format scripts: added built-in script int constant variables
758          $GIG_DIM_CHANNEL, $GIG_DIM_LAYER, $GIG_DIM_VELOCITY, $GIG_DIM_AFTERTOUCH,
759          $GIG_DIM_RELEASE, $GIG_DIM_KEYBOARD, $GIG_DIM_ROUNDROBIN, $GIG_DIM_RANDOM,
760          $GIG_DIM_SMARTMIDI, $GIG_DIM_ROUNDROBINKEY, $GIG_DIM_MODWHEEL,
761          $GIG_DIM_BREATH, $GIG_DIM_FOOT, $GIG_DIM_PORTAMENTOTIME, $GIG_DIM_EFFECT1,
762          $GIG_DIM_EFFECT2, $GIG_DIM_GENPURPOSE1, $GIG_DIM_GENPURPOSE2,
763          $GIG_DIM_GENPURPOSE3, $GIG_DIM_GENPURPOSE4, $GIG_DIM_SUSTAIN,
764          $GIG_DIM_PORTAMENTO, $GIG_DIM_SOSTENUTO, $GIG_DIM_SOFT,
765          $GIG_DIM_GENPURPOSE5, $GIG_DIM_GENPURPOSE6, $GIG_DIM_GENPURPOSE7,
766          $GIG_DIM_GENPURPOSE8, $GIG_DIM_EFFECT1DEPTH, $GIG_DIM_EFFECT2DEPTH,
767          $GIG_DIM_EFFECT3DEPTH, $GIG_DIM_EFFECT4DEPTH, $GIG_DIM_EFFECT5DEPTH.
768        - Giga format scripts: Implemented built-in script function
769          "gig_set_dim_zone(event_id, dimension, zone)".
770        - Implemented built-in script int array variable %KEY_DOWN.
771        - Implemented built-in script function "abs()".
772        - Implemented built-in script function "random()".
773        - Implemented built-in script function "num_elements()".
774        - Implemented built-in script function "note_off()".
775        - Implemented built-in script function "set_event_mark()".
776        - Implemented built-in script function "delete_event_mark()".
777        - Implemented built-in script function "by_marks()".
778        - Added built-in script int const variables $MARK_1 to $MARK_28.
779        - Built-in script functions "ignore_event()", "note_off()" and
780          "gig_set_dim_zone()" now also accept an array of event IDs as argument
781          (i.e. return value of new script function "by_marks()").
782        - Pass/preserve polyphonic variable data from respective "note" event
783          handler to "release" event handler.
784        - Fixed crash when using built-in script function "by_marks()".
785    
786    * Bug fixes:    * Bug fixes:
787      - 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 490  Version CVS HEAD (?) Line 833  Version CVS HEAD (?)
833        "GET SERVER INFOasdf\n" to be accepted as valid statement (was so far        "GET SERVER INFOasdf\n" to be accepted as valid statement (was so far
834        practically irrelevant, however it caused problems with the new LSCP        practically irrelevant, however it caused problems with the new LSCP
835        shell's auto completion feature).        shell's auto completion feature).
836        - Fixed MIDI program change messages being ignored if quickly executed
837          after each other (fixes #231).
838    
839  Version 1.0.0 (31 July 2009)  Version 1.0.0 (31 July 2009)
840    

Legend:
Removed from v.2596  
changed lines
  Added in v.3492

  ViewVC Help
Powered by ViewVC