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

Diff of /linuxsampler/trunk/ChangeLog

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

revision 2840 by persson, Sun Aug 30 10:00:44 2015 UTC revision 3291 by persson, Sat Jun 24 12:56:44 2017 UTC
# Line 1  Line 1 
1  Version SVN trunk (?)  Version SVN trunk (?)
2    
3      * SFZ format engine:
4        - added support for <global>, <master> and #define (patch by Alby M)
5        - Removed code duplication in SFZ file loading code.
6        - Added support for sfz extension opcode 'script' which may be used to
7          load real-time instrument script file (NKSP script language).
8        - Implemented opcode set_ccN (initial patch by Giovanni Senatore).
9        - Fixed unintended volume fade-in of voices under certain conditions.
10        - sfz parser: allow missing space between header and opcode
11    
12      * Gigasampler/GigaStudio format engine:
13        - Fixed clicks and pumping noise with Lowpass Turbo filter on very low
14          cutoff settings.
15    
16    * general changes:    * general changes:
17      - fixed printf type errors (mostly in debug messages)      - fixed printf type errors (mostly in debug messages)
18      - use unique_ptr instead of auto_ptr when building with C++11      - use unique_ptr instead of auto_ptr when building with C++11
19        - Added RTAVLTree class which is a real-time safe ordered multi-map, thus
20          allowing to sort data efficiently in real-time safe manner.
21        - RTList class: added methods for moving/inserting elements to arbitrary
22          position within a list.
23        - RTList class: added method fromPtr() for creating an Iterator object from
24          a raw element pointer.
25        - Attempt to partly fix resetting engine channels vs. resetting engine, an
26          overall cleanup of the Reset*(), ConnectAudioDevice(),
27          DisconnectAudioDevice() API methods would still be desirable though,
28          because the current situation is still inconsistent and error prone.
29        - Active voices are now internally grouped to "Note" objects, instead of
30          being directly assigned to a keyboard key. This allows more fine graded
31          processing of voices, which is i.e. required for certain instrument
32          script features.
33        - Fix: Release trigger voices were not spawned on sustain pedal up
34          (CC #64) events.
35        - Fix: Release trigger voices can now also distinguish correctly between
36          note-off and sustain pedal up events.
37        - All engines: Increased ramp speed of volume smoother and pan smoother
38          (while slow rate of crossfade smoother is preserved) to allow quick
39          volume and pan changes by instrument scripts for instance.
40        - gig/sf2/sfz: Fixed aftertouch channel pressure events being processed
41          properly and thus were ignored for certain uses.
42        - Added new C++ API method
43          VirtualMidiDevice::SendChannelPressureToSampler().
44        - windows, 32-bit: fixed potential crashes by making sure the stack in
45          sub threads is 16-byte aligned
46        - fixed numerous compiler warnings
47        - Fixed invalid (note-on) event ID being assigned to new Note objects.
48        - Revised fundamental C++ classes "Thread", "Mutex" and "Condition" which
49          fixes potential undefined behavior.
50    
51      * packaging changes:
52        - removed unnecessary dependency to libuuid
53          (originated by libgig's usage of it)
54        - Automake: set environment variable GCC_COLORS=auto to allow GCC to
55          auto detect whether it (sh/c)ould output its messages in color.
56    
57      * Real-time instrument scripts:
58        - Implemented scheduler for delayed MIDI events and for suspended scripts.
59        - Built-in script function "wait()": implemented support for function's
60          "duration-us" argument, thus scripts using this function are now
61          correctly resumed after the requested amount of microseconds.
62        - Built-in script function "play_note()": implemented support for
63          function's "duration-us" argument, thus notes triggered with this
64          argument are now correctly released after the requested amount of
65          microseconds.
66        - Fix: script events were not cleared when engine channel was reset,
67          potentially causing undefined behavior.
68        - Fixed crash which happened when trying to reference an undeclared
69          variable.
70        - Built-in script function "play_note()": Added support for passing
71          special value -1 for "duration-us" argument, which will cause the
72          triggered note to be released once the original note was released.
73        - Instrument script classes now exported with the liblinuxsampler C++ API.
74        - Added new API method ScriptVM::syntaxHighlighting() which provides
75          a convenient syntax highlighting backend for external instrument
76          script editor applications.
77        - Added new C++ API class "ScriptVMFactory".
78        - Extended parser issues to provide not only first line and first
79          column, but also last line and last column of issue (thus marking
80          the precise span of the issue within the source code).
81        - Reload script automatically after being modified by an instrument
82          editor.
83        - NKSP language grammar correction: allow empty event handler bodies
84          like "on note end on".
85        - Implemented built-in script function "change_vol()".
86        - Implemented built-in script function "change_tune()".
87        - Implemented built-in script function "change_pan()".
88        - Implemented built-in script function "change_cutoff()".
89        - Implemented built-in script function "change_reso()".
90        - Implemented built-in script function "event_status()".
91        - Added built-in script constants "$EVENT_STATUS_INACTIVE" and
92          "$EVENT_STATUS_NOTE_QUEUE" both for being used as flags for
93          "event_status()" function.
94        - NKSP language: Added support for bitwise operators ".or.", ".and."
95          and ".not.".
96        - NKSP language scanner: Fixed IDs matching to require at least one
97          character (i.e. when matching function names or variable names).
98        - NKSP language scanner: disabled unusued rules.
99        - Fixed behavior of play_note() and note_off() functions which must
100          be distinguished engine internally from "real" MIDI note on/off
101          events in order to avoid misbehaviors like hanging notes.
102        - Implemented built-in script variable "$KSP_TIMER".
103        - Implemented built-in script variable "$NKSP_REAL_TIMER".
104        - Implemented built-in script variable "$NKSP_PERF_TIMER".
105        - Implemented built-in script variable "$ENGINE_UPTIME".
106        - Implemented built-in script function "inc()".
107        - Implemented built-in script function "dec()".
108        - NKSP language fix: division expressions were evaluated too often.
109        - NKSP language fix: string concatenation operator was right
110          associative instead of left (to right).
111        - NKSP language correction: allow empty statements in entire language
112          (i.e. "if end if").
113        - Implemented built-in script function "stop_wait()".
114        - Implemented built-in script variable "$NI_CALLBACK_ID".
115        - Implemented built-in script variable "$NI_CALLBACK_TYPE".
116        - Implemented built-in script variable "$NKSP_IGNORE_WAIT".
117        - Added support for read-only built-in variables (respectively
118          handled by the script parser).
119        - Added built-in script constant "$NI_CB_TYPE_INIT".
120        - Added built-in script constant "$NI_CB_TYPE_NOTE".
121        - Added built-in script constant "$NI_CB_TYPE_RELEASE".
122        - Added built-in script constant "$NI_CB_TYPE_CONTROLLER".
123        - NKSP Language: Added support for user defined script functions.
124        - Implemented built-in script function "change_attack()".
125        - Implemented built-in script function "change_decay()".
126        - Implemented built-in script function "change_release()".
127        - Fixed all change_*() built-in script functions to apply their
128          synthesis parameter changes immediately in case the respective note
129          was triggered at the same time, instead of scheduling the parameter
130          change, especially because it would cause some parameter types's
131          changes either to be ramped (i.e. change_vol()) or other types even
132          to have not effect at all (i.e. change_attack()).
133        - Implemented built-in script function "sh_left()".
134        - Implemented built-in script function "sh_right()".
135        - Implemented built-in script function "min()".
136        - Implemented built-in script function "max()".
137        - NKSP Fix: "init" event handler was not always executed when a script
138          was loaded.
139        - NKSP built-in wait() script function: abort script execution if
140          a negative or zero wait time was passed as argument (since this is
141          a common indication of a bug either of the script or even of the
142          engine, which could lead to RT instability or even worse).
143        - ScriptVM: Implemented automatic suspension of RT safety
144          threatening scripts.
145        - Provide more user friendly error messages on syntax errors.
146        - Fixed NKSP parser warning "Not a statement" when assigning an
147          initializer list to an array variable.
148        - Implemented built-in script array variable "%ALL_EVENTS".
149        - Implemented built-in script function "in_range()".
150        - Implemented built-in script function "change_amp_lfo_depth()".
151        - Implemented built-in script function "change_amp_lfo_freq()".
152        - Implemented built-in script function "change_pitch_lfo_depth()".
153        - Implemented built-in script function "change_pitch_lfo_freq()".
154        - Implemented built-in script function "change_vol_time()".
155        - Implemented built-in script function "change_tune_time()".
156        - Implemented built-in script function "fade_in()".
157        - Implemented built-in script function "fade_out()".
158        - Fixed acceptance of wrong data type of parameters passed to built-in
159          script functions "change_vol()", "change_tune()", "change_pan()",
160          "change_cutoff()", "change_reso()", "change_attack()", "change_decay()",
161          "change_release()", "change_amp_lfo_depth()", "change_amp_lfo_freq()",
162          "change_pitch_lfo_depth()" and "change_pitch_lfo_freq()".
163        - Added built-in script function "get_event_par()" and implemented some
164          of its possible parameter selections.
165        - Added built-in script function "set_event_par()" and implemented some
166          of its possible parameter selections.
167        - Fixed a bunch of scheduler time related bugs.
168        - Fixed polyphonic variables not being reset to zero after usage.
169        - Built-in "ignore_event()" function: argument is now optional, like with
170          built-in function "ignore_controller()".
171        - Implemented built-in script function "change_velo()".
172        - Implemented built-in script function "change_note()".
173        - Adjusted behavior of "change_vol()" and "change_tune()" to a more
174          intuitive behavior if used in combination with "change_vol_time()" or
175          "change_tune_time()" respectively: now tuning/volume changes are only
176          assigned (without delay) immediately to a new note if the respective
177          timing function has not been called before, otherwise the volume/tuning
178          changes are automatically faded (before, only the event's time stamp was
179          relevant).
180         - Implemented built-in script function "array_equal()".
181         - Implemented built-in script function "search()".
182         - Implemented built-in script function "sort()".
183         - NKSP Fix: Never suspend "init" event handlers.
184         - Implemented built-in script function "same_region()" (currently only
185           available for gig format engine).
186         - Added built-in script constant "$NKSP_LINEAR".
187         - Added built-in script constant "$NKSP_EASE_IN_EASE_OUT".
188         - Implemented built-in script function "change_vol_curve()".
189         - Implemented built-in script function "change_tune_curve()".
190         - built-in "play_note()" function now supports a sample playback start
191           offset with argument 3, where special value -1 means to use the regular
192           sample offset as defined by the instrument file.
193         - Built-in array variable %KEY_DOWN[] is now a read-only variable.
194         - Built-in variable $EVENT_NOTE is now a read-only variable.
195         - Built-in variable $EVENT_VELOCITY is now a read-only variable.
196         - built-in "play_note()" function now accepts -2 for its fourth argument
197           (note duration) which means the life time of the note shall be sticked
198           to the requested note number of argument 1.
199         - Fix: built-in "play_note()" function now returns 0 as result value if
200           -1 was passed for its fourth argument (note duration) and the respective
201           parent note is already gone.
202        - Implemented built-in script function "change_play_pos()".
203        - NKSP language: Added support for user declared const array variables.
204        - NKSP language: Raise parser warning if array variable is accessed with
205          an index that exceeds the array's size.
206        - NKSP language fix: Unknown characters were not handled correctly.
207        - NKSP language: Added support for "synchronized .. end synchronized"
208          code blocks.
209        - Implemented built-in script function "abort()" which allows to abort
210          another script handler by passing its callback ID.
211        - Fixed potential memory access bug and potential undefined behavior of
212          "init" event handlers.
213        - Print a time stamp along to each call of built-in function "message()".
214        - ScriptVM API: Added VMParserContext::preprocessorComments() which allows
215          to retrieve all code blocks filtered out by the preprocessor.
216    
217      * Instruments DB:
218        - Fixed memory access bug of general DB access code which lead to
219          undefined behavior.
220        - Cleanup of instruments DB file creation and opening code.
221        - The instrument DB path of linuxsampler's --create-instruments-db argument
222          is now optional, if it is missing, then a default location is used.
223        - Added support for scanning SFZ (.sfz) files.
224        - Added support for scanning Sound Font (.sf2) files.
225        - Fixed undefined DB transaction behavior.
226    
227  Version 2.0.0 (15 July 2015)  Version 2.0.0 (15 July 2015)
228    
# Line 427  Version 2.0.0 (15 July 2015) Line 647  Version 2.0.0 (15 July 2015)
647        "SUBSCRIBE SEND_EFFECT_CHAIN_INFO"        "SUBSCRIBE SEND_EFFECT_CHAIN_INFO"
648      - provide comprehensive error messages on LSCP syntax errors      - provide comprehensive error messages on LSCP syntax errors
649        (suggesting expected next non-terminal symbols)        (suggesting expected next non-terminal symbols)
650        - Fixed client connection not being closed after network errors.
651    
652    * LSCP shell:    * LSCP shell:
653      - Added support for auto correction of obvious and trivial syntax mistakes.      - Added support for auto correction of obvious and trivial syntax mistakes.
# Line 476  Version 2.0.0 (15 July 2015) Line 697  Version 2.0.0 (15 July 2015)
697        $GIG_DIM_EFFECT3DEPTH, $GIG_DIM_EFFECT4DEPTH, $GIG_DIM_EFFECT5DEPTH.        $GIG_DIM_EFFECT3DEPTH, $GIG_DIM_EFFECT4DEPTH, $GIG_DIM_EFFECT5DEPTH.
698      - Giga format scripts: Implemented built-in script function      - Giga format scripts: Implemented built-in script function
699        "gig_set_dim_zone(event_id, dimension, zone)".        "gig_set_dim_zone(event_id, dimension, zone)".
700      - Implemented built-in script int array variable $KEY_DOWN.      - Implemented built-in script int array variable %KEY_DOWN.
701      - Implemented built-in script function "abs()".      - Implemented built-in script function "abs()".
702      - Implemented built-in script function "random()".      - Implemented built-in script function "random()".
703      - Implemented built-in script function "num_elements()".      - Implemented built-in script function "num_elements()".
# Line 490  Version 2.0.0 (15 July 2015) Line 711  Version 2.0.0 (15 July 2015)
711        (i.e. return value of new script function "by_marks()").        (i.e. return value of new script function "by_marks()").
712      - Pass/preserve polyphonic variable data from respective "note" event      - Pass/preserve polyphonic variable data from respective "note" event
713        handler to "release" event handler.        handler to "release" event handler.
714        - Fixed crash when using built-in script function "by_marks()".
715    
716    * Bug fixes:    * Bug fixes:
717      - 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.2840  
changed lines
  Added in v.3291

  ViewVC Help
Powered by ViewVC