/[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 3308 by schoenebeck, Sat Jul 15 01:14:20 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        - Fixed Note object leak when triggering notes on keys which did not
55          have a valid sample mapped (fixes bug #252).
56        - Fixed compilation errors when compiling with CONFIG_DEVMODE enabled.
57    
58      * packaging changes:
59        - removed unnecessary dependency to libuuid
60          (originated by libgig's usage of it)
61        - Automake: set environment variable GCC_COLORS=auto to allow GCC to
62          auto detect whether it (sh/c)ould output its messages in color.
63    
64      * Real-time instrument scripts:
65        - Implemented scheduler for delayed MIDI events and for suspended scripts.
66        - Built-in script function "wait()": implemented support for function's
67          "duration-us" argument, thus scripts using this function are now
68          correctly resumed after the requested amount of microseconds.
69        - Built-in script function "play_note()": implemented support for
70          function's "duration-us" argument, thus notes triggered with this
71          argument are now correctly released after the requested amount of
72          microseconds.
73        - Fix: script events were not cleared when engine channel was reset,
74          potentially causing undefined behavior.
75        - Fixed crash which happened when trying to reference an undeclared
76          variable.
77        - Built-in script function "play_note()": Added support for passing
78          special value -1 for "duration-us" argument, which will cause the
79          triggered note to be released once the original note was released.
80        - Instrument script classes now exported with the liblinuxsampler C++ API.
81        - Added new API method ScriptVM::syntaxHighlighting() which provides
82          a convenient syntax highlighting backend for external instrument
83          script editor applications.
84        - Added new C++ API class "ScriptVMFactory".
85        - Extended parser issues to provide not only first line and first
86          column, but also last line and last column of issue (thus marking
87          the precise span of the issue within the source code).
88        - Reload script automatically after being modified by an instrument
89          editor.
90        - NKSP language grammar correction: allow empty event handler bodies
91          like "on note end on".
92        - Implemented built-in script function "change_vol()".
93        - Implemented built-in script function "change_tune()".
94        - Implemented built-in script function "change_pan()".
95        - Implemented built-in script function "change_cutoff()".
96        - Implemented built-in script function "change_reso()".
97        - Implemented built-in script function "event_status()".
98        - Added built-in script constants "$EVENT_STATUS_INACTIVE" and
99          "$EVENT_STATUS_NOTE_QUEUE" both for being used as flags for
100          "event_status()" function.
101        - NKSP language: Added support for bitwise operators ".or.", ".and."
102          and ".not.".
103        - NKSP language scanner: Fixed IDs matching to require at least one
104          character (i.e. when matching function names or variable names).
105        - NKSP language scanner: disabled unusued rules.
106        - Fixed behavior of play_note() and note_off() functions which must
107          be distinguished engine internally from "real" MIDI note on/off
108          events in order to avoid misbehaviors like hanging notes.
109        - Implemented built-in script variable "$KSP_TIMER".
110        - Implemented built-in script variable "$NKSP_REAL_TIMER".
111        - Implemented built-in script variable "$NKSP_PERF_TIMER".
112        - Implemented built-in script variable "$ENGINE_UPTIME".
113        - Implemented built-in script function "inc()".
114        - Implemented built-in script function "dec()".
115        - NKSP language fix: division expressions were evaluated too often.
116        - NKSP language fix: string concatenation operator was right
117          associative instead of left (to right).
118        - NKSP language correction: allow empty statements in entire language
119          (i.e. "if end if").
120        - Implemented built-in script function "stop_wait()".
121        - Implemented built-in script variable "$NI_CALLBACK_ID".
122        - Implemented built-in script variable "$NI_CALLBACK_TYPE".
123        - Implemented built-in script variable "$NKSP_IGNORE_WAIT".
124        - Added support for read-only built-in variables (respectively
125          handled by the script parser).
126        - Added built-in script constant "$NI_CB_TYPE_INIT".
127        - Added built-in script constant "$NI_CB_TYPE_NOTE".
128        - Added built-in script constant "$NI_CB_TYPE_RELEASE".
129        - Added built-in script constant "$NI_CB_TYPE_CONTROLLER".
130        - NKSP Language: Added support for user defined script functions.
131        - Implemented built-in script function "change_attack()".
132        - Implemented built-in script function "change_decay()".
133        - Implemented built-in script function "change_release()".
134        - Fixed all change_*() built-in script functions to apply their
135          synthesis parameter changes immediately in case the respective note
136          was triggered at the same time, instead of scheduling the parameter
137          change, especially because it would cause some parameter types's
138          changes either to be ramped (i.e. change_vol()) or other types even
139          to have not effect at all (i.e. change_attack()).
140        - Implemented built-in script function "sh_left()".
141        - Implemented built-in script function "sh_right()".
142        - Implemented built-in script function "min()".
143        - Implemented built-in script function "max()".
144        - NKSP Fix: "init" event handler was not always executed when a script
145          was loaded.
146        - NKSP built-in wait() script function: abort script execution if
147          a negative or zero wait time was passed as argument (since this is
148          a common indication of a bug either of the script or even of the
149          engine, which could lead to RT instability or even worse).
150        - ScriptVM: Implemented automatic suspension of RT safety
151          threatening scripts.
152        - Provide more user friendly error messages on syntax errors.
153        - Fixed NKSP parser warning "Not a statement" when assigning an
154          initializer list to an array variable.
155        - Implemented built-in script array variable "%ALL_EVENTS".
156        - Implemented built-in script function "in_range()".
157        - Implemented built-in script function "change_amp_lfo_depth()".
158        - Implemented built-in script function "change_amp_lfo_freq()".
159        - Implemented built-in script function "change_pitch_lfo_depth()".
160        - Implemented built-in script function "change_pitch_lfo_freq()".
161        - Implemented built-in script function "change_vol_time()".
162        - Implemented built-in script function "change_tune_time()".
163        - Implemented built-in script function "fade_in()".
164        - Implemented built-in script function "fade_out()".
165        - Fixed acceptance of wrong data type of parameters passed to built-in
166          script functions "change_vol()", "change_tune()", "change_pan()",
167          "change_cutoff()", "change_reso()", "change_attack()", "change_decay()",
168          "change_release()", "change_amp_lfo_depth()", "change_amp_lfo_freq()",
169          "change_pitch_lfo_depth()" and "change_pitch_lfo_freq()".
170        - Added built-in script function "get_event_par()" and implemented some
171          of its possible parameter selections.
172        - Added built-in script function "set_event_par()" and implemented some
173          of its possible parameter selections.
174        - Fixed a bunch of scheduler time related bugs.
175        - Fixed polyphonic variables not being reset to zero after usage.
176        - Built-in "ignore_event()" function: argument is now optional, like with
177          built-in function "ignore_controller()".
178        - Implemented built-in script function "change_velo()".
179        - Implemented built-in script function "change_note()".
180        - Adjusted behavior of "change_vol()" and "change_tune()" to a more
181          intuitive behavior if used in combination with "change_vol_time()" or
182          "change_tune_time()" respectively: now tuning/volume changes are only
183          assigned (without delay) immediately to a new note if the respective
184          timing function has not been called before, otherwise the volume/tuning
185          changes are automatically faded (before, only the event's time stamp was
186          relevant).
187         - Implemented built-in script function "array_equal()".
188         - Implemented built-in script function "search()".
189         - Implemented built-in script function "sort()".
190         - NKSP Fix: Never suspend "init" event handlers.
191         - Implemented built-in script function "same_region()" (currently only
192           available for gig format engine).
193         - Added built-in script constant "$NKSP_LINEAR".
194         - Added built-in script constant "$NKSP_EASE_IN_EASE_OUT".
195         - Implemented built-in script function "change_vol_curve()".
196         - Implemented built-in script function "change_tune_curve()".
197         - built-in "play_note()" function now supports a sample playback start
198           offset with argument 3, where special value -1 means to use the regular
199           sample offset as defined by the instrument file.
200         - Built-in array variable %KEY_DOWN[] is now a read-only variable.
201         - Built-in variable $EVENT_NOTE is now a read-only variable.
202         - Built-in variable $EVENT_VELOCITY is now a read-only variable.
203         - built-in "play_note()" function now accepts -2 for its fourth argument
204           (note duration) which means the life time of the note shall be sticked
205           to the requested note number of argument 1.
206         - Fix: built-in "play_note()" function now returns 0 as result value if
207           -1 was passed for its fourth argument (note duration) and the respective
208           parent note is already gone.
209        - Implemented built-in script function "change_play_pos()".
210        - NKSP language: Added support for user declared const array variables.
211        - NKSP language: Raise parser warning if array variable is accessed with
212          an index that exceeds the array's size.
213        - NKSP language fix: Unknown characters were not handled correctly.
214        - NKSP language: Added support for "synchronized .. end synchronized"
215          code blocks.
216        - Implemented built-in script function "abort()" which allows to abort
217          another script handler by passing its callback ID.
218        - Fixed potential memory access bug and potential undefined behavior of
219          "init" event handlers.
220        - Print a time stamp along to each call of built-in function "message()".
221        - ScriptVM API: Added VMParserContext::preprocessorComments() which allows
222          to retrieve all code blocks filtered out by the preprocessor.
223        - Added built-in script function "fork()".
224        - Added built-in array variable %NKSP_CALLBACK_CHILD_ID[].
225        - Added built-in variable $NKSP_CALLBACK_PARENT_ID.
226        - Fixed potential crash when accessing dynamic built-in array variables.
227        - Added built-in script function "callback_status()".
228        - Added built-in constant $CALLBACK_STATUS_TERMINATED.
229        - Added built-in constant $CALLBACK_STATUS_QUEUE.
230        - Added built-in constant $CALLBACK_STATUS_RUNNING.
231        - Removed max. value limitation of built-in functions "change_attack()",
232          "change_decay()" and "change_release()" to i.e. allow passing 2000000
233          for doubling the respective time.
234        - NKSP script editor syntax highlighting API: Fixed app termination due
235          to a lexer start condition stack underrun.
236        - NKSP preprocessor: Fixed wrong behavior on nested USE_CODE_IF() and
237          USE_CODE_IF_NOT() preprocessor statements.
238    
239      * Instruments DB:
240        - Fixed memory access bug of general DB access code which lead to
241          undefined behavior.
242        - Cleanup of instruments DB file creation and opening code.
243        - The instrument DB path of linuxsampler's --create-instruments-db argument
244          is now optional, if it is missing, then a default location is used.
245        - Added support for scanning SFZ (.sfz) files.
246        - Added support for scanning Sound Font (.sf2) files.
247        - Fixed undefined DB transaction behavior.
248    
249    Version 2.0.0 (15 July 2015)
250    
251    * packaging changes:    * packaging changes:
252      - fixed building with newer MinGW-w64      - fixed building with newer MinGW-w64
# Line 291  Version CVS HEAD (?) Line 539  Version CVS HEAD (?)
539      - bugfix: generation of velocity curves etc should not be done      - bugfix: generation of velocity curves etc should not be done
540        after each "#include", only after the main file is parsed        after each "#include", only after the main file is parsed
541      - bugfix: line numbers in error messages were wrong after "#include"      - bugfix: line numbers in error messages were wrong after "#include"
542        - added support for float and 32 bit sample files
543    
544    * SoundFont format engine:    * SoundFont format engine:
545      - Initial implementation (not usable yet)      - Initial implementation (not usable yet)
# Line 338  Version CVS HEAD (?) Line 587  Version CVS HEAD (?)
587      - VST: implemented retrieval and switching of programs using the      - VST: implemented retrieval and switching of programs using the
588        sampler's internal MIDI instrument mapping system        sampler's internal MIDI instrument mapping system
589    
590      * Instrument editor interface:
591        - Changed instrument editor plugin interface, providing additional
592          informations like the EngineChannel for which the instrument editor was
593          spawned for. This allows the instrument editors to interact more actively
594          with the sampler.
595    
596    * MIDI driver:    * MIDI driver:
597      - ALSA MIDI driver supports now "NAME" device parameter, for overriding      - ALSA MIDI driver supports now "NAME" device parameter, for overriding
598        the ALSA sequencer client name        the ALSA sequencer client name
# Line 361  Version CVS HEAD (?) Line 616  Version CVS HEAD (?)
616      - MME bugfix: driver wasn't closed properly      - MME bugfix: driver wasn't closed properly
617      - CoreMIDI: automatically connect to all input sources by default (driver      - CoreMIDI: automatically connect to all input sources by default (driver
618        parameter "AUTO_BIND").        parameter "AUTO_BIND").
619        - CoreMIDI: fixed auto bind feature to CoreMIDI ports that go online
620        - CoreMIDI: fixed minor memory leak
621    
622    * audio driver:    * audio driver:
623      - 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 669  Version CVS HEAD (?)
669        "SUBSCRIBE SEND_EFFECT_CHAIN_INFO"        "SUBSCRIBE SEND_EFFECT_CHAIN_INFO"
670      - provide comprehensive error messages on LSCP syntax errors      - provide comprehensive error messages on LSCP syntax errors
671        (suggesting expected next non-terminal symbols)        (suggesting expected next non-terminal symbols)
672        - Fixed client connection not being closed after network errors.
673    
674    * LSCP shell:    * LSCP shell:
675      - 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 719  Version CVS HEAD (?)
719        $GIG_DIM_EFFECT3DEPTH, $GIG_DIM_EFFECT4DEPTH, $GIG_DIM_EFFECT5DEPTH.        $GIG_DIM_EFFECT3DEPTH, $GIG_DIM_EFFECT4DEPTH, $GIG_DIM_EFFECT5DEPTH.
720      - Giga format scripts: Implemented built-in script function      - Giga format scripts: Implemented built-in script function
721        "gig_set_dim_zone(event_id, dimension, zone)".        "gig_set_dim_zone(event_id, dimension, zone)".
722      - Implemented built-in script int array variable $KEY_DOWN.      - Implemented built-in script int array variable %KEY_DOWN.
723      - Implemented built-in script function "abs()".      - Implemented built-in script function "abs()".
724      - Implemented built-in script function "random()".      - Implemented built-in script function "random()".
725      - Implemented built-in script function "num_elements()".      - Implemented built-in script function "num_elements()".
# Line 475  Version CVS HEAD (?) Line 733  Version CVS HEAD (?)
733        (i.e. return value of new script function "by_marks()").        (i.e. return value of new script function "by_marks()").
734      - Pass/preserve polyphonic variable data from respective "note" event      - Pass/preserve polyphonic variable data from respective "note" event
735        handler to "release" event handler.        handler to "release" event handler.
736        - Fixed crash when using built-in script function "by_marks()".
737    
738    * Bug fixes:    * Bug fixes:
739      - 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.3308

  ViewVC Help
Powered by ViewVC