1 |
Version SVN trunk (?) |
Version SVN trunk (?) |
2 |
|
|
3 |
|
* general changes: |
4 |
|
- Fixed compiler error in Pool.h. |
5 |
|
- Require C++11 compiler support. |
6 |
|
- Autoconf: Added m4/ax_cxx_compile_stdcxx.m4 macro which is used |
7 |
|
for checking in configure for C++11 support (as mandatory |
8 |
|
requirement) and automatically adds compiler argument if required |
9 |
|
(e.g. -std=C++11). |
10 |
|
|
11 |
|
* Real-time instrument scripts: |
12 |
|
- Added method ScriptVM::setExitResultEnabled() which allows to |
13 |
|
explicitly enable the built-in exit() function to optionally accept |
14 |
|
one function argument; the value of the passed exit() function |
15 |
|
argument will then become available by calling |
16 |
|
VMExecContext::exitResult() after script execution. |
17 |
|
- 64 bit support for NKSP integer scripts variables (declare $foo). |
18 |
|
- Variable names, function names and preprocessor condition names must start |
19 |
|
with a regular character (a-z or A-Z); starting them with a digit or |
20 |
|
underscore is not allowed. |
21 |
|
- NKSP parser fix: equal comparison operator "=" and not equal comparison |
22 |
|
operator "#" must only accept integer operands. |
23 |
|
- NKSP language: Implemented support for standard units like Hertz, seconds, |
24 |
|
Bel including support for metric unit prefixes; so one can now e.g. |
25 |
|
conveniently use numbers in scripts like "5us" meaning "5 microseconds", |
26 |
|
or e.g. "12kHz" meaning "12 kilo Hertz", or e.g. "-14mdB" meaning |
27 |
|
"minus 14 Millidecibel", or e.g. "28c" meaning "28 cents" (for tuning). |
28 |
|
- NKSP language: Introduced "final" operator "!" which is specifically |
29 |
|
intended for synthesis parameter values to denote that the synthesis |
30 |
|
parameter value is intended to be the "final" value for that synthesis |
31 |
|
parameter that should explicitly be used by the engine and thus causing |
32 |
|
the sampler engine to ignore all other modulation sources for the same |
33 |
|
synthesis parameter (like e.g. LFO, EG); by simply prefixing a value, |
34 |
|
variable or formula with this new "!" operator the expression is marked as |
35 |
|
being "final". |
36 |
|
- NKSP script editor API: Added support for detecting standard unit tokens |
37 |
|
and their potential metric prefix token. |
38 |
|
|
39 |
|
* test cases: |
40 |
|
- Fixed compiler errors in test cases. |
41 |
|
- Updated README for how to compile & run test cases. |
42 |
|
- Updated test case |
43 |
|
MutexTest::testDoubleLockStillBlocksConcurrentThread() to latest |
44 |
|
expected behaviour of the Mutex class implementation (recursive |
45 |
|
mutex type). |
46 |
|
- Added test cases for NKSP core language aspects and core built-in |
47 |
|
functions. |
48 |
|
- Fixed thread tests segfaulting on Linux. |
49 |
|
|
50 |
|
Version 2.1.1 (27 Jul 2019) |
51 |
|
|
52 |
|
* Real-time instrument scripts: |
53 |
|
- Fixed behavior of built-in NKSP functions change_sustain(), |
54 |
|
change_cutoff_attack(), change_cutoff_decay(), change_cutoff_sustain() |
55 |
|
and change_cutoff_release(). |
56 |
|
|
57 |
|
* general changes: |
58 |
|
- Only play release trigger samples on sustain pedal up if this behaviour |
59 |
|
was explicitly requested by the instrument (otherwise only on note-off). |
60 |
|
- Fixed compiler warnings. |
61 |
|
- Fixed compilation error when cross-compiling to Mac. |
62 |
|
- FX Sends: Provide more useful error messages on routing problems |
63 |
|
(see bug #169). |
64 |
|
- LSCP doc: Be more clear describing the two distinct approaches |
65 |
|
of using external vs. internal effects (see bug #169). |
66 |
|
- "optional" class: Fixed comparison operators. |
67 |
|
|
68 |
|
* Gigasampler/GigaStudio format engine: |
69 |
|
- Format extension: If requested by instrument then don't play release |
70 |
|
trigger sample on note-off events. |
71 |
|
|
72 |
|
* SFZ format engine: |
73 |
|
- Fixed memory leak when releasing samples |
74 |
|
(fixes bug #307, patch by Jacek Roszkowski) |
75 |
|
- Fixed potential crash when a sample is shared by more than one region |
76 |
|
(fixes bug #308, patch by Jacek Roszkowski). |
77 |
|
- Opcode 'sample': Added support for built-in sample '*silence' |
78 |
|
(fixes bug #310, patch by Jacek Roszkowski). |
79 |
|
|
80 |
|
Version 2.1.0 (25 Nov 2017) |
81 |
|
|
82 |
* SFZ format engine: |
* SFZ format engine: |
83 |
- added support for <global>, <master> and #define (patch by Alby M) |
- added support for <global>, <master> and #define (patch by Alby M) |
84 |
|
- Removed code duplication in SFZ file loading code. |
85 |
|
- Added support for sfz extension opcode 'script' which may be used to |
86 |
|
load real-time instrument script file (NKSP script language). |
87 |
|
- Implemented opcode set_ccN (initial patch by Giovanni Senatore). |
88 |
|
- Fixed unintended volume fade-in of voices under certain conditions. |
89 |
|
- sfz parser: allow missing space between header and opcode |
90 |
|
|
91 |
|
* Gigasampler/GigaStudio format engine: |
92 |
|
- Fixed clicks and pumping noise with Lowpass Turbo filter on very low |
93 |
|
cutoff settings. |
94 |
|
- Got rid of resembling an ancient GSt misbehavior which did not pitch at |
95 |
|
all if an up-pitch of more than 40 semi tones was requested (I don't |
96 |
|
think there is any stock gig sound that requires this behavior to |
97 |
|
resemble its original sound). |
98 |
|
- Added support for controlling whether the individual EGADSR stages may |
99 |
|
be aborted (as LinuxSampler extension to the original GigaStudio 4 |
100 |
|
format). |
101 |
|
|
102 |
* general changes: |
* general changes: |
103 |
- fixed printf type errors (mostly in debug messages) |
- fixed printf type errors (mostly in debug messages) |
127 |
properly and thus were ignored for certain uses. |
properly and thus were ignored for certain uses. |
128 |
- Added new C++ API method |
- Added new C++ API method |
129 |
VirtualMidiDevice::SendChannelPressureToSampler(). |
VirtualMidiDevice::SendChannelPressureToSampler(). |
130 |
|
- windows, 32-bit: fixed potential crashes by making sure the stack in |
131 |
|
sub threads is 16-byte aligned |
132 |
|
- fixed numerous compiler warnings |
133 |
|
- Fixed invalid (note-on) event ID being assigned to new Note objects. |
134 |
|
- Revised fundamental C++ classes "Thread", "Mutex" and "Condition" which |
135 |
|
fixes potential undefined behavior. |
136 |
|
- Fixed Note object leak when triggering notes on keys which did not |
137 |
|
have a valid sample mapped (fixes bug #252). |
138 |
|
- Fixed compilation errors when compiling with CONFIG_DEVMODE enabled. |
139 |
|
- linuxsampler binary fix: option --create-instruments-db ignored |
140 |
|
subsequent optional argument due to glibc's implementation oddity |
141 |
|
which expects a "=" sign, but no space between them. |
142 |
|
|
143 |
* packaging changes: |
* packaging changes: |
144 |
- removed unnecessary dependency to libuuid |
- removed unnecessary dependency to libuuid |
145 |
(originated by libgig's usage of it) |
(originated by libgig's usage of it) |
146 |
- Automake: set environment variable GCC_COLORS=auto to allow GCC to |
- Automake: set environment variable GCC_COLORS=auto to allow GCC to |
147 |
auto detect whether it (sh/c)ould output its messages in color. |
auto detect whether it (sh/c)ould output its messages in color. |
148 |
|
- Debian: Fixed packaging error about invalid "Source-Version" |
149 |
|
substitution variable. |
150 |
|
- Debian: Raised Debian compatibility level to Debian 9 "Stretch". |
151 |
|
- Debian: Added build dependency to libsqlite3-dev for building |
152 |
|
linuxsampler with instruments DB support. |
153 |
|
|
154 |
* Real-time instrument scripts: |
* Real-time instrument scripts: |
155 |
- Implemented scheduler for delayed MIDI events and for suspended scripts. |
- Implemented scheduler for delayed MIDI events and for suspended scripts. |
242 |
- Provide more user friendly error messages on syntax errors. |
- Provide more user friendly error messages on syntax errors. |
243 |
- Fixed NKSP parser warning "Not a statement" when assigning an |
- Fixed NKSP parser warning "Not a statement" when assigning an |
244 |
initializer list to an array variable. |
initializer list to an array variable. |
245 |
|
- Implemented built-in script array variable "%ALL_EVENTS". |
246 |
|
- Implemented built-in script function "in_range()". |
247 |
|
- Implemented built-in script function "change_amp_lfo_depth()". |
248 |
|
- Implemented built-in script function "change_amp_lfo_freq()". |
249 |
|
- Implemented built-in script function "change_pitch_lfo_depth()". |
250 |
|
- Implemented built-in script function "change_pitch_lfo_freq()". |
251 |
|
- Implemented built-in script function "change_vol_time()". |
252 |
|
- Implemented built-in script function "change_tune_time()". |
253 |
|
- Implemented built-in script function "fade_in()". |
254 |
|
- Implemented built-in script function "fade_out()". |
255 |
|
- Fixed acceptance of wrong data type of parameters passed to built-in |
256 |
|
script functions "change_vol()", "change_tune()", "change_pan()", |
257 |
|
"change_cutoff()", "change_reso()", "change_attack()", "change_decay()", |
258 |
|
"change_release()", "change_amp_lfo_depth()", "change_amp_lfo_freq()", |
259 |
|
"change_pitch_lfo_depth()" and "change_pitch_lfo_freq()". |
260 |
|
- Added built-in script function "get_event_par()" and implemented some |
261 |
|
of its possible parameter selections. |
262 |
|
- Added built-in script function "set_event_par()" and implemented some |
263 |
|
of its possible parameter selections. |
264 |
|
- Fixed a bunch of scheduler time related bugs. |
265 |
|
- Fixed polyphonic variables not being reset to zero after usage. |
266 |
|
- Built-in "ignore_event()" function: argument is now optional, like with |
267 |
|
built-in function "ignore_controller()". |
268 |
|
- Implemented built-in script function "change_velo()". |
269 |
|
- Implemented built-in script function "change_note()". |
270 |
|
- Adjusted behavior of "change_vol()" and "change_tune()" to a more |
271 |
|
intuitive behavior if used in combination with "change_vol_time()" or |
272 |
|
"change_tune_time()" respectively: now tuning/volume changes are only |
273 |
|
assigned (without delay) immediately to a new note if the respective |
274 |
|
timing function has not been called before, otherwise the volume/tuning |
275 |
|
changes are automatically faded (before, only the event's time stamp was |
276 |
|
relevant). |
277 |
|
- Implemented built-in script function "array_equal()". |
278 |
|
- Implemented built-in script function "search()". |
279 |
|
- Implemented built-in script function "sort()". |
280 |
|
- NKSP Fix: Never suspend "init" event handlers. |
281 |
|
- Implemented built-in script function "same_region()" (currently only |
282 |
|
available for gig format engine). |
283 |
|
- Added built-in script constant "$NKSP_LINEAR". |
284 |
|
- Added built-in script constant "$NKSP_EASE_IN_EASE_OUT". |
285 |
|
- Implemented built-in script function "change_vol_curve()". |
286 |
|
- Implemented built-in script function "change_tune_curve()". |
287 |
|
- built-in "play_note()" function now supports a sample playback start |
288 |
|
offset with argument 3, where special value -1 means to use the regular |
289 |
|
sample offset as defined by the instrument file. |
290 |
|
- Built-in array variable %KEY_DOWN[] is now a read-only variable. |
291 |
|
- Built-in variable $EVENT_NOTE is now a read-only variable. |
292 |
|
- Built-in variable $EVENT_VELOCITY is now a read-only variable. |
293 |
|
- built-in "play_note()" function now accepts -2 for its fourth argument |
294 |
|
(note duration) which means the life time of the note shall be sticked |
295 |
|
to the requested note number of argument 1. |
296 |
|
- Fix: built-in "play_note()" function now returns 0 as result value if |
297 |
|
-1 was passed for its fourth argument (note duration) and the respective |
298 |
|
parent note is already gone. |
299 |
|
- Implemented built-in script function "change_play_pos()". |
300 |
|
- NKSP language: Added support for user declared const array variables. |
301 |
|
- NKSP language: Raise parser warning if array variable is accessed with |
302 |
|
an index that exceeds the array's size. |
303 |
|
- NKSP language fix: Unknown characters were not handled correctly. |
304 |
|
- NKSP language: Added support for "synchronized .. end synchronized" |
305 |
|
code blocks. |
306 |
|
- Implemented built-in script function "abort()" which allows to abort |
307 |
|
another script handler by passing its callback ID. |
308 |
|
- Fixed potential memory access bug and potential undefined behavior of |
309 |
|
"init" event handlers. |
310 |
|
- Print a time stamp along to each call of built-in function "message()". |
311 |
|
- ScriptVM API: Added VMParserContext::preprocessorComments() which allows |
312 |
|
to retrieve all code blocks filtered out by the preprocessor. |
313 |
|
- Added built-in script function "fork()". |
314 |
|
- Added built-in array variable %NKSP_CALLBACK_CHILD_ID[]. |
315 |
|
- Added built-in variable $NKSP_CALLBACK_PARENT_ID. |
316 |
|
- Fixed potential crash when accessing dynamic built-in array variables. |
317 |
|
- Added built-in script function "callback_status()". |
318 |
|
- Added built-in constant $CALLBACK_STATUS_TERMINATED. |
319 |
|
- Added built-in constant $CALLBACK_STATUS_QUEUE. |
320 |
|
- Added built-in constant $CALLBACK_STATUS_RUNNING. |
321 |
|
- Removed max. value limitation of built-in functions "change_attack()", |
322 |
|
"change_decay()" and "change_release()" to i.e. allow passing 2000000 |
323 |
|
for doubling the respective time. |
324 |
|
- NKSP script editor syntax highlighting API: Fixed app termination due |
325 |
|
to a lexer start condition stack underrun. |
326 |
|
- NKSP preprocessor: Fixed wrong behavior on nested USE_CODE_IF() and |
327 |
|
USE_CODE_IF_NOT() preprocessor statements. |
328 |
|
- NKSP: Added built-in preprocessor condition NKSP_NO_MESSAGE, which |
329 |
|
can be set to disable all subsequent built-in "message()" function calls |
330 |
|
on preprocessor level. |
331 |
|
- Implemented built-in script function "change_sustain()". |
332 |
|
- NKSP script editor syntax highlighting API: catch all fatal lexer errors, |
333 |
|
to avoid the editor app to crash on ill-formed text input. |
334 |
|
- Added built-in script function "change_pan_time()". |
335 |
|
- Added built-in script function "change_pan_curve()". |
336 |
|
- Added built-in script function "change_cutoff_attack()". |
337 |
|
- Added built-in script function "change_cutoff_decay()". |
338 |
|
- Added built-in script function "change_cutoff_sustain()". |
339 |
|
- Added built-in script function "change_cutoff_release()". |
340 |
|
- Added built-in script function "change_cutoff_lfo_depth()". |
341 |
|
- Added built-in script function "change_cutoff_lfo_freq()". |
342 |
|
|
343 |
|
* Instruments DB: |
344 |
|
- Fixed memory access bug of general DB access code which lead to |
345 |
|
undefined behavior. |
346 |
|
- Cleanup of instruments DB file creation and opening code. |
347 |
|
- The instrument DB path of linuxsampler's --create-instruments-db argument |
348 |
|
is now optional, if it is missing, then a default location is used. |
349 |
|
- Added support for scanning SFZ (.sfz) files. |
350 |
|
- Added support for scanning Sound Font (.sf2) files. |
351 |
|
- Fixed undefined DB transaction behavior. |
352 |
|
|
353 |
Version 2.0.0 (15 July 2015) |
Version 2.0.0 (15 July 2015) |
354 |
|
|
773 |
"SUBSCRIBE SEND_EFFECT_CHAIN_INFO" |
"SUBSCRIBE SEND_EFFECT_CHAIN_INFO" |
774 |
- provide comprehensive error messages on LSCP syntax errors |
- provide comprehensive error messages on LSCP syntax errors |
775 |
(suggesting expected next non-terminal symbols) |
(suggesting expected next non-terminal symbols) |
776 |
|
- Fixed client connection not being closed after network errors. |
777 |
|
|
778 |
* LSCP shell: |
* LSCP shell: |
779 |
- Added support for auto correction of obvious and trivial syntax mistakes. |
- Added support for auto correction of obvious and trivial syntax mistakes. |
823 |
$GIG_DIM_EFFECT3DEPTH, $GIG_DIM_EFFECT4DEPTH, $GIG_DIM_EFFECT5DEPTH. |
$GIG_DIM_EFFECT3DEPTH, $GIG_DIM_EFFECT4DEPTH, $GIG_DIM_EFFECT5DEPTH. |
824 |
- Giga format scripts: Implemented built-in script function |
- Giga format scripts: Implemented built-in script function |
825 |
"gig_set_dim_zone(event_id, dimension, zone)". |
"gig_set_dim_zone(event_id, dimension, zone)". |
826 |
- Implemented built-in script int array variable $KEY_DOWN. |
- Implemented built-in script int array variable %KEY_DOWN. |
827 |
- Implemented built-in script function "abs()". |
- Implemented built-in script function "abs()". |
828 |
- Implemented built-in script function "random()". |
- Implemented built-in script function "random()". |
829 |
- Implemented built-in script function "num_elements()". |
- Implemented built-in script function "num_elements()". |
837 |
(i.e. return value of new script function "by_marks()"). |
(i.e. return value of new script function "by_marks()"). |
838 |
- Pass/preserve polyphonic variable data from respective "note" event |
- Pass/preserve polyphonic variable data from respective "note" event |
839 |
handler to "release" event handler. |
handler to "release" event handler. |
840 |
|
- Fixed crash when using built-in script function "by_marks()". |
841 |
|
|
842 |
* Bug fixes: |
* Bug fixes: |
843 |
- 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 |