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

Diff of /linuxsampler/trunk/ChangeLog

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

revision 2673 by persson, Sat Sep 6 18:56:02 2014 UTC revision 3303 by schoenebeck, Mon Jul 10 17:45:30 2017 UTC
# Line 1  Line 1 
1  Version CVS HEAD (?)  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        - Got rid of resembling an ancient GSt misbehavior which did not pitch at
16          all if an up-pitch of more than 40 semi tones was requested (I don't
17          think there is any stock gig sound that requires this behavior to
18          resemble its original sound).
19    
20      * general changes:
21        - fixed printf type errors (mostly in debug messages)
22        - use unique_ptr instead of auto_ptr when building with C++11
23        - Added RTAVLTree class which is a real-time safe ordered multi-map, thus
24          allowing to sort data efficiently in real-time safe manner.
25        - RTList class: added methods for moving/inserting elements to arbitrary
26          position within a list.
27        - RTList class: added method fromPtr() for creating an Iterator object from
28          a raw element pointer.
29        - Attempt to partly fix resetting engine channels vs. resetting engine, an
30          overall cleanup of the Reset*(), ConnectAudioDevice(),
31          DisconnectAudioDevice() API methods would still be desirable though,
32          because the current situation is still inconsistent and error prone.
33        - Active voices are now internally grouped to "Note" objects, instead of
34          being directly assigned to a keyboard key. This allows more fine graded
35          processing of voices, which is i.e. required for certain instrument
36          script features.
37        - Fix: Release trigger voices were not spawned on sustain pedal up
38          (CC #64) events.
39        - Fix: Release trigger voices can now also distinguish correctly between
40          note-off and sustain pedal up events.
41        - All engines: Increased ramp speed of volume smoother and pan smoother
42          (while slow rate of crossfade smoother is preserved) to allow quick
43          volume and pan changes by instrument scripts for instance.
44        - gig/sf2/sfz: Fixed aftertouch channel pressure events being processed
45          properly and thus were ignored for certain uses.
46        - Added new C++ API method
47          VirtualMidiDevice::SendChannelPressureToSampler().
48        - windows, 32-bit: fixed potential crashes by making sure the stack in
49          sub threads is 16-byte aligned
50        - fixed numerous compiler warnings
51        - Fixed invalid (note-on) event ID being assigned to new Note objects.
52        - Revised fundamental C++ classes "Thread", "Mutex" and "Condition" which
53          fixes potential undefined behavior.
54    
55      * packaging changes:
56        - removed unnecessary dependency to libuuid
57          (originated by libgig's usage of it)
58        - Automake: set environment variable GCC_COLORS=auto to allow GCC to
59          auto detect whether it (sh/c)ould output its messages in color.
60    
61      * Real-time instrument scripts:
62        - Implemented scheduler for delayed MIDI events and for suspended scripts.
63        - Built-in script function "wait()": implemented support for function's
64          "duration-us" argument, thus scripts using this function are now
65          correctly resumed after the requested amount of microseconds.
66        - Built-in script function "play_note()": implemented support for
67          function's "duration-us" argument, thus notes triggered with this
68          argument are now correctly released after the requested amount of
69          microseconds.
70        - Fix: script events were not cleared when engine channel was reset,
71          potentially causing undefined behavior.
72        - Fixed crash which happened when trying to reference an undeclared
73          variable.
74        - Built-in script function "play_note()": Added support for passing
75          special value -1 for "duration-us" argument, which will cause the
76          triggered note to be released once the original note was released.
77        - Instrument script classes now exported with the liblinuxsampler C++ API.
78        - Added new API method ScriptVM::syntaxHighlighting() which provides
79          a convenient syntax highlighting backend for external instrument
80          script editor applications.
81        - Added new C++ API class "ScriptVMFactory".
82        - Extended parser issues to provide not only first line and first
83          column, but also last line and last column of issue (thus marking
84          the precise span of the issue within the source code).
85        - Reload script automatically after being modified by an instrument
86          editor.
87        - NKSP language grammar correction: allow empty event handler bodies
88          like "on note end on".
89        - Implemented built-in script function "change_vol()".
90        - Implemented built-in script function "change_tune()".
91        - Implemented built-in script function "change_pan()".
92        - Implemented built-in script function "change_cutoff()".
93        - Implemented built-in script function "change_reso()".
94        - Implemented built-in script function "event_status()".
95        - Added built-in script constants "$EVENT_STATUS_INACTIVE" and
96          "$EVENT_STATUS_NOTE_QUEUE" both for being used as flags for
97          "event_status()" function.
98        - NKSP language: Added support for bitwise operators ".or.", ".and."
99          and ".not.".
100        - NKSP language scanner: Fixed IDs matching to require at least one
101          character (i.e. when matching function names or variable names).
102        - NKSP language scanner: disabled unusued rules.
103        - Fixed behavior of play_note() and note_off() functions which must
104          be distinguished engine internally from "real" MIDI note on/off
105          events in order to avoid misbehaviors like hanging notes.
106        - Implemented built-in script variable "$KSP_TIMER".
107        - Implemented built-in script variable "$NKSP_REAL_TIMER".
108        - Implemented built-in script variable "$NKSP_PERF_TIMER".
109        - Implemented built-in script variable "$ENGINE_UPTIME".
110        - Implemented built-in script function "inc()".
111        - Implemented built-in script function "dec()".
112        - NKSP language fix: division expressions were evaluated too often.
113        - NKSP language fix: string concatenation operator was right
114          associative instead of left (to right).
115        - NKSP language correction: allow empty statements in entire language
116          (i.e. "if end if").
117        - Implemented built-in script function "stop_wait()".
118        - Implemented built-in script variable "$NI_CALLBACK_ID".
119        - Implemented built-in script variable "$NI_CALLBACK_TYPE".
120        - Implemented built-in script variable "$NKSP_IGNORE_WAIT".
121        - Added support for read-only built-in variables (respectively
122          handled by the script parser).
123        - Added built-in script constant "$NI_CB_TYPE_INIT".
124        - Added built-in script constant "$NI_CB_TYPE_NOTE".
125        - Added built-in script constant "$NI_CB_TYPE_RELEASE".
126        - Added built-in script constant "$NI_CB_TYPE_CONTROLLER".
127        - NKSP Language: Added support for user defined script functions.
128        - Implemented built-in script function "change_attack()".
129        - Implemented built-in script function "change_decay()".
130        - Implemented built-in script function "change_release()".
131        - Fixed all change_*() built-in script functions to apply their
132          synthesis parameter changes immediately in case the respective note
133          was triggered at the same time, instead of scheduling the parameter
134          change, especially because it would cause some parameter types's
135          changes either to be ramped (i.e. change_vol()) or other types even
136          to have not effect at all (i.e. change_attack()).
137        - Implemented built-in script function "sh_left()".
138        - Implemented built-in script function "sh_right()".
139        - Implemented built-in script function "min()".
140        - Implemented built-in script function "max()".
141        - NKSP Fix: "init" event handler was not always executed when a script
142          was loaded.
143        - NKSP built-in wait() script function: abort script execution if
144          a negative or zero wait time was passed as argument (since this is
145          a common indication of a bug either of the script or even of the
146          engine, which could lead to RT instability or even worse).
147        - ScriptVM: Implemented automatic suspension of RT safety
148          threatening scripts.
149        - Provide more user friendly error messages on syntax errors.
150        - Fixed NKSP parser warning "Not a statement" when assigning an
151          initializer list to an array variable.
152        - Implemented built-in script array variable "%ALL_EVENTS".
153        - Implemented built-in script function "in_range()".
154        - Implemented built-in script function "change_amp_lfo_depth()".
155        - Implemented built-in script function "change_amp_lfo_freq()".
156        - Implemented built-in script function "change_pitch_lfo_depth()".
157        - Implemented built-in script function "change_pitch_lfo_freq()".
158        - Implemented built-in script function "change_vol_time()".
159        - Implemented built-in script function "change_tune_time()".
160        - Implemented built-in script function "fade_in()".
161        - Implemented built-in script function "fade_out()".
162        - Fixed acceptance of wrong data type of parameters passed to built-in
163          script functions "change_vol()", "change_tune()", "change_pan()",
164          "change_cutoff()", "change_reso()", "change_attack()", "change_decay()",
165          "change_release()", "change_amp_lfo_depth()", "change_amp_lfo_freq()",
166          "change_pitch_lfo_depth()" and "change_pitch_lfo_freq()".
167        - Added built-in script function "get_event_par()" and implemented some
168          of its possible parameter selections.
169        - Added built-in script function "set_event_par()" and implemented some
170          of its possible parameter selections.
171        - Fixed a bunch of scheduler time related bugs.
172        - Fixed polyphonic variables not being reset to zero after usage.
173        - Built-in "ignore_event()" function: argument is now optional, like with
174          built-in function "ignore_controller()".
175        - Implemented built-in script function "change_velo()".
176        - Implemented built-in script function "change_note()".
177        - Adjusted behavior of "change_vol()" and "change_tune()" to a more
178          intuitive behavior if used in combination with "change_vol_time()" or
179          "change_tune_time()" respectively: now tuning/volume changes are only
180          assigned (without delay) immediately to a new note if the respective
181          timing function has not been called before, otherwise the volume/tuning
182          changes are automatically faded (before, only the event's time stamp was
183          relevant).
184         - Implemented built-in script function "array_equal()".
185         - Implemented built-in script function "search()".
186         - Implemented built-in script function "sort()".
187         - NKSP Fix: Never suspend "init" event handlers.
188         - Implemented built-in script function "same_region()" (currently only
189           available for gig format engine).
190         - Added built-in script constant "$NKSP_LINEAR".
191         - Added built-in script constant "$NKSP_EASE_IN_EASE_OUT".
192         - Implemented built-in script function "change_vol_curve()".
193         - Implemented built-in script function "change_tune_curve()".
194         - built-in "play_note()" function now supports a sample playback start
195           offset with argument 3, where special value -1 means to use the regular
196           sample offset as defined by the instrument file.
197         - Built-in array variable %KEY_DOWN[] is now a read-only variable.
198         - Built-in variable $EVENT_NOTE is now a read-only variable.
199         - Built-in variable $EVENT_VELOCITY is now a read-only variable.
200         - built-in "play_note()" function now accepts -2 for its fourth argument
201           (note duration) which means the life time of the note shall be sticked
202           to the requested note number of argument 1.
203         - Fix: built-in "play_note()" function now returns 0 as result value if
204           -1 was passed for its fourth argument (note duration) and the respective
205           parent note is already gone.
206        - Implemented built-in script function "change_play_pos()".
207        - NKSP language: Added support for user declared const array variables.
208        - NKSP language: Raise parser warning if array variable is accessed with
209          an index that exceeds the array's size.
210        - NKSP language fix: Unknown characters were not handled correctly.
211        - NKSP language: Added support for "synchronized .. end synchronized"
212          code blocks.
213        - Implemented built-in script function "abort()" which allows to abort
214          another script handler by passing its callback ID.
215        - Fixed potential memory access bug and potential undefined behavior of
216          "init" event handlers.
217        - Print a time stamp along to each call of built-in function "message()".
218        - ScriptVM API: Added VMParserContext::preprocessorComments() which allows
219          to retrieve all code blocks filtered out by the preprocessor.
220        - Added built-in script function "fork()".
221        - Added built-in array variable %NKSP_CALLBACK_CHILD_ID[].
222        - Added built-in variable $NKSP_CALLBACK_PARENT_ID.
223        - Fixed potential crash when accessing dynamic built-in array variables.
224        - Added built-in script function "callback_status()".
225        - Added built-in constant $CALLBACK_STATUS_TERMINATED.
226        - Added built-in constant $CALLBACK_STATUS_QUEUE.
227        - Added built-in constant $CALLBACK_STATUS_RUNNING.
228        - Removed max. value limitation of built-in functions "change_attack()",
229          "change_decay()" and "change_release()" to i.e. allow passing 2000000
230          for doubling the respective time.
231    
232      * Instruments DB:
233        - Fixed memory access bug of general DB access code which lead to
234          undefined behavior.
235        - Cleanup of instruments DB file creation and opening code.
236        - The instrument DB path of linuxsampler's --create-instruments-db argument
237          is now optional, if it is missing, then a default location is used.
238        - Added support for scanning SFZ (.sfz) files.
239        - Added support for scanning Sound Font (.sf2) files.
240        - Fixed undefined DB transaction behavior.
241    
242    Version 2.0.0 (15 July 2015)
243    
244    * packaging changes:    * packaging changes:
245      - fixed building with newer MinGW-w64      - fixed building with newer MinGW-w64
# Line 291  Version CVS HEAD (?) Line 532  Version CVS HEAD (?)
532      - bugfix: generation of velocity curves etc should not be done      - bugfix: generation of velocity curves etc should not be done
533        after each "#include", only after the main file is parsed        after each "#include", only after the main file is parsed
534      - bugfix: line numbers in error messages were wrong after "#include"      - bugfix: line numbers in error messages were wrong after "#include"
535        - added support for float and 32 bit sample files
536    
537    * SoundFont format engine:    * SoundFont format engine:
538      - Initial implementation (not usable yet)      - Initial implementation (not usable yet)
# Line 338  Version CVS HEAD (?) Line 580  Version CVS HEAD (?)
580      - VST: implemented retrieval and switching of programs using the      - VST: implemented retrieval and switching of programs using the
581        sampler's internal MIDI instrument mapping system        sampler's internal MIDI instrument mapping system
582    
583      * Instrument editor interface:
584        - Changed instrument editor plugin interface, providing additional
585          informations like the EngineChannel for which the instrument editor was
586          spawned for. This allows the instrument editors to interact more actively
587          with the sampler.
588    
589    * MIDI driver:    * MIDI driver:
590      - ALSA MIDI driver supports now "NAME" device parameter, for overriding      - ALSA MIDI driver supports now "NAME" device parameter, for overriding
591        the ALSA sequencer client name        the ALSA sequencer client name
# Line 361  Version CVS HEAD (?) Line 609  Version CVS HEAD (?)
609      - MME bugfix: driver wasn't closed properly      - MME bugfix: driver wasn't closed properly
610      - CoreMIDI: automatically connect to all input sources by default (driver      - CoreMIDI: automatically connect to all input sources by default (driver
611        parameter "AUTO_BIND").        parameter "AUTO_BIND").
612        - CoreMIDI: fixed auto bind feature to CoreMIDI ports that go online
613        - CoreMIDI: fixed minor memory leak
614    
615    * audio driver:    * audio driver:
616      - ASIO driver fixes for newer gcc versions (fix from PortAudio)      - ASIO driver fixes for newer gcc versions (fix from PortAudio)
# Line 412  Version CVS HEAD (?) Line 662  Version CVS HEAD (?)
662        "SUBSCRIBE SEND_EFFECT_CHAIN_INFO"        "SUBSCRIBE SEND_EFFECT_CHAIN_INFO"
663      - provide comprehensive error messages on LSCP syntax errors      - provide comprehensive error messages on LSCP syntax errors
664        (suggesting expected next non-terminal symbols)        (suggesting expected next non-terminal symbols)
665        - Fixed client connection not being closed after network errors.
666    
667    * LSCP shell:    * LSCP shell:
668      - Added support for auto correction of obvious and trivial syntax mistakes.      - Added support for auto correction of obvious and trivial syntax mistakes.
# Line 461  Version CVS HEAD (?) Line 712  Version CVS HEAD (?)
712        $GIG_DIM_EFFECT3DEPTH, $GIG_DIM_EFFECT4DEPTH, $GIG_DIM_EFFECT5DEPTH.        $GIG_DIM_EFFECT3DEPTH, $GIG_DIM_EFFECT4DEPTH, $GIG_DIM_EFFECT5DEPTH.
713      - Giga format scripts: Implemented built-in script function      - Giga format scripts: Implemented built-in script function
714        "gig_set_dim_zone(event_id, dimension, zone)".        "gig_set_dim_zone(event_id, dimension, zone)".
715      - Implemented built-in script int array variable $KEY_DOWN.      - Implemented built-in script int array variable %KEY_DOWN.
716      - Implemented built-in script function "abs()".      - Implemented built-in script function "abs()".
717      - Implemented built-in script function "random()".      - Implemented built-in script function "random()".
718      - Implemented built-in script function "num_elements()".      - Implemented built-in script function "num_elements()".
# Line 475  Version CVS HEAD (?) Line 726  Version CVS HEAD (?)
726        (i.e. return value of new script function "by_marks()").        (i.e. return value of new script function "by_marks()").
727      - Pass/preserve polyphonic variable data from respective "note" event      - Pass/preserve polyphonic variable data from respective "note" event
728        handler to "release" event handler.        handler to "release" event handler.
729        - Fixed crash when using built-in script function "by_marks()".
730    
731    * Bug fixes:    * Bug fixes:
732      - 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.2673  
changed lines
  Added in v.3303

  ViewVC Help
Powered by ViewVC