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

Diff of /linuxsampler/trunk/ChangeLog

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

revision 2427 by persson, Sat Mar 2 07:03:04 2013 UTC revision 3221 by schoenebeck, Fri May 26 18:30:42 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    
48      * packaging changes:
49        - removed unnecessary dependency to libuuid
50          (originated by libgig's usage of it)
51        - Automake: set environment variable GCC_COLORS=auto to allow GCC to
52          auto detect whether it (sh/c)ould output its messages in color.
53    
54      * Real-time instrument scripts:
55        - Implemented scheduler for delayed MIDI events and for suspended scripts.
56        - Built-in script function "wait()": implemented support for function's
57          "duration-us" argument, thus scripts using this function are now
58          correctly resumed after the requested amount of microseconds.
59        - Built-in script function "play_note()": implemented support for
60          function's "duration-us" argument, thus notes triggered with this
61          argument are now correctly released after the requested amount of
62          microseconds.
63        - Fix: script events were not cleared when engine channel was reset,
64          potentially causing undefined behavior.
65        - Fixed crash which happened when trying to reference an undeclared
66          variable.
67        - Built-in script function "play_note()": Added support for passing
68          special value -1 for "duration-us" argument, which will cause the
69          triggered note to be released once the original note was released.
70        - Instrument script classes now exported with the liblinuxsampler C++ API.
71        - Added new API method ScriptVM::syntaxHighlighting() which provides
72          a convenient syntax highlighting backend for external instrument
73          script editor applications.
74        - Added new C++ API class "ScriptVMFactory".
75        - Extended parser issues to provide not only first line and first
76          column, but also last line and last column of issue (thus marking
77          the precise span of the issue within the source code).
78        - Reload script automatically after being modified by an instrument
79          editor.
80        - NKSP language grammar correction: allow empty event handler bodies
81          like "on note end on".
82        - Implemented built-in script function "change_vol()".
83        - Implemented built-in script function "change_tune()".
84        - Implemented built-in script function "change_pan()".
85        - Implemented built-in script function "change_cutoff()".
86        - Implemented built-in script function "change_reso()".
87        - Implemented built-in script function "event_status()".
88        - Added built-in script constants "$EVENT_STATUS_INACTIVE" and
89          "$EVENT_STATUS_NOTE_QUEUE" both for being used as flags for
90          "event_status()" function.
91        - NKSP language: Added support for bitwise operators ".or.", ".and."
92          and ".not.".
93        - NKSP language scanner: Fixed IDs matching to require at least one
94          character (i.e. when matching function names or variable names).
95        - NKSP language scanner: disabled unusued rules.
96        - Fixed behavior of play_note() and note_off() functions which must
97          be distinguished engine internally from "real" MIDI note on/off
98          events in order to avoid misbehaviors like hanging notes.
99        - Implemented built-in script variable "$KSP_TIMER".
100        - Implemented built-in script variable "$NKSP_REAL_TIMER".
101        - Implemented built-in script variable "$NKSP_PERF_TIMER".
102        - Implemented built-in script variable "$ENGINE_UPTIME".
103        - Implemented built-in script function "inc()".
104        - Implemented built-in script function "dec()".
105        - NKSP language fix: division expressions were evaluated too often.
106        - NKSP language fix: string concatenation operator was right
107          associative instead of left (to right).
108        - NKSP language correction: allow empty statements in entire language
109          (i.e. "if end if").
110        - Implemented built-in script function "stop_wait()".
111        - Implemented built-in script variable "$NI_CALLBACK_ID".
112        - Implemented built-in script variable "$NI_CALLBACK_TYPE".
113        - Implemented built-in script variable "$NKSP_IGNORE_WAIT".
114        - Added support for read-only built-in variables (respectively
115          handled by the script parser).
116        - Added built-in script constant "$NI_CB_TYPE_INIT".
117        - Added built-in script constant "$NI_CB_TYPE_NOTE".
118        - Added built-in script constant "$NI_CB_TYPE_RELEASE".
119        - Added built-in script constant "$NI_CB_TYPE_CONTROLLER".
120        - NKSP Language: Added support for user defined script functions.
121        - Implemented built-in script function "change_attack()".
122        - Implemented built-in script function "change_decay()".
123        - Implemented built-in script function "change_release()".
124        - Fixed all change_*() built-in script functions to apply their
125          synthesis parameter changes immediately in case the respective note
126          was triggered at the same time, instead of scheduling the parameter
127          change, especially because it would cause some parameter types's
128          changes either to be ramped (i.e. change_vol()) or other types even
129          to have not effect at all (i.e. change_attack()).
130        - Implemented built-in script function "sh_left()".
131        - Implemented built-in script function "sh_right()".
132        - Implemented built-in script function "min()".
133        - Implemented built-in script function "max()".
134        - NKSP Fix: "init" event handler was not always executed when a script
135          was loaded.
136        - NKSP built-in wait() script function: abort script execution if
137          a negative or zero wait time was passed as argument (since this is
138          a common indication of a bug either of the script or even of the
139          engine, which could lead to RT instability or even worse).
140        - ScriptVM: Implemented automatic suspension of RT safety
141          threatening scripts.
142        - Provide more user friendly error messages on syntax errors.
143        - Fixed NKSP parser warning "Not a statement" when assigning an
144          initializer list to an array variable.
145        - Implemented built-in script array variable "%ALL_EVENTS".
146        - Implemented built-in script function "in_range()".
147        - Implemented built-in script function "change_amp_lfo_depth()".
148        - Implemented built-in script function "change_amp_lfo_freq()".
149        - Implemented built-in script function "change_pitch_lfo_depth()".
150        - Implemented built-in script function "change_pitch_lfo_freq()".
151        - Implemented built-in script function "change_vol_time()".
152        - Implemented built-in script function "change_tune_time()".
153        - Implemented built-in script function "fade_in()".
154        - Implemented built-in script function "fade_out()".
155        - Fixed acceptance of wrong data type of parameters passed to built-in
156          script functions "change_vol()", "change_tune()", "change_pan()",
157          "change_cutoff()", "change_reso()", "change_attack()", "change_decay()",
158          "change_release()", "change_amp_lfo_depth()", "change_amp_lfo_freq()",
159          "change_pitch_lfo_depth()" and "change_pitch_lfo_freq()".
160        - Added built-in script function "get_event_par()" and implemented some
161          of its possible parameter selections.
162        - Added built-in script function "set_event_par()" and implemented some
163          of its possible parameter selections.
164        - Fixed a bunch of scheduler time related bugs.
165        - Fixed polyphonic variables not being reset to zero after usage.
166        - Built-in "ignore_event()" function: argument is now optional, like with
167          built-in function "ignore_controller()".
168        - Implemented built-in script function "change_velo()".
169        - Implemented built-in script function "change_note()".
170        - Adjusted behavior of "change_vol()" and "change_tune()" to a more
171          intuitive behavior if used in combination with "change_vol_time()" or
172          "change_tune_time()" respectively: now tuning/volume changes are only
173          assigned (without delay) immediately to a new note if the respective
174          timing function has not been called before, otherwise the volume/tuning
175          changes are automatically faded (before, only the event's time stamp was
176          relevant).
177         - Implemented built-in script function "array_equal()".
178         - Implemented built-in script function "search()".
179         - Implemented built-in script function "sort()".
180         - NKSP Fix: Never suspend "init" event handlers.
181    
182      * Instruments DB:
183        - Fixed memory access bug of general DB access code which lead to
184          undefined behavior.
185        - Cleanup of instruments DB file creation and opening code.
186        - The instrument DB path of linuxsampler's --create-instruments-db argument
187          is now optional, if it is missing, then a default location is used.
188        - Added support for scanning SFZ (.sfz) files.
189        - Added support for scanning Sound Font (.sf2) files.
190        - Fixed undefined DB transaction behavior.
191    
192    Version 2.0.0 (15 July 2015)
193    
194    * packaging changes:    * packaging changes:
195      - fixed building with newer MinGW-w64      - fixed building with newer MinGW-w64
# Line 24  Version CVS HEAD (?) Line 215  Version CVS HEAD (?)
215        LDFLAGS="-Wl,--no-undefined" (#190)        LDFLAGS="-Wl,--no-undefined" (#190)
216      - fixed compilation with Clang 3.2      - fixed compilation with Clang 3.2
217      - removed usage of deprecated Automake variable INCLUDES      - removed usage of deprecated Automake variable INCLUDES
218        - fixed building with C++11
219        - build fix: ChangeFlagRelaxed.h was missing in makefile
220        - build fix: libsndfile compiler flags were missing in some
221          makefiles
222        - fix for building with bison 3.0 (#202)
223        - Mac OS X: added temporary hack allowing to spawn gigedit as callback
224          on the process's main thread
225        - fixed build error on newer MinGW
226        - support building with older jack versions
227        - support building with spaces in vst sdk path
228        - enabled automake 'subdir-objects' option and moved external
229          source references (vst, au, asio) from makefiles to cpp files,
230          in order to get rid of warnings from automake 1.14
231    
232    * general changes:    * general changes:
233      - Refactoring: moved the independent code from      - Refactoring: moved the independent code from
# Line 66  Version CVS HEAD (?) Line 270  Version CVS HEAD (?)
270        series (#182)        series (#182)
271      - added a lock guard class for exception safe mutex handling and      - added a lock guard class for exception safe mutex handling and
272        used it everywhere appropriate        used it everywhere appropriate
273        - Immediately apply scale tuning changes to active voices.
274        - Exposed scale tuning to C++ API (along to the already existing standard
275          SysEx way).
276        - lsatomic.h fixes: seq_cst load and store were suboptimal for x86
277          and broken for ppc64. (Seq_cst loads and stores are actually not
278          used in LS, so the bug wasn't noticable.)
279        - lsatomic.h: added ARMv7 support
280        - Added support for multiple MIDI input ports per sampler channel (and
281          added various new C++ methods for this new feature / design change, old
282          C++ API methods for managing SamplerChannel's MIDI inputs are now marked
283          as deprecated but are still there and should provide full behavior
284          backward compatibility).
285        - AbstractEngine::GSChecksum(): don't allocate memory on the stack (was
286          unsafe and caused compilation error with clang 2.x).
287        - Bugfix: only process the latest MIDI program change event.
288        - Introducing the LSCP shell, which provides convenient control of the
289          sampler from the command line by providing LSCP aware features.
290        - VirtualMidiDevice: Added support for program change.
291        - VirtualMidiDevice: Added support for bank select (MSB & LSB).
292        - VirtualMidiDevice: Added support for pitch bend.
293        - Aftertouch: extended API to explicitly handle channel pressure and
294          polyphonic key pressure events (so far polyphonic pressure was not
295          supported at all, and channel pressure was rerouted as CC128 but not
296          used so far).
297        - Added initial support for real-time instrument scripts. The script VM
298          code is shared by all sampler engine implemementations, however only the
299          gig file format currently provides support for storing instrument scripts
300          (as LinuxSampler extension to the original GigaStudio 4 format).
301    
302    * Gigasampler format engine:    * Gigasampler format engine:
303      - implemented the "round robin keyboard" dimension      - implemented the "round robin keyboard" dimension
# Line 82  Version CVS HEAD (?) Line 314  Version CVS HEAD (?)
314      - Exclusive Groups: don't ever stop voices of the same note,      - Exclusive Groups: don't ever stop voices of the same note,
315        doesn't sound naturally with a drumkit        doesn't sound naturally with a drumkit
316      - fixed EG1 modulation when attack or release is zero      - fixed EG1 modulation when attack or release is zero
317        - Fixed support for 'aftertouch' attenuation controller.
318        - Fixed crash that happened with velocity split sounds under certain
319          conditions (see also previous commit on libgig).
320        - fixed behaviour of filter LFO
321    
322    * SFZ format engine:    * SFZ format engine:
323      - Initial implementation (not usable yet)      - Initial implementation (not usable yet)
# Line 241  Version CVS HEAD (?) Line 477  Version CVS HEAD (?)
477      - added FLAC support (#191)      - added FLAC support (#191)
478      - sfz parser bugfix: lines starting with whitespace were ignored      - sfz parser bugfix: lines starting with whitespace were ignored
479      - added amplitude opcode      - added amplitude opcode
480        - added support for "#include" instruction
481          (modified patch which was originally posted by Sergey on LS mailing list)
482        - bugfix: generation of velocity curves etc should not be done
483          after each "#include", only after the main file is parsed
484        - bugfix: line numbers in error messages were wrong after "#include"
485        - added support for float and 32 bit sample files
486    
487    * SoundFont format engine:    * SoundFont format engine:
488      - Initial implementation (not usable yet)      - Initial implementation (not usable yet)
# Line 288  Version CVS HEAD (?) Line 530  Version CVS HEAD (?)
530      - VST: implemented retrieval and switching of programs using the      - VST: implemented retrieval and switching of programs using the
531        sampler's internal MIDI instrument mapping system        sampler's internal MIDI instrument mapping system
532    
533      * Instrument editor interface:
534        - Changed instrument editor plugin interface, providing additional
535          informations like the EngineChannel for which the instrument editor was
536          spawned for. This allows the instrument editors to interact more actively
537          with the sampler.
538    
539    * MIDI driver:    * MIDI driver:
540      - ALSA MIDI driver supports now "NAME" device parameter, for overriding      - ALSA MIDI driver supports now "NAME" device parameter, for overriding
541        the ALSA sequencer client name        the ALSA sequencer client name
# Line 307  Version CVS HEAD (?) Line 555  Version CVS HEAD (?)
555        virtual keyboards in frontends / instrument editors being stuck.        virtual keyboards in frontends / instrument editors being stuck.
556      - Bugfix in VirtualMidiDevice: process note on with velocity 0 as note off.      - Bugfix in VirtualMidiDevice: process note on with velocity 0 as note off.
557      - Implemented missing handling of MIDI "running status".      - Implemented missing handling of MIDI "running status".
558      - MME: pass time stamps to the sampler.      - CoreMIDI fix: a MIDIPacket can contain more than one event per packet.
559        - MME bugfix: driver wasn't closed properly
560        - CoreMIDI: automatically connect to all input sources by default (driver
561          parameter "AUTO_BIND").
562        - CoreMIDI: fixed auto bind feature to CoreMIDI ports that go online
563        - CoreMIDI: fixed minor memory leak
564    
565    * audio driver:    * audio driver:
566      - ASIO driver fixes for newer gcc versions (fix from PortAudio)      - ASIO driver fixes for newer gcc versions (fix from PortAudio)
# Line 316  Version CVS HEAD (?) Line 569  Version CVS HEAD (?)
569      - JACK audio: jack_port_get_buffer() was cached and called outside      - JACK audio: jack_port_get_buffer() was cached and called outside
570        RT context.        RT context.
571      - ASIO driver: removed compiler warnings      - ASIO driver: removed compiler warnings
572        - CoreAudio: fixed minor error handling bug
573        - ASIO driver: be more verbose when no ASIO card could be found (fixes #203)
574        - JACK audio: return the JACK server's current sample rate as default value
575          for audio device parameter "SAMPLERATE" (fixes #166).
576    
577    * LSCP server:    * LSCP server:
578      - added support for sending MIDI CC messages via LSCP command      - added support for sending MIDI CC messages via LSCP command
# Line 353  Version CVS HEAD (?) Line 610  Version CVS HEAD (?)
610      - added LSCP commands "SUBSCRIBE EFFECT_INSTANCE_COUNT",      - added LSCP commands "SUBSCRIBE EFFECT_INSTANCE_COUNT",
611        "SUBSCRIBE EFFECT_INSTANCE_INFO", "SUBSCRIBE SEND_EFFECT_CHAIN_COUNT",        "SUBSCRIBE EFFECT_INSTANCE_INFO", "SUBSCRIBE SEND_EFFECT_CHAIN_COUNT",
612        "SUBSCRIBE SEND_EFFECT_CHAIN_INFO"        "SUBSCRIBE SEND_EFFECT_CHAIN_INFO"
613        - provide comprehensive error messages on LSCP syntax errors
614          (suggesting expected next non-terminal symbols)
615        - Fixed client connection not being closed after network errors.
616    
617      * LSCP shell:
618        - Added support for auto correction of obvious and trivial syntax mistakes.
619        - Added support for auto completion by tab key.
620        - Show currently available auto completion while typing.
621        - Added support for browsing command history with up / down keys.
622        - Show all possible next symbols immediately right to the current command
623          line while typing (no double tab required for this feature, as it would
624          be the case in other shells).
625        - Added support for moving cursor left/right with arrow keys.
626        - Added support for built-in LSCP reference documentation, which will
627          automatically show the relevant LSCP reference section on screen as soon
628          as one specific LSCP command was detected while typing on the command
629          line.
630    
631      * Real-time instrument scripts:
632        - Implemented built-in script array variable %CC.
633        - Implemented built-in script int variable $CC_NUM.
634        - Implemented built-in script int variable $EVENT_NOTE.
635        - Implemented built-in script int variable $EVENT_VELOCITY.
636        - Implemented built-in script constant variable $VCC_MONO_AT.
637        - Implemented built-in script constant variable $VCC_PITCH_BEND.
638        - Implemented execution of script event handler "init".
639        - Implemented execution of script event handler "controller".
640        - Implemented execution of script event handler "note".
641        - Implemented execution of script event handler "release".
642        - Implemented built-in script function "play_note()" (only two of the
643          max. four function arguments are currently implemented yet though).
644        - Implemented built-in script int variable $EVENT_ID.
645        - Implemented built-in script function "ignore_event()"
646        - Implemented built-in script function "ignore_controller()" (may have one
647          or no argument).
648        - Implemented built-in script function "set_controller()".
649        - Added extended script VM for the Gigasampler/GigaStudio format sampler
650          engine, which extends the general instrument script VM with Giga format
651          specific variables and functions.
652        - Giga format scripts: added built-in script int constant variables
653          $GIG_DIM_CHANNEL, $GIG_DIM_LAYER, $GIG_DIM_VELOCITY, $GIG_DIM_AFTERTOUCH,
654          $GIG_DIM_RELEASE, $GIG_DIM_KEYBOARD, $GIG_DIM_ROUNDROBIN, $GIG_DIM_RANDOM,
655          $GIG_DIM_SMARTMIDI, $GIG_DIM_ROUNDROBINKEY, $GIG_DIM_MODWHEEL,
656          $GIG_DIM_BREATH, $GIG_DIM_FOOT, $GIG_DIM_PORTAMENTOTIME, $GIG_DIM_EFFECT1,
657          $GIG_DIM_EFFECT2, $GIG_DIM_GENPURPOSE1, $GIG_DIM_GENPURPOSE2,
658          $GIG_DIM_GENPURPOSE3, $GIG_DIM_GENPURPOSE4, $GIG_DIM_SUSTAIN,
659          $GIG_DIM_PORTAMENTO, $GIG_DIM_SOSTENUTO, $GIG_DIM_SOFT,
660          $GIG_DIM_GENPURPOSE5, $GIG_DIM_GENPURPOSE6, $GIG_DIM_GENPURPOSE7,
661          $GIG_DIM_GENPURPOSE8, $GIG_DIM_EFFECT1DEPTH, $GIG_DIM_EFFECT2DEPTH,
662          $GIG_DIM_EFFECT3DEPTH, $GIG_DIM_EFFECT4DEPTH, $GIG_DIM_EFFECT5DEPTH.
663        - Giga format scripts: Implemented built-in script function
664          "gig_set_dim_zone(event_id, dimension, zone)".
665        - Implemented built-in script int array variable $KEY_DOWN.
666        - Implemented built-in script function "abs()".
667        - Implemented built-in script function "random()".
668        - Implemented built-in script function "num_elements()".
669        - Implemented built-in script function "note_off()".
670        - Implemented built-in script function "set_event_mark()".
671        - Implemented built-in script function "delete_event_mark()".
672        - Implemented built-in script function "by_marks()".
673        - Added built-in script int const variables $MARK_1 to $MARK_28.
674        - Built-in script functions "ignore_event()", "note_off()" and
675          "gig_set_dim_zone()" now also accept an array of event IDs as argument
676          (i.e. return value of new script function "by_marks()").
677        - Pass/preserve polyphonic variable data from respective "note" event
678          handler to "release" event handler.
679        - Fixed crash when using built-in script function "by_marks()".
680    
681    * Bug fixes:    * Bug fixes:
682      - 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 398  Version CVS HEAD (?) Line 722  Version CVS HEAD (?)
722        (labelled "Disk stream not available in time")        (labelled "Disk stream not available in time")
723      - Update effects on sample rate & period size changes (to avoid      - Update effects on sample rate & period size changes (to avoid
724        crashes and noise on such transitions).        crashes and noise on such transitions).
725        - ignore missing LADSPA paths without ignoring valid LADSPA paths
726          (fixes #208)
727        - Fixed bug in LSCP grammar definition which caused a statement like
728          "GET SERVER INFOasdf\n" to be accepted as valid statement (was so far
729          practically irrelevant, however it caused problems with the new LSCP
730          shell's auto completion feature).
731        - Fixed MIDI program change messages being ignored if quickly executed
732          after each other (fixes #231).
733    
734  Version 1.0.0 (31 July 2009)  Version 1.0.0 (31 July 2009)
735    
# Line 462  Version 1.0.0 (31 July 2009) Line 794  Version 1.0.0 (31 July 2009)
794      - Windows: add the installation directory to the DLL search path      - Windows: add the installation directory to the DLL search path
795        when loading an editor plugin (solves problems with VST and        when loading an editor plugin (solves problems with VST and
796        gigedit on systems with other GTK versions installed)        gigedit on systems with other GTK versions installed)
797        - updated linuxsampler man page
798    
799    * audio driver:    * audio driver:
800      - removed the nonsense audio channel constraint (which was hard coded to      - removed the nonsense audio channel constraint (which was hard coded to

Legend:
Removed from v.2427  
changed lines
  Added in v.3221

  ViewVC Help
Powered by ViewVC