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

Diff of /linuxsampler/trunk/ChangeLog

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

revision 2534 by schoenebeck, Sun Mar 9 21:34:03 2014 UTC revision 3291 by persson, Sat Jun 24 12:56:44 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    
16      * general changes:
17        - fixed printf type errors (mostly in debug messages)
18        - 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)
228    
229    * packaging changes:    * packaging changes:
230      - fixed building with newer MinGW-w64      - fixed building with newer MinGW-w64
# Line 99  Version CVS HEAD (?) Line 325  Version CVS HEAD (?)
325      - VirtualMidiDevice: Added support for program change.      - VirtualMidiDevice: Added support for program change.
326      - VirtualMidiDevice: Added support for bank select (MSB & LSB).      - VirtualMidiDevice: Added support for bank select (MSB & LSB).
327      - VirtualMidiDevice: Added support for pitch bend.      - VirtualMidiDevice: Added support for pitch bend.
328        - Aftertouch: extended API to explicitly handle channel pressure and
329          polyphonic key pressure events (so far polyphonic pressure was not
330          supported at all, and channel pressure was rerouted as CC128 but not
331          used so far).
332        - Added initial support for real-time instrument scripts. The script VM
333          code is shared by all sampler engine implemementations, however only the
334          gig file format currently provides support for storing instrument scripts
335          (as LinuxSampler extension to the original GigaStudio 4 format).
336    
337    * Gigasampler format engine:    * Gigasampler format engine:
338      - implemented the "round robin keyboard" dimension      - implemented the "round robin keyboard" dimension
# Line 115  Version CVS HEAD (?) Line 349  Version CVS HEAD (?)
349      - Exclusive Groups: don't ever stop voices of the same note,      - Exclusive Groups: don't ever stop voices of the same note,
350        doesn't sound naturally with a drumkit        doesn't sound naturally with a drumkit
351      - fixed EG1 modulation when attack or release is zero      - fixed EG1 modulation when attack or release is zero
352        - Fixed support for 'aftertouch' attenuation controller.
353        - Fixed crash that happened with velocity split sounds under certain
354          conditions (see also previous commit on libgig).
355        - fixed behaviour of filter LFO
356    
357    * SFZ format engine:    * SFZ format engine:
358      - Initial implementation (not usable yet)      - Initial implementation (not usable yet)
# Line 279  Version CVS HEAD (?) Line 517  Version CVS HEAD (?)
517      - bugfix: generation of velocity curves etc should not be done      - bugfix: generation of velocity curves etc should not be done
518        after each "#include", only after the main file is parsed        after each "#include", only after the main file is parsed
519      - bugfix: line numbers in error messages were wrong after "#include"      - bugfix: line numbers in error messages were wrong after "#include"
520        - added support for float and 32 bit sample files
521    
522    * SoundFont format engine:    * SoundFont format engine:
523      - Initial implementation (not usable yet)      - Initial implementation (not usable yet)
# Line 326  Version CVS HEAD (?) Line 565  Version CVS HEAD (?)
565      - VST: implemented retrieval and switching of programs using the      - VST: implemented retrieval and switching of programs using the
566        sampler's internal MIDI instrument mapping system        sampler's internal MIDI instrument mapping system
567    
568      * Instrument editor interface:
569        - Changed instrument editor plugin interface, providing additional
570          informations like the EngineChannel for which the instrument editor was
571          spawned for. This allows the instrument editors to interact more actively
572          with the sampler.
573    
574    * MIDI driver:    * MIDI driver:
575      - ALSA MIDI driver supports now "NAME" device parameter, for overriding      - ALSA MIDI driver supports now "NAME" device parameter, for overriding
576        the ALSA sequencer client name        the ALSA sequencer client name
# Line 347  Version CVS HEAD (?) Line 592  Version CVS HEAD (?)
592      - Implemented missing handling of MIDI "running status".      - Implemented missing handling of MIDI "running status".
593      - CoreMIDI fix: a MIDIPacket can contain more than one event per packet.      - CoreMIDI fix: a MIDIPacket can contain more than one event per packet.
594      - MME bugfix: driver wasn't closed properly      - MME bugfix: driver wasn't closed properly
595        - CoreMIDI: automatically connect to all input sources by default (driver
596          parameter "AUTO_BIND").
597        - CoreMIDI: fixed auto bind feature to CoreMIDI ports that go online
598        - CoreMIDI: fixed minor memory leak
599    
600    * audio driver:    * audio driver:
601      - ASIO driver fixes for newer gcc versions (fix from PortAudio)      - ASIO driver fixes for newer gcc versions (fix from PortAudio)
# Line 398  Version CVS HEAD (?) Line 647  Version CVS HEAD (?)
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 413  Version CVS HEAD (?) Line 663  Version CVS HEAD (?)
663        as one specific LSCP command was detected while typing on the command        as one specific LSCP command was detected while typing on the command
664        line.        line.
665    
666      * Real-time instrument scripts:
667        - Implemented built-in script array variable %CC.
668        - Implemented built-in script int variable $CC_NUM.
669        - Implemented built-in script int variable $EVENT_NOTE.
670        - Implemented built-in script int variable $EVENT_VELOCITY.
671        - Implemented built-in script constant variable $VCC_MONO_AT.
672        - Implemented built-in script constant variable $VCC_PITCH_BEND.
673        - Implemented execution of script event handler "init".
674        - Implemented execution of script event handler "controller".
675        - Implemented execution of script event handler "note".
676        - Implemented execution of script event handler "release".
677        - Implemented built-in script function "play_note()" (only two of the
678          max. four function arguments are currently implemented yet though).
679        - Implemented built-in script int variable $EVENT_ID.
680        - Implemented built-in script function "ignore_event()"
681        - Implemented built-in script function "ignore_controller()" (may have one
682          or no argument).
683        - Implemented built-in script function "set_controller()".
684        - Added extended script VM for the Gigasampler/GigaStudio format sampler
685          engine, which extends the general instrument script VM with Giga format
686          specific variables and functions.
687        - Giga format scripts: added built-in script int constant variables
688          $GIG_DIM_CHANNEL, $GIG_DIM_LAYER, $GIG_DIM_VELOCITY, $GIG_DIM_AFTERTOUCH,
689          $GIG_DIM_RELEASE, $GIG_DIM_KEYBOARD, $GIG_DIM_ROUNDROBIN, $GIG_DIM_RANDOM,
690          $GIG_DIM_SMARTMIDI, $GIG_DIM_ROUNDROBINKEY, $GIG_DIM_MODWHEEL,
691          $GIG_DIM_BREATH, $GIG_DIM_FOOT, $GIG_DIM_PORTAMENTOTIME, $GIG_DIM_EFFECT1,
692          $GIG_DIM_EFFECT2, $GIG_DIM_GENPURPOSE1, $GIG_DIM_GENPURPOSE2,
693          $GIG_DIM_GENPURPOSE3, $GIG_DIM_GENPURPOSE4, $GIG_DIM_SUSTAIN,
694          $GIG_DIM_PORTAMENTO, $GIG_DIM_SOSTENUTO, $GIG_DIM_SOFT,
695          $GIG_DIM_GENPURPOSE5, $GIG_DIM_GENPURPOSE6, $GIG_DIM_GENPURPOSE7,
696          $GIG_DIM_GENPURPOSE8, $GIG_DIM_EFFECT1DEPTH, $GIG_DIM_EFFECT2DEPTH,
697          $GIG_DIM_EFFECT3DEPTH, $GIG_DIM_EFFECT4DEPTH, $GIG_DIM_EFFECT5DEPTH.
698        - Giga format scripts: Implemented built-in script function
699          "gig_set_dim_zone(event_id, dimension, zone)".
700        - Implemented built-in script int array variable %KEY_DOWN.
701        - Implemented built-in script function "abs()".
702        - Implemented built-in script function "random()".
703        - Implemented built-in script function "num_elements()".
704        - Implemented built-in script function "note_off()".
705        - Implemented built-in script function "set_event_mark()".
706        - Implemented built-in script function "delete_event_mark()".
707        - Implemented built-in script function "by_marks()".
708        - Added built-in script int const variables $MARK_1 to $MARK_28.
709        - Built-in script functions "ignore_event()", "note_off()" and
710          "gig_set_dim_zone()" now also accept an array of event IDs as argument
711          (i.e. return value of new script function "by_marks()").
712        - Pass/preserve polyphonic variable data from respective "note" event
713          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
718      - minor valgrind fixes      - minor valgrind fixes
# Line 463  Version CVS HEAD (?) Line 763  Version CVS HEAD (?)
763        "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
764        practically irrelevant, however it caused problems with the new LSCP        practically irrelevant, however it caused problems with the new LSCP
765        shell's auto completion feature).        shell's auto completion feature).
766        - Fixed MIDI program change messages being ignored if quickly executed
767          after each other (fixes #231).
768    
769  Version 1.0.0 (31 July 2009)  Version 1.0.0 (31 July 2009)
770    

Legend:
Removed from v.2534  
changed lines
  Added in v.3291

  ViewVC Help
Powered by ViewVC