2 |
|
|
3 |
* SFZ format engine: |
* SFZ format engine: |
4 |
- added support for <global>, <master> and #define (patch by Alby M) |
- 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 |
|
|
10 |
|
* Gigasampler format engine: |
11 |
|
- Fixed clicks and pumping noise with Lowpass Turbo filter on very low |
12 |
|
cutoff settings. |
13 |
|
|
14 |
* general changes: |
* general changes: |
15 |
- fixed printf type errors (mostly in debug messages) |
- fixed printf type errors (mostly in debug messages) |
28 |
being directly assigned to a keyboard key. This allows more fine graded |
being directly assigned to a keyboard key. This allows more fine graded |
29 |
processing of voices, which is i.e. required for certain instrument |
processing of voices, which is i.e. required for certain instrument |
30 |
script features. |
script features. |
31 |
|
- Fix: Release trigger voices were not spawned on sustain pedal up |
32 |
|
(CC #64) events. |
33 |
|
- Fix: Release trigger voices can now also distinguish correctly between |
34 |
|
note-off and sustain pedal up events. |
35 |
|
- All engines: Increased ramp speed of volume smoother and pan smoother |
36 |
|
(while slow rate of crossfade smoother is preserved) to allow quick |
37 |
|
volume and pan changes by instrument scripts for instance. |
38 |
|
- gig/sf2/sfz: Fixed aftertouch channel pressure events being processed |
39 |
|
properly and thus were ignored for certain uses. |
40 |
|
- Added new C++ API method |
41 |
|
VirtualMidiDevice::SendChannelPressureToSampler(). |
42 |
|
- windows, 32-bit: fixed potential crashes by making sure the stack in |
43 |
|
sub threads is 16-byte aligned |
44 |
|
- fixed numerous compiler warnings |
45 |
|
|
46 |
* packaging changes: |
* packaging changes: |
47 |
- removed unnecessary dependency to libuuid |
- removed unnecessary dependency to libuuid |
65 |
- Built-in script function "play_note()": Added support for passing |
- Built-in script function "play_note()": Added support for passing |
66 |
special value -1 for "duration-us" argument, which will cause the |
special value -1 for "duration-us" argument, which will cause the |
67 |
triggered note to be released once the original note was released. |
triggered note to be released once the original note was released. |
68 |
|
- Instrument script classes now exported with the liblinuxsampler C++ API. |
69 |
|
- Added new API method ScriptVM::syntaxHighlighting() which provides |
70 |
|
a convenient syntax highlighting backend for external instrument |
71 |
|
script editor applications. |
72 |
|
- Added new C++ API class "ScriptVMFactory". |
73 |
|
- Extended parser issues to provide not only first line and first |
74 |
|
column, but also last line and last column of issue (thus marking |
75 |
|
the precise span of the issue within the source code). |
76 |
|
- Reload script automatically after being modified by an instrument |
77 |
|
editor. |
78 |
|
- NKSP language grammar correction: allow empty event handler bodies |
79 |
|
like "on note end on". |
80 |
|
- Implemented built-in script function "change_vol()". |
81 |
|
- Implemented built-in script function "change_tune()". |
82 |
|
- Implemented built-in script function "change_pan()". |
83 |
|
- Implemented built-in script function "change_cutoff()". |
84 |
|
- Implemented built-in script function "change_reso()". |
85 |
|
- Implemented built-in script function "event_status()". |
86 |
|
- Added built-in script constants "$EVENT_STATUS_INACTIVE" and |
87 |
|
"$EVENT_STATUS_NOTE_QUEUE" both for being used as flags for |
88 |
|
"event_status()" function. |
89 |
|
- NKSP language: Added support for bitwise operators ".or.", ".and." |
90 |
|
and ".not.". |
91 |
|
- NKSP language scanner: Fixed IDs matching to require at least one |
92 |
|
character (i.e. when matching function names or variable names). |
93 |
|
- NKSP language scanner: disabled unusued rules. |
94 |
|
- Fixed behavior of play_note() and note_off() functions which must |
95 |
|
be distinguished engine internally from "real" MIDI note on/off |
96 |
|
events in order to avoid misbehaviors like hanging notes. |
97 |
|
- Implemented built-in script variable "$KSP_TIMER". |
98 |
|
- Implemented built-in script variable "$NKSP_REAL_TIMER". |
99 |
|
- Implemented built-in script variable "$NKSP_PERF_TIMER". |
100 |
|
- Implemented built-in script variable "$ENGINE_UPTIME". |
101 |
|
- Implemented built-in script function "inc()". |
102 |
|
- Implemented built-in script function "dec()". |
103 |
|
- NKSP language fix: division expressions were evaluated too often. |
104 |
|
- NKSP language fix: string concatenation operator was right |
105 |
|
associative instead of left (to right). |
106 |
|
- NKSP language correction: allow empty statements in entire language |
107 |
|
(i.e. "if end if"). |
108 |
|
- Implemented built-in script function "stop_wait()". |
109 |
|
- Implemented built-in script variable "$NI_CALLBACK_ID". |
110 |
|
- Implemented built-in script variable "$NI_CALLBACK_TYPE". |
111 |
|
- Implemented built-in script variable "$NKSP_IGNORE_WAIT". |
112 |
|
- Added support for read-only built-in variables (respectively |
113 |
|
handled by the script parser). |
114 |
|
- Added built-in script constant "$NI_CB_TYPE_INIT". |
115 |
|
- Added built-in script constant "$NI_CB_TYPE_NOTE". |
116 |
|
- Added built-in script constant "$NI_CB_TYPE_RELEASE". |
117 |
|
- Added built-in script constant "$NI_CB_TYPE_CONTROLLER". |
118 |
|
- NKSP Language: Added support for user defined script functions. |
119 |
|
- Implemented built-in script function "change_attack()". |
120 |
|
- Implemented built-in script function "change_decay()". |
121 |
|
- Implemented built-in script function "change_release()". |
122 |
|
- Fixed all change_*() built-in script functions to apply their |
123 |
|
synthesis parameter changes immediately in case the respective note |
124 |
|
was triggered at the same time, instead of scheduling the parameter |
125 |
|
change, especially because it would cause some parameter types's |
126 |
|
changes either to be ramped (i.e. change_vol()) or other types even |
127 |
|
to have not effect at all (i.e. change_attack()). |
128 |
|
- Implemented built-in script function "sh_left()". |
129 |
|
- Implemented built-in script function "sh_right()". |
130 |
|
- Implemented built-in script function "min()". |
131 |
|
- Implemented built-in script function "max()". |
132 |
|
- NKSP Fix: "init" event handler was not always executed when a script |
133 |
|
was loaded. |
134 |
|
- NKSP built-in wait() script function: abort script execution if |
135 |
|
a negative or zero wait time was passed as argument (since this is |
136 |
|
a common indication of a bug either of the script or even of the |
137 |
|
engine, which could lead to RT instability or even worse). |
138 |
|
- ScriptVM: Implemented automatic suspension of RT safety |
139 |
|
threatening scripts. |
140 |
|
- Provide more user friendly error messages on syntax errors. |
141 |
|
- Fixed NKSP parser warning "Not a statement" when assigning an |
142 |
|
initializer list to an array variable. |
143 |
|
- Implemented built-in script array variable "%ALL_EVENTS". |
144 |
|
- Implemented built-in script function "in_range()". |
145 |
|
|
146 |
|
* Instruments DB: |
147 |
|
- Fixed memory access bug of general DB access code which lead to |
148 |
|
undefined behavior. |
149 |
|
- Cleanup of instruments DB file creation and opening code. |
150 |
|
- The instrument DB path of linuxsampler's --create-instruments-db argument |
151 |
|
is now optional, if it is missing, then a default location is used. |
152 |
|
- Added support for scanning SFZ (.sfz) files. |
153 |
|
- Added support for scanning Sound Font (.sf2) files. |
154 |
|
|
155 |
Version 2.0.0 (15 July 2015) |
Version 2.0.0 (15 July 2015) |
156 |
|
|
575 |
"SUBSCRIBE SEND_EFFECT_CHAIN_INFO" |
"SUBSCRIBE SEND_EFFECT_CHAIN_INFO" |
576 |
- provide comprehensive error messages on LSCP syntax errors |
- provide comprehensive error messages on LSCP syntax errors |
577 |
(suggesting expected next non-terminal symbols) |
(suggesting expected next non-terminal symbols) |
578 |
|
- Fixed client connection not being closed after network errors. |
579 |
|
|
580 |
* LSCP shell: |
* LSCP shell: |
581 |
- Added support for auto correction of obvious and trivial syntax mistakes. |
- Added support for auto correction of obvious and trivial syntax mistakes. |
639 |
(i.e. return value of new script function "by_marks()"). |
(i.e. return value of new script function "by_marks()"). |
640 |
- Pass/preserve polyphonic variable data from respective "note" event |
- Pass/preserve polyphonic variable data from respective "note" event |
641 |
handler to "release" event handler. |
handler to "release" event handler. |
642 |
|
- Fixed crash when using built-in script function "by_marks()". |
643 |
|
|
644 |
* Bug fixes: |
* Bug fixes: |
645 |
- 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 |