1 |
Version SVN trunk (?) |
Version SVN trunk (?) |
2 |
|
|
3 |
|
* general changes: |
4 |
|
- Fixed compiler error in Pool.h. |
5 |
|
|
6 |
|
* test cases: |
7 |
|
- Fixed compiler errors in test cases. |
8 |
|
- Updated README for how to compile & run test cases. |
9 |
|
- Updated test case |
10 |
|
MutexTest::testDoubleLockStillBlocksConcurrentThread() to latest |
11 |
|
expected behaviour of the Mutex class implementation (recursive |
12 |
|
mutex type). |
13 |
|
|
14 |
|
Version 2.1.1 (27 Jul 2019) |
15 |
|
|
16 |
|
* Real-time instrument scripts: |
17 |
|
- Fixed behavior of built-in NKSP functions change_sustain(), |
18 |
|
change_cutoff_attack(), change_cutoff_decay(), change_cutoff_sustain() |
19 |
|
and change_cutoff_release(). |
20 |
|
|
21 |
|
* general changes: |
22 |
|
- Only play release trigger samples on sustain pedal up if this behaviour |
23 |
|
was explicitly requested by the instrument (otherwise only on note-off). |
24 |
|
- Fixed compiler warnings. |
25 |
|
- Fixed compilation error when cross-compiling to Mac. |
26 |
|
- FX Sends: Provide more useful error messages on routing problems |
27 |
|
(see bug #169). |
28 |
|
- LSCP doc: Be more clear describing the two distinct approaches |
29 |
|
of using external vs. internal effects (see bug #169). |
30 |
|
- "optional" class: Fixed comparison operators. |
31 |
|
|
32 |
|
* Gigasampler/GigaStudio format engine: |
33 |
|
- Format extension: If requested by instrument then don't play release |
34 |
|
trigger sample on note-off events. |
35 |
|
|
36 |
|
* SFZ format engine: |
37 |
|
- Fixed memory leak when releasing samples |
38 |
|
(fixes bug #307, patch by Jacek Roszkowski) |
39 |
|
- Fixed potential crash when a sample is shared by more than one region |
40 |
|
(fixes bug #308, patch by Jacek Roszkowski). |
41 |
|
- Opcode 'sample': Added support for built-in sample '*silence' |
42 |
|
(fixes bug #310, patch by Jacek Roszkowski). |
43 |
|
|
44 |
|
Version 2.1.0 (25 Nov 2017) |
45 |
|
|
46 |
* SFZ format engine: |
* SFZ format engine: |
47 |
- added support for <global>, <master> and #define (patch by Alby M) |
- added support for <global>, <master> and #define (patch by Alby M) |
48 |
|
- Removed code duplication in SFZ file loading code. |
49 |
|
- Added support for sfz extension opcode 'script' which may be used to |
50 |
|
load real-time instrument script file (NKSP script language). |
51 |
|
- Implemented opcode set_ccN (initial patch by Giovanni Senatore). |
52 |
|
- Fixed unintended volume fade-in of voices under certain conditions. |
53 |
|
- sfz parser: allow missing space between header and opcode |
54 |
|
|
55 |
|
* Gigasampler/GigaStudio format engine: |
56 |
|
- Fixed clicks and pumping noise with Lowpass Turbo filter on very low |
57 |
|
cutoff settings. |
58 |
|
- Got rid of resembling an ancient GSt misbehavior which did not pitch at |
59 |
|
all if an up-pitch of more than 40 semi tones was requested (I don't |
60 |
|
think there is any stock gig sound that requires this behavior to |
61 |
|
resemble its original sound). |
62 |
|
- Added support for controlling whether the individual EGADSR stages may |
63 |
|
be aborted (as LinuxSampler extension to the original GigaStudio 4 |
64 |
|
format). |
65 |
|
|
66 |
* general changes: |
* general changes: |
67 |
- fixed printf type errors (mostly in debug messages) |
- fixed printf type errors (mostly in debug messages) |
80 |
being directly assigned to a keyboard key. This allows more fine graded |
being directly assigned to a keyboard key. This allows more fine graded |
81 |
processing of voices, which is i.e. required for certain instrument |
processing of voices, which is i.e. required for certain instrument |
82 |
script features. |
script features. |
83 |
|
- Fix: Release trigger voices were not spawned on sustain pedal up |
84 |
|
(CC #64) events. |
85 |
|
- Fix: Release trigger voices can now also distinguish correctly between |
86 |
|
note-off and sustain pedal up events. |
87 |
|
- All engines: Increased ramp speed of volume smoother and pan smoother |
88 |
|
(while slow rate of crossfade smoother is preserved) to allow quick |
89 |
|
volume and pan changes by instrument scripts for instance. |
90 |
|
- gig/sf2/sfz: Fixed aftertouch channel pressure events being processed |
91 |
|
properly and thus were ignored for certain uses. |
92 |
|
- Added new C++ API method |
93 |
|
VirtualMidiDevice::SendChannelPressureToSampler(). |
94 |
|
- windows, 32-bit: fixed potential crashes by making sure the stack in |
95 |
|
sub threads is 16-byte aligned |
96 |
|
- fixed numerous compiler warnings |
97 |
|
- Fixed invalid (note-on) event ID being assigned to new Note objects. |
98 |
|
- Revised fundamental C++ classes "Thread", "Mutex" and "Condition" which |
99 |
|
fixes potential undefined behavior. |
100 |
|
- Fixed Note object leak when triggering notes on keys which did not |
101 |
|
have a valid sample mapped (fixes bug #252). |
102 |
|
- Fixed compilation errors when compiling with CONFIG_DEVMODE enabled. |
103 |
|
- linuxsampler binary fix: option --create-instruments-db ignored |
104 |
|
subsequent optional argument due to glibc's implementation oddity |
105 |
|
which expects a "=" sign, but no space between them. |
106 |
|
|
107 |
* packaging changes: |
* packaging changes: |
108 |
- removed unnecessary dependency to libuuid |
- removed unnecessary dependency to libuuid |
109 |
(originated by libgig's usage of it) |
(originated by libgig's usage of it) |
110 |
- Automake: set environment variable GCC_COLORS=auto to allow GCC to |
- Automake: set environment variable GCC_COLORS=auto to allow GCC to |
111 |
auto detect whether it (sh/c)ould output its messages in color. |
auto detect whether it (sh/c)ould output its messages in color. |
112 |
|
- Debian: Fixed packaging error about invalid "Source-Version" |
113 |
|
substitution variable. |
114 |
|
- Debian: Raised Debian compatibility level to Debian 9 "Stretch". |
115 |
|
- Debian: Added build dependency to libsqlite3-dev for building |
116 |
|
linuxsampler with instruments DB support. |
117 |
|
|
118 |
* Real-time instrument scripts: |
* Real-time instrument scripts: |
119 |
- Implemented scheduler for delayed MIDI events and for suspended scripts. |
- Implemented scheduler for delayed MIDI events and for suspended scripts. |
135 |
- Added new API method ScriptVM::syntaxHighlighting() which provides |
- Added new API method ScriptVM::syntaxHighlighting() which provides |
136 |
a convenient syntax highlighting backend for external instrument |
a convenient syntax highlighting backend for external instrument |
137 |
script editor applications. |
script editor applications. |
138 |
|
- Added new C++ API class "ScriptVMFactory". |
139 |
|
- Extended parser issues to provide not only first line and first |
140 |
|
column, but also last line and last column of issue (thus marking |
141 |
|
the precise span of the issue within the source code). |
142 |
|
- Reload script automatically after being modified by an instrument |
143 |
|
editor. |
144 |
|
- NKSP language grammar correction: allow empty event handler bodies |
145 |
|
like "on note end on". |
146 |
|
- Implemented built-in script function "change_vol()". |
147 |
|
- Implemented built-in script function "change_tune()". |
148 |
|
- Implemented built-in script function "change_pan()". |
149 |
|
- Implemented built-in script function "change_cutoff()". |
150 |
|
- Implemented built-in script function "change_reso()". |
151 |
|
- Implemented built-in script function "event_status()". |
152 |
|
- Added built-in script constants "$EVENT_STATUS_INACTIVE" and |
153 |
|
"$EVENT_STATUS_NOTE_QUEUE" both for being used as flags for |
154 |
|
"event_status()" function. |
155 |
|
- NKSP language: Added support for bitwise operators ".or.", ".and." |
156 |
|
and ".not.". |
157 |
|
- NKSP language scanner: Fixed IDs matching to require at least one |
158 |
|
character (i.e. when matching function names or variable names). |
159 |
|
- NKSP language scanner: disabled unusued rules. |
160 |
|
- Fixed behavior of play_note() and note_off() functions which must |
161 |
|
be distinguished engine internally from "real" MIDI note on/off |
162 |
|
events in order to avoid misbehaviors like hanging notes. |
163 |
|
- Implemented built-in script variable "$KSP_TIMER". |
164 |
|
- Implemented built-in script variable "$NKSP_REAL_TIMER". |
165 |
|
- Implemented built-in script variable "$NKSP_PERF_TIMER". |
166 |
|
- Implemented built-in script variable "$ENGINE_UPTIME". |
167 |
|
- Implemented built-in script function "inc()". |
168 |
|
- Implemented built-in script function "dec()". |
169 |
|
- NKSP language fix: division expressions were evaluated too often. |
170 |
|
- NKSP language fix: string concatenation operator was right |
171 |
|
associative instead of left (to right). |
172 |
|
- NKSP language correction: allow empty statements in entire language |
173 |
|
(i.e. "if end if"). |
174 |
|
- Implemented built-in script function "stop_wait()". |
175 |
|
- Implemented built-in script variable "$NI_CALLBACK_ID". |
176 |
|
- Implemented built-in script variable "$NI_CALLBACK_TYPE". |
177 |
|
- Implemented built-in script variable "$NKSP_IGNORE_WAIT". |
178 |
|
- Added support for read-only built-in variables (respectively |
179 |
|
handled by the script parser). |
180 |
|
- Added built-in script constant "$NI_CB_TYPE_INIT". |
181 |
|
- Added built-in script constant "$NI_CB_TYPE_NOTE". |
182 |
|
- Added built-in script constant "$NI_CB_TYPE_RELEASE". |
183 |
|
- Added built-in script constant "$NI_CB_TYPE_CONTROLLER". |
184 |
|
- NKSP Language: Added support for user defined script functions. |
185 |
|
- Implemented built-in script function "change_attack()". |
186 |
|
- Implemented built-in script function "change_decay()". |
187 |
|
- Implemented built-in script function "change_release()". |
188 |
|
- Fixed all change_*() built-in script functions to apply their |
189 |
|
synthesis parameter changes immediately in case the respective note |
190 |
|
was triggered at the same time, instead of scheduling the parameter |
191 |
|
change, especially because it would cause some parameter types's |
192 |
|
changes either to be ramped (i.e. change_vol()) or other types even |
193 |
|
to have not effect at all (i.e. change_attack()). |
194 |
|
- Implemented built-in script function "sh_left()". |
195 |
|
- Implemented built-in script function "sh_right()". |
196 |
|
- Implemented built-in script function "min()". |
197 |
|
- Implemented built-in script function "max()". |
198 |
|
- NKSP Fix: "init" event handler was not always executed when a script |
199 |
|
was loaded. |
200 |
|
- NKSP built-in wait() script function: abort script execution if |
201 |
|
a negative or zero wait time was passed as argument (since this is |
202 |
|
a common indication of a bug either of the script or even of the |
203 |
|
engine, which could lead to RT instability or even worse). |
204 |
|
- ScriptVM: Implemented automatic suspension of RT safety |
205 |
|
threatening scripts. |
206 |
|
- Provide more user friendly error messages on syntax errors. |
207 |
|
- Fixed NKSP parser warning "Not a statement" when assigning an |
208 |
|
initializer list to an array variable. |
209 |
|
- Implemented built-in script array variable "%ALL_EVENTS". |
210 |
|
- Implemented built-in script function "in_range()". |
211 |
|
- Implemented built-in script function "change_amp_lfo_depth()". |
212 |
|
- Implemented built-in script function "change_amp_lfo_freq()". |
213 |
|
- Implemented built-in script function "change_pitch_lfo_depth()". |
214 |
|
- Implemented built-in script function "change_pitch_lfo_freq()". |
215 |
|
- Implemented built-in script function "change_vol_time()". |
216 |
|
- Implemented built-in script function "change_tune_time()". |
217 |
|
- Implemented built-in script function "fade_in()". |
218 |
|
- Implemented built-in script function "fade_out()". |
219 |
|
- Fixed acceptance of wrong data type of parameters passed to built-in |
220 |
|
script functions "change_vol()", "change_tune()", "change_pan()", |
221 |
|
"change_cutoff()", "change_reso()", "change_attack()", "change_decay()", |
222 |
|
"change_release()", "change_amp_lfo_depth()", "change_amp_lfo_freq()", |
223 |
|
"change_pitch_lfo_depth()" and "change_pitch_lfo_freq()". |
224 |
|
- Added built-in script function "get_event_par()" and implemented some |
225 |
|
of its possible parameter selections. |
226 |
|
- Added built-in script function "set_event_par()" and implemented some |
227 |
|
of its possible parameter selections. |
228 |
|
- Fixed a bunch of scheduler time related bugs. |
229 |
|
- Fixed polyphonic variables not being reset to zero after usage. |
230 |
|
- Built-in "ignore_event()" function: argument is now optional, like with |
231 |
|
built-in function "ignore_controller()". |
232 |
|
- Implemented built-in script function "change_velo()". |
233 |
|
- Implemented built-in script function "change_note()". |
234 |
|
- Adjusted behavior of "change_vol()" and "change_tune()" to a more |
235 |
|
intuitive behavior if used in combination with "change_vol_time()" or |
236 |
|
"change_tune_time()" respectively: now tuning/volume changes are only |
237 |
|
assigned (without delay) immediately to a new note if the respective |
238 |
|
timing function has not been called before, otherwise the volume/tuning |
239 |
|
changes are automatically faded (before, only the event's time stamp was |
240 |
|
relevant). |
241 |
|
- Implemented built-in script function "array_equal()". |
242 |
|
- Implemented built-in script function "search()". |
243 |
|
- Implemented built-in script function "sort()". |
244 |
|
- NKSP Fix: Never suspend "init" event handlers. |
245 |
|
- Implemented built-in script function "same_region()" (currently only |
246 |
|
available for gig format engine). |
247 |
|
- Added built-in script constant "$NKSP_LINEAR". |
248 |
|
- Added built-in script constant "$NKSP_EASE_IN_EASE_OUT". |
249 |
|
- Implemented built-in script function "change_vol_curve()". |
250 |
|
- Implemented built-in script function "change_tune_curve()". |
251 |
|
- built-in "play_note()" function now supports a sample playback start |
252 |
|
offset with argument 3, where special value -1 means to use the regular |
253 |
|
sample offset as defined by the instrument file. |
254 |
|
- Built-in array variable %KEY_DOWN[] is now a read-only variable. |
255 |
|
- Built-in variable $EVENT_NOTE is now a read-only variable. |
256 |
|
- Built-in variable $EVENT_VELOCITY is now a read-only variable. |
257 |
|
- built-in "play_note()" function now accepts -2 for its fourth argument |
258 |
|
(note duration) which means the life time of the note shall be sticked |
259 |
|
to the requested note number of argument 1. |
260 |
|
- Fix: built-in "play_note()" function now returns 0 as result value if |
261 |
|
-1 was passed for its fourth argument (note duration) and the respective |
262 |
|
parent note is already gone. |
263 |
|
- Implemented built-in script function "change_play_pos()". |
264 |
|
- NKSP language: Added support for user declared const array variables. |
265 |
|
- NKSP language: Raise parser warning if array variable is accessed with |
266 |
|
an index that exceeds the array's size. |
267 |
|
- NKSP language fix: Unknown characters were not handled correctly. |
268 |
|
- NKSP language: Added support for "synchronized .. end synchronized" |
269 |
|
code blocks. |
270 |
|
- Implemented built-in script function "abort()" which allows to abort |
271 |
|
another script handler by passing its callback ID. |
272 |
|
- Fixed potential memory access bug and potential undefined behavior of |
273 |
|
"init" event handlers. |
274 |
|
- Print a time stamp along to each call of built-in function "message()". |
275 |
|
- ScriptVM API: Added VMParserContext::preprocessorComments() which allows |
276 |
|
to retrieve all code blocks filtered out by the preprocessor. |
277 |
|
- Added built-in script function "fork()". |
278 |
|
- Added built-in array variable %NKSP_CALLBACK_CHILD_ID[]. |
279 |
|
- Added built-in variable $NKSP_CALLBACK_PARENT_ID. |
280 |
|
- Fixed potential crash when accessing dynamic built-in array variables. |
281 |
|
- Added built-in script function "callback_status()". |
282 |
|
- Added built-in constant $CALLBACK_STATUS_TERMINATED. |
283 |
|
- Added built-in constant $CALLBACK_STATUS_QUEUE. |
284 |
|
- Added built-in constant $CALLBACK_STATUS_RUNNING. |
285 |
|
- Removed max. value limitation of built-in functions "change_attack()", |
286 |
|
"change_decay()" and "change_release()" to i.e. allow passing 2000000 |
287 |
|
for doubling the respective time. |
288 |
|
- NKSP script editor syntax highlighting API: Fixed app termination due |
289 |
|
to a lexer start condition stack underrun. |
290 |
|
- NKSP preprocessor: Fixed wrong behavior on nested USE_CODE_IF() and |
291 |
|
USE_CODE_IF_NOT() preprocessor statements. |
292 |
|
- NKSP: Added built-in preprocessor condition NKSP_NO_MESSAGE, which |
293 |
|
can be set to disable all subsequent built-in "message()" function calls |
294 |
|
on preprocessor level. |
295 |
|
- Implemented built-in script function "change_sustain()". |
296 |
|
- NKSP script editor syntax highlighting API: catch all fatal lexer errors, |
297 |
|
to avoid the editor app to crash on ill-formed text input. |
298 |
|
- Added built-in script function "change_pan_time()". |
299 |
|
- Added built-in script function "change_pan_curve()". |
300 |
|
- Added built-in script function "change_cutoff_attack()". |
301 |
|
- Added built-in script function "change_cutoff_decay()". |
302 |
|
- Added built-in script function "change_cutoff_sustain()". |
303 |
|
- Added built-in script function "change_cutoff_release()". |
304 |
|
- Added built-in script function "change_cutoff_lfo_depth()". |
305 |
|
- Added built-in script function "change_cutoff_lfo_freq()". |
306 |
|
|
307 |
|
* Instruments DB: |
308 |
|
- Fixed memory access bug of general DB access code which lead to |
309 |
|
undefined behavior. |
310 |
|
- Cleanup of instruments DB file creation and opening code. |
311 |
|
- The instrument DB path of linuxsampler's --create-instruments-db argument |
312 |
|
is now optional, if it is missing, then a default location is used. |
313 |
|
- Added support for scanning SFZ (.sfz) files. |
314 |
|
- Added support for scanning Sound Font (.sf2) files. |
315 |
|
- Fixed undefined DB transaction behavior. |
316 |
|
|
317 |
Version 2.0.0 (15 July 2015) |
Version 2.0.0 (15 July 2015) |
318 |
|
|
737 |
"SUBSCRIBE SEND_EFFECT_CHAIN_INFO" |
"SUBSCRIBE SEND_EFFECT_CHAIN_INFO" |
738 |
- provide comprehensive error messages on LSCP syntax errors |
- provide comprehensive error messages on LSCP syntax errors |
739 |
(suggesting expected next non-terminal symbols) |
(suggesting expected next non-terminal symbols) |
740 |
|
- Fixed client connection not being closed after network errors. |
741 |
|
|
742 |
* LSCP shell: |
* LSCP shell: |
743 |
- Added support for auto correction of obvious and trivial syntax mistakes. |
- Added support for auto correction of obvious and trivial syntax mistakes. |
787 |
$GIG_DIM_EFFECT3DEPTH, $GIG_DIM_EFFECT4DEPTH, $GIG_DIM_EFFECT5DEPTH. |
$GIG_DIM_EFFECT3DEPTH, $GIG_DIM_EFFECT4DEPTH, $GIG_DIM_EFFECT5DEPTH. |
788 |
- Giga format scripts: Implemented built-in script function |
- Giga format scripts: Implemented built-in script function |
789 |
"gig_set_dim_zone(event_id, dimension, zone)". |
"gig_set_dim_zone(event_id, dimension, zone)". |
790 |
- Implemented built-in script int array variable $KEY_DOWN. |
- Implemented built-in script int array variable %KEY_DOWN. |
791 |
- Implemented built-in script function "abs()". |
- Implemented built-in script function "abs()". |
792 |
- Implemented built-in script function "random()". |
- Implemented built-in script function "random()". |
793 |
- Implemented built-in script function "num_elements()". |
- Implemented built-in script function "num_elements()". |
801 |
(i.e. return value of new script function "by_marks()"). |
(i.e. return value of new script function "by_marks()"). |
802 |
- Pass/preserve polyphonic variable data from respective "note" event |
- Pass/preserve polyphonic variable data from respective "note" event |
803 |
handler to "release" event handler. |
handler to "release" event handler. |
804 |
|
- Fixed crash when using built-in script function "by_marks()". |
805 |
|
|
806 |
* Bug fixes: |
* Bug fixes: |
807 |
- 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 |