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