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 |
|
- Implemented built-in script function "same_region()" (currently only |
182 |
|
available for gig format engine). |
183 |
|
- Added built-in script constant "$NKSP_LINEAR". |
184 |
|
- Added built-in script constant "$NKSP_EASE_IN_EASE_OUT". |
185 |
|
- Implemented built-in script function "change_vol_curve()". |
186 |
|
- Implemented built-in script function "change_tune_curve()". |
187 |
|
- built-in "play_note()" function now supports a sample playback start |
188 |
|
offset with argument 3, where special value -1 means to use the regular |
189 |
|
sample offset as defined by the instrument file. |
190 |
|
- Built-in array variable %KEY_DOWN[] is now a read-only variable. |
191 |
|
- Built-in variable $EVENT_NOTE is now a read-only variable. |
192 |
|
- Built-in variable $EVENT_VELOCITY is now a read-only variable. |
193 |
|
- built-in "play_note()" function now accepts -2 for its fourth argument |
194 |
|
(note duration) which means the life time of the note shall be sticked |
195 |
|
to the requested note number of argument 1. |
196 |
|
- Fix: built-in "play_note()" function now returns 0 as result value if |
197 |
|
-1 was passed for its fourth argument (note duration) and the respective |
198 |
|
parent note is already gone. |
199 |
|
- Implemented built-in script function "change_play_pos()". |
200 |
|
- NKSP language: Added support for user declared const array variables. |
201 |
|
- NKSP language: Raise parser warning if array variable is accessed with |
202 |
|
an index that exceeds the array's size. |
203 |
|
- NKSP language fix: Unknown characters were not handled correctly. |
204 |
|
- NKSP language: Added support for "synchronized .. end synchronized" |
205 |
|
code blocks. |
206 |
|
- Implemented built-in script function "abort()" which allows to abort |
207 |
|
another script handler by passing its callback ID. |
208 |
|
- Fixed potential memory access bug and potential undefined behavior of |
209 |
|
"init" event handlers. |
210 |
|
- Print a time stamp along to each call of built-in function "message()". |
211 |
|
- ScriptVM API: Added VMParserContext::preprocessorComments() which allows |
212 |
|
to retrieve all code blocks filtered out by the preprocessor. |
213 |
|
|
214 |
|
* Instruments DB: |
215 |
|
- Fixed memory access bug of general DB access code which lead to |
216 |
|
undefined behavior. |
217 |
|
- Cleanup of instruments DB file creation and opening code. |
218 |
|
- The instrument DB path of linuxsampler's --create-instruments-db argument |
219 |
|
is now optional, if it is missing, then a default location is used. |
220 |
|
- Added support for scanning SFZ (.sfz) files. |
221 |
|
- Added support for scanning Sound Font (.sf2) files. |
222 |
|
- Fixed undefined DB transaction behavior. |
223 |
|
|
224 |
|
Version 2.0.0 (15 July 2015) |
225 |
|
|
226 |
* packaging changes: |
* packaging changes: |
227 |
- fixed building with newer MinGW-w64 |
- fixed building with newer MinGW-w64 |
562 |
- VST: implemented retrieval and switching of programs using the |
- VST: implemented retrieval and switching of programs using the |
563 |
sampler's internal MIDI instrument mapping system |
sampler's internal MIDI instrument mapping system |
564 |
|
|
565 |
|
* Instrument editor interface: |
566 |
|
- Changed instrument editor plugin interface, providing additional |
567 |
|
informations like the EngineChannel for which the instrument editor was |
568 |
|
spawned for. This allows the instrument editors to interact more actively |
569 |
|
with the sampler. |
570 |
|
|
571 |
* MIDI driver: |
* MIDI driver: |
572 |
- ALSA MIDI driver supports now "NAME" device parameter, for overriding |
- ALSA MIDI driver supports now "NAME" device parameter, for overriding |
573 |
the ALSA sequencer client name |
the ALSA sequencer client name |
591 |
- MME bugfix: driver wasn't closed properly |
- MME bugfix: driver wasn't closed properly |
592 |
- CoreMIDI: automatically connect to all input sources by default (driver |
- CoreMIDI: automatically connect to all input sources by default (driver |
593 |
parameter "AUTO_BIND"). |
parameter "AUTO_BIND"). |
594 |
|
- CoreMIDI: fixed auto bind feature to CoreMIDI ports that go online |
595 |
|
- CoreMIDI: fixed minor memory leak |
596 |
|
|
597 |
* audio driver: |
* audio driver: |
598 |
- ASIO driver fixes for newer gcc versions (fix from PortAudio) |
- ASIO driver fixes for newer gcc versions (fix from PortAudio) |
644 |
"SUBSCRIBE SEND_EFFECT_CHAIN_INFO" |
"SUBSCRIBE SEND_EFFECT_CHAIN_INFO" |
645 |
- provide comprehensive error messages on LSCP syntax errors |
- provide comprehensive error messages on LSCP syntax errors |
646 |
(suggesting expected next non-terminal symbols) |
(suggesting expected next non-terminal symbols) |
647 |
|
- Fixed client connection not being closed after network errors. |
648 |
|
|
649 |
* LSCP shell: |
* LSCP shell: |
650 |
- Added support for auto correction of obvious and trivial syntax mistakes. |
- Added support for auto correction of obvious and trivial syntax mistakes. |
694 |
$GIG_DIM_EFFECT3DEPTH, $GIG_DIM_EFFECT4DEPTH, $GIG_DIM_EFFECT5DEPTH. |
$GIG_DIM_EFFECT3DEPTH, $GIG_DIM_EFFECT4DEPTH, $GIG_DIM_EFFECT5DEPTH. |
695 |
- Giga format scripts: Implemented built-in script function |
- Giga format scripts: Implemented built-in script function |
696 |
"gig_set_dim_zone(event_id, dimension, zone)". |
"gig_set_dim_zone(event_id, dimension, zone)". |
697 |
- Implemented built-in script int array variable $KEY_DOWN. |
- Implemented built-in script int array variable %KEY_DOWN. |
698 |
- Implemented built-in script function "abs()". |
- Implemented built-in script function "abs()". |
699 |
- Implemented built-in script function "random()". |
- Implemented built-in script function "random()". |
700 |
- Implemented built-in script function "num_elements()". |
- Implemented built-in script function "num_elements()". |
708 |
(i.e. return value of new script function "by_marks()"). |
(i.e. return value of new script function "by_marks()"). |
709 |
- Pass/preserve polyphonic variable data from respective "note" event |
- Pass/preserve polyphonic variable data from respective "note" event |
710 |
handler to "release" event handler. |
handler to "release" event handler. |
711 |
|
- Fixed crash when using built-in script function "by_marks()". |
712 |
|
|
713 |
* Bug fixes: |
* Bug fixes: |
714 |
- 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 |