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

Diff of /linuxsampler/trunk/ChangeLog

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

revision 2521 by schoenebeck, Wed Feb 19 19:02:43 2014 UTC revision 3290 by schoenebeck, Fri Jun 23 12:24:58 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    
11      * Gigasampler/GigaStudio format engine:
12        - Fixed clicks and pumping noise with Lowpass Turbo filter on very low
13          cutoff settings.
14    
15      * general changes:
16        - fixed printf type errors (mostly in debug messages)
17        - use unique_ptr instead of auto_ptr when building with C++11
18        - Added RTAVLTree class which is a real-time safe ordered multi-map, thus
19          allowing to sort data efficiently in real-time safe manner.
20        - RTList class: added methods for moving/inserting elements to arbitrary
21          position within a list.
22        - RTList class: added method fromPtr() for creating an Iterator object from
23          a raw element pointer.
24        - Attempt to partly fix resetting engine channels vs. resetting engine, an
25          overall cleanup of the Reset*(), ConnectAudioDevice(),
26          DisconnectAudioDevice() API methods would still be desirable though,
27          because the current situation is still inconsistent and error prone.
28        - Active voices are now internally grouped to "Note" objects, instead of
29          being directly assigned to a keyboard key. This allows more fine graded
30          processing of voices, which is i.e. required for certain instrument
31          script features.
32        - Fix: Release trigger voices were not spawned on sustain pedal up
33          (CC #64) events.
34        - Fix: Release trigger voices can now also distinguish correctly between
35          note-off and sustain pedal up events.
36        - All engines: Increased ramp speed of volume smoother and pan smoother
37          (while slow rate of crossfade smoother is preserved) to allow quick
38          volume and pan changes by instrument scripts for instance.
39        - gig/sf2/sfz: Fixed aftertouch channel pressure events being processed
40          properly and thus were ignored for certain uses.
41        - Added new C++ API method
42          VirtualMidiDevice::SendChannelPressureToSampler().
43        - windows, 32-bit: fixed potential crashes by making sure the stack in
44          sub threads is 16-byte aligned
45        - fixed numerous compiler warnings
46        - Fixed invalid (note-on) event ID being assigned to new Note objects.
47        - Revised fundamental C++ classes "Thread", "Mutex" and "Condition" which
48          fixes potential undefined behavior.
49    
50      * packaging changes:
51        - removed unnecessary dependency to libuuid
52          (originated by libgig's usage of it)
53        - Automake: set environment variable GCC_COLORS=auto to allow GCC to
54          auto detect whether it (sh/c)ould output its messages in color.
55    
56      * Real-time instrument scripts:
57        - Implemented scheduler for delayed MIDI events and for suspended scripts.
58        - Built-in script function "wait()": implemented support for function's
59          "duration-us" argument, thus scripts using this function are now
60          correctly resumed after the requested amount of microseconds.
61        - Built-in script function "play_note()": implemented support for
62          function's "duration-us" argument, thus notes triggered with this
63          argument are now correctly released after the requested amount of
64          microseconds.
65        - Fix: script events were not cleared when engine channel was reset,
66          potentially causing undefined behavior.
67        - Fixed crash which happened when trying to reference an undeclared
68          variable.
69        - Built-in script function "play_note()": Added support for passing
70          special value -1 for "duration-us" argument, which will cause the
71          triggered note to be released once the original note was released.
72        - Instrument script classes now exported with the liblinuxsampler C++ API.
73        - Added new API method ScriptVM::syntaxHighlighting() which provides
74          a convenient syntax highlighting backend for external instrument
75          script editor applications.
76        - Added new C++ API class "ScriptVMFactory".
77        - Extended parser issues to provide not only first line and first
78          column, but also last line and last column of issue (thus marking
79          the precise span of the issue within the source code).
80        - Reload script automatically after being modified by an instrument
81          editor.
82        - NKSP language grammar correction: allow empty event handler bodies
83          like "on note end on".
84        - Implemented built-in script function "change_vol()".
85        - Implemented built-in script function "change_tune()".
86        - Implemented built-in script function "change_pan()".
87        - Implemented built-in script function "change_cutoff()".
88        - Implemented built-in script function "change_reso()".
89        - Implemented built-in script function "event_status()".
90        - Added built-in script constants "$EVENT_STATUS_INACTIVE" and
91          "$EVENT_STATUS_NOTE_QUEUE" both for being used as flags for
92          "event_status()" function.
93        - NKSP language: Added support for bitwise operators ".or.", ".and."
94          and ".not.".
95        - NKSP language scanner: Fixed IDs matching to require at least one
96          character (i.e. when matching function names or variable names).
97        - NKSP language scanner: disabled unusued rules.
98        - Fixed behavior of play_note() and note_off() functions which must
99          be distinguished engine internally from "real" MIDI note on/off
100          events in order to avoid misbehaviors like hanging notes.
101        - Implemented built-in script variable "$KSP_TIMER".
102        - Implemented built-in script variable "$NKSP_REAL_TIMER".
103        - Implemented built-in script variable "$NKSP_PERF_TIMER".
104        - Implemented built-in script variable "$ENGINE_UPTIME".
105        - Implemented built-in script function "inc()".
106        - Implemented built-in script function "dec()".
107        - NKSP language fix: division expressions were evaluated too often.
108        - NKSP language fix: string concatenation operator was right
109          associative instead of left (to right).
110        - NKSP language correction: allow empty statements in entire language
111          (i.e. "if end if").
112        - Implemented built-in script function "stop_wait()".
113        - Implemented built-in script variable "$NI_CALLBACK_ID".
114        - Implemented built-in script variable "$NI_CALLBACK_TYPE".
115        - Implemented built-in script variable "$NKSP_IGNORE_WAIT".
116        - Added support for read-only built-in variables (respectively
117          handled by the script parser).
118        - Added built-in script constant "$NI_CB_TYPE_INIT".
119        - Added built-in script constant "$NI_CB_TYPE_NOTE".
120        - Added built-in script constant "$NI_CB_TYPE_RELEASE".
121        - Added built-in script constant "$NI_CB_TYPE_CONTROLLER".
122        - NKSP Language: Added support for user defined script functions.
123        - Implemented built-in script function "change_attack()".
124        - Implemented built-in script function "change_decay()".
125        - Implemented built-in script function "change_release()".
126        - Fixed all change_*() built-in script functions to apply their
127          synthesis parameter changes immediately in case the respective note
128          was triggered at the same time, instead of scheduling the parameter
129          change, especially because it would cause some parameter types's
130          changes either to be ramped (i.e. change_vol()) or other types even
131          to have not effect at all (i.e. change_attack()).
132        - Implemented built-in script function "sh_left()".
133        - Implemented built-in script function "sh_right()".
134        - Implemented built-in script function "min()".
135        - Implemented built-in script function "max()".
136        - NKSP Fix: "init" event handler was not always executed when a script
137          was loaded.
138        - NKSP built-in wait() script function: abort script execution if
139          a negative or zero wait time was passed as argument (since this is
140          a common indication of a bug either of the script or even of the
141          engine, which could lead to RT instability or even worse).
142        - ScriptVM: Implemented automatic suspension of RT safety
143          threatening scripts.
144        - Provide more user friendly error messages on syntax errors.
145        - Fixed NKSP parser warning "Not a statement" when assigning an
146          initializer list to an array variable.
147        - Implemented built-in script array variable "%ALL_EVENTS".
148        - Implemented built-in script function "in_range()".
149        - Implemented built-in script function "change_amp_lfo_depth()".
150        - Implemented built-in script function "change_amp_lfo_freq()".
151        - Implemented built-in script function "change_pitch_lfo_depth()".
152        - Implemented built-in script function "change_pitch_lfo_freq()".
153        - Implemented built-in script function "change_vol_time()".
154        - Implemented built-in script function "change_tune_time()".
155        - Implemented built-in script function "fade_in()".
156        - Implemented built-in script function "fade_out()".
157        - Fixed acceptance of wrong data type of parameters passed to built-in
158          script functions "change_vol()", "change_tune()", "change_pan()",
159          "change_cutoff()", "change_reso()", "change_attack()", "change_decay()",
160          "change_release()", "change_amp_lfo_depth()", "change_amp_lfo_freq()",
161          "change_pitch_lfo_depth()" and "change_pitch_lfo_freq()".
162        - Added built-in script function "get_event_par()" and implemented some
163          of its possible parameter selections.
164        - Added built-in script function "set_event_par()" and implemented some
165          of its possible parameter selections.
166        - Fixed a bunch of scheduler time related bugs.
167        - Fixed polyphonic variables not being reset to zero after usage.
168        - Built-in "ignore_event()" function: argument is now optional, like with
169          built-in function "ignore_controller()".
170        - Implemented built-in script function "change_velo()".
171        - Implemented built-in script function "change_note()".
172        - Adjusted behavior of "change_vol()" and "change_tune()" to a more
173          intuitive behavior if used in combination with "change_vol_time()" or
174          "change_tune_time()" respectively: now tuning/volume changes are only
175          assigned (without delay) immediately to a new note if the respective
176          timing function has not been called before, otherwise the volume/tuning
177          changes are automatically faded (before, only the event's time stamp was
178          relevant).
179         - Implemented built-in script function "array_equal()".
180         - Implemented built-in script function "search()".
181         - Implemented built-in script function "sort()".
182         - NKSP Fix: Never suspend "init" event handlers.
183         - Implemented built-in script function "same_region()" (currently only
184           available for gig format engine).
185         - Added built-in script constant "$NKSP_LINEAR".
186         - Added built-in script constant "$NKSP_EASE_IN_EASE_OUT".
187         - Implemented built-in script function "change_vol_curve()".
188         - Implemented built-in script function "change_tune_curve()".
189         - built-in "play_note()" function now supports a sample playback start
190           offset with argument 3, where special value -1 means to use the regular
191           sample offset as defined by the instrument file.
192         - Built-in array variable %KEY_DOWN[] is now a read-only variable.
193         - Built-in variable $EVENT_NOTE is now a read-only variable.
194         - Built-in variable $EVENT_VELOCITY is now a read-only variable.
195         - built-in "play_note()" function now accepts -2 for its fourth argument
196           (note duration) which means the life time of the note shall be sticked
197           to the requested note number of argument 1.
198         - Fix: built-in "play_note()" function now returns 0 as result value if
199           -1 was passed for its fourth argument (note duration) and the respective
200           parent note is already gone.
201        - Implemented built-in script function "change_play_pos()".
202        - NKSP language: Added support for user declared const array variables.
203        - NKSP language: Raise parser warning if array variable is accessed with
204          an index that exceeds the array's size.
205        - NKSP language fix: Unknown characters were not handled correctly.
206        - NKSP language: Added support for "synchronized .. end synchronized"
207          code blocks.
208        - Implemented built-in script function "abort()" which allows to abort
209          another script handler by passing its callback ID.
210        - Fixed potential memory access bug and potential undefined behavior of
211          "init" event handlers.
212        - Print a time stamp along to each call of built-in function "message()".
213        - ScriptVM API: Added VMParserContext::preprocessorComments() which allows
214          to retrieve all code blocks filtered out by the preprocessor.
215    
216      * Instruments DB:
217        - Fixed memory access bug of general DB access code which lead to
218          undefined behavior.
219        - Cleanup of instruments DB file creation and opening code.
220        - The instrument DB path of linuxsampler's --create-instruments-db argument
221          is now optional, if it is missing, then a default location is used.
222        - Added support for scanning SFZ (.sfz) files.
223        - Added support for scanning Sound Font (.sf2) files.
224        - Fixed undefined DB transaction behavior.
225    
226    Version 2.0.0 (15 July 2015)
227    
228    * packaging changes:    * packaging changes:
229      - fixed building with newer MinGW-w64      - fixed building with newer MinGW-w64
# Line 99  Version CVS HEAD (?) Line 324  Version CVS HEAD (?)
324      - VirtualMidiDevice: Added support for program change.      - VirtualMidiDevice: Added support for program change.
325      - VirtualMidiDevice: Added support for bank select (MSB & LSB).      - VirtualMidiDevice: Added support for bank select (MSB & LSB).
326      - VirtualMidiDevice: Added support for pitch bend.      - VirtualMidiDevice: Added support for pitch bend.
327        - Aftertouch: extended API to explicitly handle channel pressure and
328          polyphonic key pressure events (so far polyphonic pressure was not
329          supported at all, and channel pressure was rerouted as CC128 but not
330          used so far).
331        - Added initial support for real-time instrument scripts. The script VM
332          code is shared by all sampler engine implemementations, however only the
333          gig file format currently provides support for storing instrument scripts
334          (as LinuxSampler extension to the original GigaStudio 4 format).
335    
336    * Gigasampler format engine:    * Gigasampler format engine:
337      - implemented the "round robin keyboard" dimension      - implemented the "round robin keyboard" dimension
# Line 115  Version CVS HEAD (?) Line 348  Version CVS HEAD (?)
348      - Exclusive Groups: don't ever stop voices of the same note,      - Exclusive Groups: don't ever stop voices of the same note,
349        doesn't sound naturally with a drumkit        doesn't sound naturally with a drumkit
350      - fixed EG1 modulation when attack or release is zero      - fixed EG1 modulation when attack or release is zero
351        - Fixed support for 'aftertouch' attenuation controller.
352        - Fixed crash that happened with velocity split sounds under certain
353          conditions (see also previous commit on libgig).
354        - fixed behaviour of filter LFO
355    
356    * SFZ format engine:    * SFZ format engine:
357      - Initial implementation (not usable yet)      - Initial implementation (not usable yet)
# Line 274  Version CVS HEAD (?) Line 511  Version CVS HEAD (?)
511      - added FLAC support (#191)      - added FLAC support (#191)
512      - sfz parser bugfix: lines starting with whitespace were ignored      - sfz parser bugfix: lines starting with whitespace were ignored
513      - added amplitude opcode      - added amplitude opcode
514        - added support for "#include" instruction
515          (modified patch which was originally posted by Sergey on LS mailing list)
516        - bugfix: generation of velocity curves etc should not be done
517          after each "#include", only after the main file is parsed
518        - bugfix: line numbers in error messages were wrong after "#include"
519        - added support for float and 32 bit sample files
520    
521    * SoundFont format engine:    * SoundFont format engine:
522      - Initial implementation (not usable yet)      - Initial implementation (not usable yet)
# Line 321  Version CVS HEAD (?) Line 564  Version CVS HEAD (?)
564      - VST: implemented retrieval and switching of programs using the      - VST: implemented retrieval and switching of programs using the
565        sampler's internal MIDI instrument mapping system        sampler's internal MIDI instrument mapping system
566    
567      * Instrument editor interface:
568        - Changed instrument editor plugin interface, providing additional
569          informations like the EngineChannel for which the instrument editor was
570          spawned for. This allows the instrument editors to interact more actively
571          with the sampler.
572    
573    * MIDI driver:    * MIDI driver:
574      - ALSA MIDI driver supports now "NAME" device parameter, for overriding      - ALSA MIDI driver supports now "NAME" device parameter, for overriding
575        the ALSA sequencer client name        the ALSA sequencer client name
# Line 342  Version CVS HEAD (?) Line 591  Version CVS HEAD (?)
591      - Implemented missing handling of MIDI "running status".      - Implemented missing handling of MIDI "running status".
592      - CoreMIDI fix: a MIDIPacket can contain more than one event per packet.      - CoreMIDI fix: a MIDIPacket can contain more than one event per packet.
593      - MME bugfix: driver wasn't closed properly      - MME bugfix: driver wasn't closed properly
594        - CoreMIDI: automatically connect to all input sources by default (driver
595          parameter "AUTO_BIND").
596        - CoreMIDI: fixed auto bind feature to CoreMIDI ports that go online
597        - CoreMIDI: fixed minor memory leak
598    
599    * audio driver:    * audio driver:
600      - ASIO driver fixes for newer gcc versions (fix from PortAudio)      - ASIO driver fixes for newer gcc versions (fix from PortAudio)
# Line 393  Version CVS HEAD (?) Line 646  Version CVS HEAD (?)
646        "SUBSCRIBE SEND_EFFECT_CHAIN_INFO"        "SUBSCRIBE SEND_EFFECT_CHAIN_INFO"
647      - provide comprehensive error messages on LSCP syntax errors      - provide comprehensive error messages on LSCP syntax errors
648        (suggesting expected next non-terminal symbols)        (suggesting expected next non-terminal symbols)
649        - Fixed client connection not being closed after network errors.
650    
651    * LSCP shell:    * LSCP shell:
652      - Added support for auto correction of obvious and trivial syntax mistakes.      - Added support for auto correction of obvious and trivial syntax mistakes.
653      - Added support for auto completion by tab key.      - Added support for auto completion by tab key.
654      - Show currently available auto completion while typing.      - Show currently available auto completion while typing.
655      - Added support for browsing command history with up / down keys.      - Added support for browsing command history with up / down keys.
656        - Show all possible next symbols immediately right to the current command
657          line while typing (no double tab required for this feature, as it would
658          be the case in other shells).
659        - Added support for moving cursor left/right with arrow keys.
660        - Added support for built-in LSCP reference documentation, which will
661          automatically show the relevant LSCP reference section on screen as soon
662          as one specific LSCP command was detected while typing on the command
663          line.
664    
665      * Real-time instrument scripts:
666        - Implemented built-in script array variable %CC.
667        - Implemented built-in script int variable $CC_NUM.
668        - Implemented built-in script int variable $EVENT_NOTE.
669        - Implemented built-in script int variable $EVENT_VELOCITY.
670        - Implemented built-in script constant variable $VCC_MONO_AT.
671        - Implemented built-in script constant variable $VCC_PITCH_BEND.
672        - Implemented execution of script event handler "init".
673        - Implemented execution of script event handler "controller".
674        - Implemented execution of script event handler "note".
675        - Implemented execution of script event handler "release".
676        - Implemented built-in script function "play_note()" (only two of the
677          max. four function arguments are currently implemented yet though).
678        - Implemented built-in script int variable $EVENT_ID.
679        - Implemented built-in script function "ignore_event()"
680        - Implemented built-in script function "ignore_controller()" (may have one
681          or no argument).
682        - Implemented built-in script function "set_controller()".
683        - Added extended script VM for the Gigasampler/GigaStudio format sampler
684          engine, which extends the general instrument script VM with Giga format
685          specific variables and functions.
686        - Giga format scripts: added built-in script int constant variables
687          $GIG_DIM_CHANNEL, $GIG_DIM_LAYER, $GIG_DIM_VELOCITY, $GIG_DIM_AFTERTOUCH,
688          $GIG_DIM_RELEASE, $GIG_DIM_KEYBOARD, $GIG_DIM_ROUNDROBIN, $GIG_DIM_RANDOM,
689          $GIG_DIM_SMARTMIDI, $GIG_DIM_ROUNDROBINKEY, $GIG_DIM_MODWHEEL,
690          $GIG_DIM_BREATH, $GIG_DIM_FOOT, $GIG_DIM_PORTAMENTOTIME, $GIG_DIM_EFFECT1,
691          $GIG_DIM_EFFECT2, $GIG_DIM_GENPURPOSE1, $GIG_DIM_GENPURPOSE2,
692          $GIG_DIM_GENPURPOSE3, $GIG_DIM_GENPURPOSE4, $GIG_DIM_SUSTAIN,
693          $GIG_DIM_PORTAMENTO, $GIG_DIM_SOSTENUTO, $GIG_DIM_SOFT,
694          $GIG_DIM_GENPURPOSE5, $GIG_DIM_GENPURPOSE6, $GIG_DIM_GENPURPOSE7,
695          $GIG_DIM_GENPURPOSE8, $GIG_DIM_EFFECT1DEPTH, $GIG_DIM_EFFECT2DEPTH,
696          $GIG_DIM_EFFECT3DEPTH, $GIG_DIM_EFFECT4DEPTH, $GIG_DIM_EFFECT5DEPTH.
697        - Giga format scripts: Implemented built-in script function
698          "gig_set_dim_zone(event_id, dimension, zone)".
699        - Implemented built-in script int array variable %KEY_DOWN.
700        - Implemented built-in script function "abs()".
701        - Implemented built-in script function "random()".
702        - Implemented built-in script function "num_elements()".
703        - Implemented built-in script function "note_off()".
704        - Implemented built-in script function "set_event_mark()".
705        - Implemented built-in script function "delete_event_mark()".
706        - Implemented built-in script function "by_marks()".
707        - Added built-in script int const variables $MARK_1 to $MARK_28.
708        - Built-in script functions "ignore_event()", "note_off()" and
709          "gig_set_dim_zone()" now also accept an array of event IDs as argument
710          (i.e. return value of new script function "by_marks()").
711        - Pass/preserve polyphonic variable data from respective "note" event
712          handler to "release" event handler.
713        - Fixed crash when using built-in script function "by_marks()".
714    
715    * Bug fixes:    * Bug fixes:
716      - 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 446  Version CVS HEAD (?) Line 758  Version CVS HEAD (?)
758        crashes and noise on such transitions).        crashes and noise on such transitions).
759      - ignore missing LADSPA paths without ignoring valid LADSPA paths      - ignore missing LADSPA paths without ignoring valid LADSPA paths
760        (fixes #208)        (fixes #208)
761        - Fixed bug in LSCP grammar definition which caused a statement like
762          "GET SERVER INFOasdf\n" to be accepted as valid statement (was so far
763          practically irrelevant, however it caused problems with the new LSCP
764          shell's auto completion feature).
765        - Fixed MIDI program change messages being ignored if quickly executed
766          after each other (fixes #231).
767    
768  Version 1.0.0 (31 July 2009)  Version 1.0.0 (31 July 2009)
769    

Legend:
Removed from v.2521  
changed lines
  Added in v.3290

  ViewVC Help
Powered by ViewVC