1 |
Version SVN trunk (?) |
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 |
|
- sfz parser: allow missing space between header and opcode |
11 |
|
|
12 |
|
* Gigasampler/GigaStudio format engine: |
13 |
|
- Fixed clicks and pumping noise with Lowpass Turbo filter on very low |
14 |
|
cutoff settings. |
15 |
|
- Got rid of resembling an ancient GSt misbehavior which did not pitch at |
16 |
|
all if an up-pitch of more than 40 semi tones was requested (I don't |
17 |
|
think there is any stock gig sound that requires this behavior to |
18 |
|
resemble its original sound). |
19 |
|
- Added support for controlling whether the individual EGADSR stages may |
20 |
|
be aborted (as LinuxSampler extension to the original GigaStudio 4 |
21 |
|
format). |
22 |
|
|
23 |
* general changes: |
* general changes: |
24 |
- fixed printf type errors (mostly in debug messages) |
- fixed printf type errors (mostly in debug messages) |
25 |
|
- use unique_ptr instead of auto_ptr when building with C++11 |
26 |
|
- Added RTAVLTree class which is a real-time safe ordered multi-map, thus |
27 |
|
allowing to sort data efficiently in real-time safe manner. |
28 |
|
- RTList class: added methods for moving/inserting elements to arbitrary |
29 |
|
position within a list. |
30 |
|
- RTList class: added method fromPtr() for creating an Iterator object from |
31 |
|
a raw element pointer. |
32 |
|
- Attempt to partly fix resetting engine channels vs. resetting engine, an |
33 |
|
overall cleanup of the Reset*(), ConnectAudioDevice(), |
34 |
|
DisconnectAudioDevice() API methods would still be desirable though, |
35 |
|
because the current situation is still inconsistent and error prone. |
36 |
|
- Active voices are now internally grouped to "Note" objects, instead of |
37 |
|
being directly assigned to a keyboard key. This allows more fine graded |
38 |
|
processing of voices, which is i.e. required for certain instrument |
39 |
|
script features. |
40 |
|
- Fix: Release trigger voices were not spawned on sustain pedal up |
41 |
|
(CC #64) events. |
42 |
|
- Fix: Release trigger voices can now also distinguish correctly between |
43 |
|
note-off and sustain pedal up events. |
44 |
|
- All engines: Increased ramp speed of volume smoother and pan smoother |
45 |
|
(while slow rate of crossfade smoother is preserved) to allow quick |
46 |
|
volume and pan changes by instrument scripts for instance. |
47 |
|
- gig/sf2/sfz: Fixed aftertouch channel pressure events being processed |
48 |
|
properly and thus were ignored for certain uses. |
49 |
|
- Added new C++ API method |
50 |
|
VirtualMidiDevice::SendChannelPressureToSampler(). |
51 |
|
- windows, 32-bit: fixed potential crashes by making sure the stack in |
52 |
|
sub threads is 16-byte aligned |
53 |
|
- fixed numerous compiler warnings |
54 |
|
- Fixed invalid (note-on) event ID being assigned to new Note objects. |
55 |
|
- Revised fundamental C++ classes "Thread", "Mutex" and "Condition" which |
56 |
|
fixes potential undefined behavior. |
57 |
|
- Fixed Note object leak when triggering notes on keys which did not |
58 |
|
have a valid sample mapped (fixes bug #252). |
59 |
|
- Fixed compilation errors when compiling with CONFIG_DEVMODE enabled. |
60 |
|
|
61 |
|
* packaging changes: |
62 |
|
- removed unnecessary dependency to libuuid |
63 |
|
(originated by libgig's usage of it) |
64 |
|
- Automake: set environment variable GCC_COLORS=auto to allow GCC to |
65 |
|
auto detect whether it (sh/c)ould output its messages in color. |
66 |
|
|
67 |
|
* Real-time instrument scripts: |
68 |
|
- Implemented scheduler for delayed MIDI events and for suspended scripts. |
69 |
|
- Built-in script function "wait()": implemented support for function's |
70 |
|
"duration-us" argument, thus scripts using this function are now |
71 |
|
correctly resumed after the requested amount of microseconds. |
72 |
|
- Built-in script function "play_note()": implemented support for |
73 |
|
function's "duration-us" argument, thus notes triggered with this |
74 |
|
argument are now correctly released after the requested amount of |
75 |
|
microseconds. |
76 |
|
- Fix: script events were not cleared when engine channel was reset, |
77 |
|
potentially causing undefined behavior. |
78 |
|
- Fixed crash which happened when trying to reference an undeclared |
79 |
|
variable. |
80 |
|
- Built-in script function "play_note()": Added support for passing |
81 |
|
special value -1 for "duration-us" argument, which will cause the |
82 |
|
triggered note to be released once the original note was released. |
83 |
|
- Instrument script classes now exported with the liblinuxsampler C++ API. |
84 |
|
- Added new API method ScriptVM::syntaxHighlighting() which provides |
85 |
|
a convenient syntax highlighting backend for external instrument |
86 |
|
script editor applications. |
87 |
|
- Added new C++ API class "ScriptVMFactory". |
88 |
|
- Extended parser issues to provide not only first line and first |
89 |
|
column, but also last line and last column of issue (thus marking |
90 |
|
the precise span of the issue within the source code). |
91 |
|
- Reload script automatically after being modified by an instrument |
92 |
|
editor. |
93 |
|
- NKSP language grammar correction: allow empty event handler bodies |
94 |
|
like "on note end on". |
95 |
|
- Implemented built-in script function "change_vol()". |
96 |
|
- Implemented built-in script function "change_tune()". |
97 |
|
- Implemented built-in script function "change_pan()". |
98 |
|
- Implemented built-in script function "change_cutoff()". |
99 |
|
- Implemented built-in script function "change_reso()". |
100 |
|
- Implemented built-in script function "event_status()". |
101 |
|
- Added built-in script constants "$EVENT_STATUS_INACTIVE" and |
102 |
|
"$EVENT_STATUS_NOTE_QUEUE" both for being used as flags for |
103 |
|
"event_status()" function. |
104 |
|
- NKSP language: Added support for bitwise operators ".or.", ".and." |
105 |
|
and ".not.". |
106 |
|
- NKSP language scanner: Fixed IDs matching to require at least one |
107 |
|
character (i.e. when matching function names or variable names). |
108 |
|
- NKSP language scanner: disabled unusued rules. |
109 |
|
- Fixed behavior of play_note() and note_off() functions which must |
110 |
|
be distinguished engine internally from "real" MIDI note on/off |
111 |
|
events in order to avoid misbehaviors like hanging notes. |
112 |
|
- Implemented built-in script variable "$KSP_TIMER". |
113 |
|
- Implemented built-in script variable "$NKSP_REAL_TIMER". |
114 |
|
- Implemented built-in script variable "$NKSP_PERF_TIMER". |
115 |
|
- Implemented built-in script variable "$ENGINE_UPTIME". |
116 |
|
- Implemented built-in script function "inc()". |
117 |
|
- Implemented built-in script function "dec()". |
118 |
|
- NKSP language fix: division expressions were evaluated too often. |
119 |
|
- NKSP language fix: string concatenation operator was right |
120 |
|
associative instead of left (to right). |
121 |
|
- NKSP language correction: allow empty statements in entire language |
122 |
|
(i.e. "if end if"). |
123 |
|
- Implemented built-in script function "stop_wait()". |
124 |
|
- Implemented built-in script variable "$NI_CALLBACK_ID". |
125 |
|
- Implemented built-in script variable "$NI_CALLBACK_TYPE". |
126 |
|
- Implemented built-in script variable "$NKSP_IGNORE_WAIT". |
127 |
|
- Added support for read-only built-in variables (respectively |
128 |
|
handled by the script parser). |
129 |
|
- Added built-in script constant "$NI_CB_TYPE_INIT". |
130 |
|
- Added built-in script constant "$NI_CB_TYPE_NOTE". |
131 |
|
- Added built-in script constant "$NI_CB_TYPE_RELEASE". |
132 |
|
- Added built-in script constant "$NI_CB_TYPE_CONTROLLER". |
133 |
|
- NKSP Language: Added support for user defined script functions. |
134 |
|
- Implemented built-in script function "change_attack()". |
135 |
|
- Implemented built-in script function "change_decay()". |
136 |
|
- Implemented built-in script function "change_release()". |
137 |
|
- Fixed all change_*() built-in script functions to apply their |
138 |
|
synthesis parameter changes immediately in case the respective note |
139 |
|
was triggered at the same time, instead of scheduling the parameter |
140 |
|
change, especially because it would cause some parameter types's |
141 |
|
changes either to be ramped (i.e. change_vol()) or other types even |
142 |
|
to have not effect at all (i.e. change_attack()). |
143 |
|
- Implemented built-in script function "sh_left()". |
144 |
|
- Implemented built-in script function "sh_right()". |
145 |
|
- Implemented built-in script function "min()". |
146 |
|
- Implemented built-in script function "max()". |
147 |
|
- NKSP Fix: "init" event handler was not always executed when a script |
148 |
|
was loaded. |
149 |
|
- NKSP built-in wait() script function: abort script execution if |
150 |
|
a negative or zero wait time was passed as argument (since this is |
151 |
|
a common indication of a bug either of the script or even of the |
152 |
|
engine, which could lead to RT instability or even worse). |
153 |
|
- ScriptVM: Implemented automatic suspension of RT safety |
154 |
|
threatening scripts. |
155 |
|
- Provide more user friendly error messages on syntax errors. |
156 |
|
- Fixed NKSP parser warning "Not a statement" when assigning an |
157 |
|
initializer list to an array variable. |
158 |
|
- Implemented built-in script array variable "%ALL_EVENTS". |
159 |
|
- Implemented built-in script function "in_range()". |
160 |
|
- Implemented built-in script function "change_amp_lfo_depth()". |
161 |
|
- Implemented built-in script function "change_amp_lfo_freq()". |
162 |
|
- Implemented built-in script function "change_pitch_lfo_depth()". |
163 |
|
- Implemented built-in script function "change_pitch_lfo_freq()". |
164 |
|
- Implemented built-in script function "change_vol_time()". |
165 |
|
- Implemented built-in script function "change_tune_time()". |
166 |
|
- Implemented built-in script function "fade_in()". |
167 |
|
- Implemented built-in script function "fade_out()". |
168 |
|
- Fixed acceptance of wrong data type of parameters passed to built-in |
169 |
|
script functions "change_vol()", "change_tune()", "change_pan()", |
170 |
|
"change_cutoff()", "change_reso()", "change_attack()", "change_decay()", |
171 |
|
"change_release()", "change_amp_lfo_depth()", "change_amp_lfo_freq()", |
172 |
|
"change_pitch_lfo_depth()" and "change_pitch_lfo_freq()". |
173 |
|
- Added built-in script function "get_event_par()" and implemented some |
174 |
|
of its possible parameter selections. |
175 |
|
- Added built-in script function "set_event_par()" and implemented some |
176 |
|
of its possible parameter selections. |
177 |
|
- Fixed a bunch of scheduler time related bugs. |
178 |
|
- Fixed polyphonic variables not being reset to zero after usage. |
179 |
|
- Built-in "ignore_event()" function: argument is now optional, like with |
180 |
|
built-in function "ignore_controller()". |
181 |
|
- Implemented built-in script function "change_velo()". |
182 |
|
- Implemented built-in script function "change_note()". |
183 |
|
- Adjusted behavior of "change_vol()" and "change_tune()" to a more |
184 |
|
intuitive behavior if used in combination with "change_vol_time()" or |
185 |
|
"change_tune_time()" respectively: now tuning/volume changes are only |
186 |
|
assigned (without delay) immediately to a new note if the respective |
187 |
|
timing function has not been called before, otherwise the volume/tuning |
188 |
|
changes are automatically faded (before, only the event's time stamp was |
189 |
|
relevant). |
190 |
|
- Implemented built-in script function "array_equal()". |
191 |
|
- Implemented built-in script function "search()". |
192 |
|
- Implemented built-in script function "sort()". |
193 |
|
- NKSP Fix: Never suspend "init" event handlers. |
194 |
|
- Implemented built-in script function "same_region()" (currently only |
195 |
|
available for gig format engine). |
196 |
|
- Added built-in script constant "$NKSP_LINEAR". |
197 |
|
- Added built-in script constant "$NKSP_EASE_IN_EASE_OUT". |
198 |
|
- Implemented built-in script function "change_vol_curve()". |
199 |
|
- Implemented built-in script function "change_tune_curve()". |
200 |
|
- built-in "play_note()" function now supports a sample playback start |
201 |
|
offset with argument 3, where special value -1 means to use the regular |
202 |
|
sample offset as defined by the instrument file. |
203 |
|
- Built-in array variable %KEY_DOWN[] is now a read-only variable. |
204 |
|
- Built-in variable $EVENT_NOTE is now a read-only variable. |
205 |
|
- Built-in variable $EVENT_VELOCITY is now a read-only variable. |
206 |
|
- built-in "play_note()" function now accepts -2 for its fourth argument |
207 |
|
(note duration) which means the life time of the note shall be sticked |
208 |
|
to the requested note number of argument 1. |
209 |
|
- Fix: built-in "play_note()" function now returns 0 as result value if |
210 |
|
-1 was passed for its fourth argument (note duration) and the respective |
211 |
|
parent note is already gone. |
212 |
|
- Implemented built-in script function "change_play_pos()". |
213 |
|
- NKSP language: Added support for user declared const array variables. |
214 |
|
- NKSP language: Raise parser warning if array variable is accessed with |
215 |
|
an index that exceeds the array's size. |
216 |
|
- NKSP language fix: Unknown characters were not handled correctly. |
217 |
|
- NKSP language: Added support for "synchronized .. end synchronized" |
218 |
|
code blocks. |
219 |
|
- Implemented built-in script function "abort()" which allows to abort |
220 |
|
another script handler by passing its callback ID. |
221 |
|
- Fixed potential memory access bug and potential undefined behavior of |
222 |
|
"init" event handlers. |
223 |
|
- Print a time stamp along to each call of built-in function "message()". |
224 |
|
- ScriptVM API: Added VMParserContext::preprocessorComments() which allows |
225 |
|
to retrieve all code blocks filtered out by the preprocessor. |
226 |
|
- Added built-in script function "fork()". |
227 |
|
- Added built-in array variable %NKSP_CALLBACK_CHILD_ID[]. |
228 |
|
- Added built-in variable $NKSP_CALLBACK_PARENT_ID. |
229 |
|
- Fixed potential crash when accessing dynamic built-in array variables. |
230 |
|
- Added built-in script function "callback_status()". |
231 |
|
- Added built-in constant $CALLBACK_STATUS_TERMINATED. |
232 |
|
- Added built-in constant $CALLBACK_STATUS_QUEUE. |
233 |
|
- Added built-in constant $CALLBACK_STATUS_RUNNING. |
234 |
|
- Removed max. value limitation of built-in functions "change_attack()", |
235 |
|
"change_decay()" and "change_release()" to i.e. allow passing 2000000 |
236 |
|
for doubling the respective time. |
237 |
|
- NKSP script editor syntax highlighting API: Fixed app termination due |
238 |
|
to a lexer start condition stack underrun. |
239 |
|
- NKSP preprocessor: Fixed wrong behavior on nested USE_CODE_IF() and |
240 |
|
USE_CODE_IF_NOT() preprocessor statements. |
241 |
|
- NKSP: Added built-in preprocessor condition NKSP_NO_MESSAGE, which |
242 |
|
can be set to disable all subsequent built-in "message()" function calls |
243 |
|
on preprocessor level. |
244 |
|
- Implemented built-in script function "change_sustain()". |
245 |
|
- NKSP script editor syntax highlighting API: catch all fatal lexer errors, |
246 |
|
to avoid the editor app to crash on ill-formed text input. |
247 |
|
|
248 |
|
* Instruments DB: |
249 |
|
- Fixed memory access bug of general DB access code which lead to |
250 |
|
undefined behavior. |
251 |
|
- Cleanup of instruments DB file creation and opening code. |
252 |
|
- The instrument DB path of linuxsampler's --create-instruments-db argument |
253 |
|
is now optional, if it is missing, then a default location is used. |
254 |
|
- Added support for scanning SFZ (.sfz) files. |
255 |
|
- Added support for scanning Sound Font (.sf2) files. |
256 |
|
- Fixed undefined DB transaction behavior. |
257 |
|
|
258 |
Version 2.0.0 (15 July 2015) |
Version 2.0.0 (15 July 2015) |
259 |
|
|
678 |
"SUBSCRIBE SEND_EFFECT_CHAIN_INFO" |
"SUBSCRIBE SEND_EFFECT_CHAIN_INFO" |
679 |
- provide comprehensive error messages on LSCP syntax errors |
- provide comprehensive error messages on LSCP syntax errors |
680 |
(suggesting expected next non-terminal symbols) |
(suggesting expected next non-terminal symbols) |
681 |
|
- Fixed client connection not being closed after network errors. |
682 |
|
|
683 |
* LSCP shell: |
* LSCP shell: |
684 |
- Added support for auto correction of obvious and trivial syntax mistakes. |
- Added support for auto correction of obvious and trivial syntax mistakes. |
728 |
$GIG_DIM_EFFECT3DEPTH, $GIG_DIM_EFFECT4DEPTH, $GIG_DIM_EFFECT5DEPTH. |
$GIG_DIM_EFFECT3DEPTH, $GIG_DIM_EFFECT4DEPTH, $GIG_DIM_EFFECT5DEPTH. |
729 |
- Giga format scripts: Implemented built-in script function |
- Giga format scripts: Implemented built-in script function |
730 |
"gig_set_dim_zone(event_id, dimension, zone)". |
"gig_set_dim_zone(event_id, dimension, zone)". |
731 |
- Implemented built-in script int array variable $KEY_DOWN. |
- Implemented built-in script int array variable %KEY_DOWN. |
732 |
- Implemented built-in script function "abs()". |
- Implemented built-in script function "abs()". |
733 |
- Implemented built-in script function "random()". |
- Implemented built-in script function "random()". |
734 |
- Implemented built-in script function "num_elements()". |
- Implemented built-in script function "num_elements()". |
742 |
(i.e. return value of new script function "by_marks()"). |
(i.e. return value of new script function "by_marks()"). |
743 |
- Pass/preserve polyphonic variable data from respective "note" event |
- Pass/preserve polyphonic variable data from respective "note" event |
744 |
handler to "release" event handler. |
handler to "release" event handler. |
745 |
|
- Fixed crash when using built-in script function "by_marks()". |
746 |
|
|
747 |
* Bug fixes: |
* Bug fixes: |
748 |
- 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 |