1 |
Version CVS HEAD (?) |
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 |
|
|
11 |
|
* Gigasampler/GigaStudio format engine: |
12 |
|
- Fixed clicks and pumping noise with Lowpass Turbo filter on very low |
13 |
|
cutoff settings. |
14 |
|
|
15 |
|
* general changes: |
16 |
|
- fixed printf type errors (mostly in debug messages) |
17 |
|
- use unique_ptr instead of auto_ptr when building with C++11 |
18 |
|
- Added RTAVLTree class which is a real-time safe ordered multi-map, thus |
19 |
|
allowing to sort data efficiently in real-time safe manner. |
20 |
|
- RTList class: added methods for moving/inserting elements to arbitrary |
21 |
|
position within a list. |
22 |
|
- RTList class: added method fromPtr() for creating an Iterator object from |
23 |
|
a raw element pointer. |
24 |
|
- Attempt to partly fix resetting engine channels vs. resetting engine, an |
25 |
|
overall cleanup of the Reset*(), ConnectAudioDevice(), |
26 |
|
DisconnectAudioDevice() API methods would still be desirable though, |
27 |
|
because the current situation is still inconsistent and error prone. |
28 |
|
- Active voices are now internally grouped to "Note" objects, instead of |
29 |
|
being directly assigned to a keyboard key. This allows more fine graded |
30 |
|
processing of voices, which is i.e. required for certain instrument |
31 |
|
script features. |
32 |
|
- Fix: Release trigger voices were not spawned on sustain pedal up |
33 |
|
(CC #64) events. |
34 |
|
- Fix: Release trigger voices can now also distinguish correctly between |
35 |
|
note-off and sustain pedal up events. |
36 |
|
- All engines: Increased ramp speed of volume smoother and pan smoother |
37 |
|
(while slow rate of crossfade smoother is preserved) to allow quick |
38 |
|
volume and pan changes by instrument scripts for instance. |
39 |
|
- gig/sf2/sfz: Fixed aftertouch channel pressure events being processed |
40 |
|
properly and thus were ignored for certain uses. |
41 |
|
- Added new C++ API method |
42 |
|
VirtualMidiDevice::SendChannelPressureToSampler(). |
43 |
|
- windows, 32-bit: fixed potential crashes by making sure the stack in |
44 |
|
sub threads is 16-byte aligned |
45 |
|
- fixed numerous compiler warnings |
46 |
|
|
47 |
|
* packaging changes: |
48 |
|
- removed unnecessary dependency to libuuid |
49 |
|
(originated by libgig's usage of it) |
50 |
|
- Automake: set environment variable GCC_COLORS=auto to allow GCC to |
51 |
|
auto detect whether it (sh/c)ould output its messages in color. |
52 |
|
|
53 |
|
* Real-time instrument scripts: |
54 |
|
- Implemented scheduler for delayed MIDI events and for suspended scripts. |
55 |
|
- Built-in script function "wait()": implemented support for function's |
56 |
|
"duration-us" argument, thus scripts using this function are now |
57 |
|
correctly resumed after the requested amount of microseconds. |
58 |
|
- Built-in script function "play_note()": implemented support for |
59 |
|
function's "duration-us" argument, thus notes triggered with this |
60 |
|
argument are now correctly released after the requested amount of |
61 |
|
microseconds. |
62 |
|
- Fix: script events were not cleared when engine channel was reset, |
63 |
|
potentially causing undefined behavior. |
64 |
|
- Fixed crash which happened when trying to reference an undeclared |
65 |
|
variable. |
66 |
|
- Built-in script function "play_note()": Added support for passing |
67 |
|
special value -1 for "duration-us" argument, which will cause the |
68 |
|
triggered note to be released once the original note was released. |
69 |
|
- Instrument script classes now exported with the liblinuxsampler C++ API. |
70 |
|
- Added new API method ScriptVM::syntaxHighlighting() which provides |
71 |
|
a convenient syntax highlighting backend for external instrument |
72 |
|
script editor applications. |
73 |
|
- Added new C++ API class "ScriptVMFactory". |
74 |
|
- Extended parser issues to provide not only first line and first |
75 |
|
column, but also last line and last column of issue (thus marking |
76 |
|
the precise span of the issue within the source code). |
77 |
|
- Reload script automatically after being modified by an instrument |
78 |
|
editor. |
79 |
|
- NKSP language grammar correction: allow empty event handler bodies |
80 |
|
like "on note end on". |
81 |
|
- Implemented built-in script function "change_vol()". |
82 |
|
- Implemented built-in script function "change_tune()". |
83 |
|
- Implemented built-in script function "change_pan()". |
84 |
|
- Implemented built-in script function "change_cutoff()". |
85 |
|
- Implemented built-in script function "change_reso()". |
86 |
|
- Implemented built-in script function "event_status()". |
87 |
|
- Added built-in script constants "$EVENT_STATUS_INACTIVE" and |
88 |
|
"$EVENT_STATUS_NOTE_QUEUE" both for being used as flags for |
89 |
|
"event_status()" function. |
90 |
|
- NKSP language: Added support for bitwise operators ".or.", ".and." |
91 |
|
and ".not.". |
92 |
|
- NKSP language scanner: Fixed IDs matching to require at least one |
93 |
|
character (i.e. when matching function names or variable names). |
94 |
|
- NKSP language scanner: disabled unusued rules. |
95 |
|
- Fixed behavior of play_note() and note_off() functions which must |
96 |
|
be distinguished engine internally from "real" MIDI note on/off |
97 |
|
events in order to avoid misbehaviors like hanging notes. |
98 |
|
- Implemented built-in script variable "$KSP_TIMER". |
99 |
|
- Implemented built-in script variable "$NKSP_REAL_TIMER". |
100 |
|
- Implemented built-in script variable "$NKSP_PERF_TIMER". |
101 |
|
- Implemented built-in script variable "$ENGINE_UPTIME". |
102 |
|
- Implemented built-in script function "inc()". |
103 |
|
- Implemented built-in script function "dec()". |
104 |
|
- NKSP language fix: division expressions were evaluated too often. |
105 |
|
- NKSP language fix: string concatenation operator was right |
106 |
|
associative instead of left (to right). |
107 |
|
- NKSP language correction: allow empty statements in entire language |
108 |
|
(i.e. "if end if"). |
109 |
|
- Implemented built-in script function "stop_wait()". |
110 |
|
- Implemented built-in script variable "$NI_CALLBACK_ID". |
111 |
|
- Implemented built-in script variable "$NI_CALLBACK_TYPE". |
112 |
|
- Implemented built-in script variable "$NKSP_IGNORE_WAIT". |
113 |
|
- Added support for read-only built-in variables (respectively |
114 |
|
handled by the script parser). |
115 |
|
- Added built-in script constant "$NI_CB_TYPE_INIT". |
116 |
|
- Added built-in script constant "$NI_CB_TYPE_NOTE". |
117 |
|
- Added built-in script constant "$NI_CB_TYPE_RELEASE". |
118 |
|
- Added built-in script constant "$NI_CB_TYPE_CONTROLLER". |
119 |
|
- NKSP Language: Added support for user defined script functions. |
120 |
|
- Implemented built-in script function "change_attack()". |
121 |
|
- Implemented built-in script function "change_decay()". |
122 |
|
- Implemented built-in script function "change_release()". |
123 |
|
- Fixed all change_*() built-in script functions to apply their |
124 |
|
synthesis parameter changes immediately in case the respective note |
125 |
|
was triggered at the same time, instead of scheduling the parameter |
126 |
|
change, especially because it would cause some parameter types's |
127 |
|
changes either to be ramped (i.e. change_vol()) or other types even |
128 |
|
to have not effect at all (i.e. change_attack()). |
129 |
|
- Implemented built-in script function "sh_left()". |
130 |
|
- Implemented built-in script function "sh_right()". |
131 |
|
- Implemented built-in script function "min()". |
132 |
|
- Implemented built-in script function "max()". |
133 |
|
- NKSP Fix: "init" event handler was not always executed when a script |
134 |
|
was loaded. |
135 |
|
- NKSP built-in wait() script function: abort script execution if |
136 |
|
a negative or zero wait time was passed as argument (since this is |
137 |
|
a common indication of a bug either of the script or even of the |
138 |
|
engine, which could lead to RT instability or even worse). |
139 |
|
- ScriptVM: Implemented automatic suspension of RT safety |
140 |
|
threatening scripts. |
141 |
|
- Provide more user friendly error messages on syntax errors. |
142 |
|
- Fixed NKSP parser warning "Not a statement" when assigning an |
143 |
|
initializer list to an array variable. |
144 |
|
- Implemented built-in script array variable "%ALL_EVENTS". |
145 |
|
- Implemented built-in script function "in_range()". |
146 |
|
- Implemented built-in script function "change_amp_lfo_depth()". |
147 |
|
- Implemented built-in script function "change_amp_lfo_freq()". |
148 |
|
- Implemented built-in script function "change_pitch_lfo_depth()". |
149 |
|
- Implemented built-in script function "change_pitch_lfo_freq()". |
150 |
|
- Implemented built-in script function "change_vol_time()". |
151 |
|
- Implemented built-in script function "change_tune_time()". |
152 |
|
- Implemented built-in script function "fade_in()". |
153 |
|
- Implemented built-in script function "fade_out()". |
154 |
|
- Fixed acceptance of wrong data type of parameters passed to built-in |
155 |
|
script functions "change_vol()", "change_tune()", "change_pan()", |
156 |
|
"change_cutoff()", "change_reso()", "change_attack()", "change_decay()", |
157 |
|
"change_release()", "change_amp_lfo_depth()", "change_amp_lfo_freq()", |
158 |
|
"change_pitch_lfo_depth()" and "change_pitch_lfo_freq()". |
159 |
|
- Added built-in script function "get_event_par()" and implemented some |
160 |
|
of its possible parameter selections. |
161 |
|
- Added built-in script function "set_event_par()" and implemented some |
162 |
|
of its possible parameter selections. |
163 |
|
|
164 |
|
* Instruments DB: |
165 |
|
- Fixed memory access bug of general DB access code which lead to |
166 |
|
undefined behavior. |
167 |
|
- Cleanup of instruments DB file creation and opening code. |
168 |
|
- The instrument DB path of linuxsampler's --create-instruments-db argument |
169 |
|
is now optional, if it is missing, then a default location is used. |
170 |
|
- Added support for scanning SFZ (.sfz) files. |
171 |
|
- Added support for scanning Sound Font (.sf2) files. |
172 |
|
- Fixed undefined DB transaction behavior. |
173 |
|
|
174 |
|
Version 2.0.0 (15 July 2015) |
175 |
|
|
176 |
* packaging changes: |
* packaging changes: |
177 |
- fixed building with newer MinGW-w64 |
- fixed building with newer MinGW-w64 |
276 |
polyphonic key pressure events (so far polyphonic pressure was not |
polyphonic key pressure events (so far polyphonic pressure was not |
277 |
supported at all, and channel pressure was rerouted as CC128 but not |
supported at all, and channel pressure was rerouted as CC128 but not |
278 |
used so far). |
used so far). |
279 |
|
- Added initial support for real-time instrument scripts. The script VM |
280 |
|
code is shared by all sampler engine implemementations, however only the |
281 |
|
gig file format currently provides support for storing instrument scripts |
282 |
|
(as LinuxSampler extension to the original GigaStudio 4 format). |
283 |
|
|
284 |
* Gigasampler format engine: |
* Gigasampler format engine: |
285 |
- implemented the "round robin keyboard" dimension |
- implemented the "round robin keyboard" dimension |
299 |
- Fixed support for 'aftertouch' attenuation controller. |
- Fixed support for 'aftertouch' attenuation controller. |
300 |
- Fixed crash that happened with velocity split sounds under certain |
- Fixed crash that happened with velocity split sounds under certain |
301 |
conditions (see also previous commit on libgig). |
conditions (see also previous commit on libgig). |
302 |
|
- fixed behaviour of filter LFO |
303 |
|
|
304 |
* SFZ format engine: |
* SFZ format engine: |
305 |
- Initial implementation (not usable yet) |
- Initial implementation (not usable yet) |
464 |
- bugfix: generation of velocity curves etc should not be done |
- bugfix: generation of velocity curves etc should not be done |
465 |
after each "#include", only after the main file is parsed |
after each "#include", only after the main file is parsed |
466 |
- bugfix: line numbers in error messages were wrong after "#include" |
- bugfix: line numbers in error messages were wrong after "#include" |
467 |
|
- added support for float and 32 bit sample files |
468 |
|
|
469 |
* SoundFont format engine: |
* SoundFont format engine: |
470 |
- Initial implementation (not usable yet) |
- Initial implementation (not usable yet) |
512 |
- VST: implemented retrieval and switching of programs using the |
- VST: implemented retrieval and switching of programs using the |
513 |
sampler's internal MIDI instrument mapping system |
sampler's internal MIDI instrument mapping system |
514 |
|
|
515 |
|
* Instrument editor interface: |
516 |
|
- Changed instrument editor plugin interface, providing additional |
517 |
|
informations like the EngineChannel for which the instrument editor was |
518 |
|
spawned for. This allows the instrument editors to interact more actively |
519 |
|
with the sampler. |
520 |
|
|
521 |
* MIDI driver: |
* MIDI driver: |
522 |
- ALSA MIDI driver supports now "NAME" device parameter, for overriding |
- ALSA MIDI driver supports now "NAME" device parameter, for overriding |
523 |
the ALSA sequencer client name |
the ALSA sequencer client name |
539 |
- Implemented missing handling of MIDI "running status". |
- Implemented missing handling of MIDI "running status". |
540 |
- CoreMIDI fix: a MIDIPacket can contain more than one event per packet. |
- CoreMIDI fix: a MIDIPacket can contain more than one event per packet. |
541 |
- MME bugfix: driver wasn't closed properly |
- MME bugfix: driver wasn't closed properly |
542 |
|
- CoreMIDI: automatically connect to all input sources by default (driver |
543 |
|
parameter "AUTO_BIND"). |
544 |
|
- CoreMIDI: fixed auto bind feature to CoreMIDI ports that go online |
545 |
|
- CoreMIDI: fixed minor memory leak |
546 |
|
|
547 |
* audio driver: |
* audio driver: |
548 |
- ASIO driver fixes for newer gcc versions (fix from PortAudio) |
- ASIO driver fixes for newer gcc versions (fix from PortAudio) |
594 |
"SUBSCRIBE SEND_EFFECT_CHAIN_INFO" |
"SUBSCRIBE SEND_EFFECT_CHAIN_INFO" |
595 |
- provide comprehensive error messages on LSCP syntax errors |
- provide comprehensive error messages on LSCP syntax errors |
596 |
(suggesting expected next non-terminal symbols) |
(suggesting expected next non-terminal symbols) |
597 |
|
- Fixed client connection not being closed after network errors. |
598 |
|
|
599 |
* LSCP shell: |
* LSCP shell: |
600 |
- Added support for auto correction of obvious and trivial syntax mistakes. |
- Added support for auto correction of obvious and trivial syntax mistakes. |
610 |
as one specific LSCP command was detected while typing on the command |
as one specific LSCP command was detected while typing on the command |
611 |
line. |
line. |
612 |
|
|
613 |
|
* Real-time instrument scripts: |
614 |
|
- Implemented built-in script array variable %CC. |
615 |
|
- Implemented built-in script int variable $CC_NUM. |
616 |
|
- Implemented built-in script int variable $EVENT_NOTE. |
617 |
|
- Implemented built-in script int variable $EVENT_VELOCITY. |
618 |
|
- Implemented built-in script constant variable $VCC_MONO_AT. |
619 |
|
- Implemented built-in script constant variable $VCC_PITCH_BEND. |
620 |
|
- Implemented execution of script event handler "init". |
621 |
|
- Implemented execution of script event handler "controller". |
622 |
|
- Implemented execution of script event handler "note". |
623 |
|
- Implemented execution of script event handler "release". |
624 |
|
- Implemented built-in script function "play_note()" (only two of the |
625 |
|
max. four function arguments are currently implemented yet though). |
626 |
|
- Implemented built-in script int variable $EVENT_ID. |
627 |
|
- Implemented built-in script function "ignore_event()" |
628 |
|
- Implemented built-in script function "ignore_controller()" (may have one |
629 |
|
or no argument). |
630 |
|
- Implemented built-in script function "set_controller()". |
631 |
|
- Added extended script VM for the Gigasampler/GigaStudio format sampler |
632 |
|
engine, which extends the general instrument script VM with Giga format |
633 |
|
specific variables and functions. |
634 |
|
- Giga format scripts: added built-in script int constant variables |
635 |
|
$GIG_DIM_CHANNEL, $GIG_DIM_LAYER, $GIG_DIM_VELOCITY, $GIG_DIM_AFTERTOUCH, |
636 |
|
$GIG_DIM_RELEASE, $GIG_DIM_KEYBOARD, $GIG_DIM_ROUNDROBIN, $GIG_DIM_RANDOM, |
637 |
|
$GIG_DIM_SMARTMIDI, $GIG_DIM_ROUNDROBINKEY, $GIG_DIM_MODWHEEL, |
638 |
|
$GIG_DIM_BREATH, $GIG_DIM_FOOT, $GIG_DIM_PORTAMENTOTIME, $GIG_DIM_EFFECT1, |
639 |
|
$GIG_DIM_EFFECT2, $GIG_DIM_GENPURPOSE1, $GIG_DIM_GENPURPOSE2, |
640 |
|
$GIG_DIM_GENPURPOSE3, $GIG_DIM_GENPURPOSE4, $GIG_DIM_SUSTAIN, |
641 |
|
$GIG_DIM_PORTAMENTO, $GIG_DIM_SOSTENUTO, $GIG_DIM_SOFT, |
642 |
|
$GIG_DIM_GENPURPOSE5, $GIG_DIM_GENPURPOSE6, $GIG_DIM_GENPURPOSE7, |
643 |
|
$GIG_DIM_GENPURPOSE8, $GIG_DIM_EFFECT1DEPTH, $GIG_DIM_EFFECT2DEPTH, |
644 |
|
$GIG_DIM_EFFECT3DEPTH, $GIG_DIM_EFFECT4DEPTH, $GIG_DIM_EFFECT5DEPTH. |
645 |
|
- Giga format scripts: Implemented built-in script function |
646 |
|
"gig_set_dim_zone(event_id, dimension, zone)". |
647 |
|
- Implemented built-in script int array variable $KEY_DOWN. |
648 |
|
- Implemented built-in script function "abs()". |
649 |
|
- Implemented built-in script function "random()". |
650 |
|
- Implemented built-in script function "num_elements()". |
651 |
|
- Implemented built-in script function "note_off()". |
652 |
|
- Implemented built-in script function "set_event_mark()". |
653 |
|
- Implemented built-in script function "delete_event_mark()". |
654 |
|
- Implemented built-in script function "by_marks()". |
655 |
|
- Added built-in script int const variables $MARK_1 to $MARK_28. |
656 |
|
- Built-in script functions "ignore_event()", "note_off()" and |
657 |
|
"gig_set_dim_zone()" now also accept an array of event IDs as argument |
658 |
|
(i.e. return value of new script function "by_marks()"). |
659 |
|
- Pass/preserve polyphonic variable data from respective "note" event |
660 |
|
handler to "release" event handler. |
661 |
|
- Fixed crash when using built-in script function "by_marks()". |
662 |
|
|
663 |
* Bug fixes: |
* Bug fixes: |
664 |
- 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 |
665 |
- minor valgrind fixes |
- minor valgrind fixes |
710 |
"GET SERVER INFOasdf\n" to be accepted as valid statement (was so far |
"GET SERVER INFOasdf\n" to be accepted as valid statement (was so far |
711 |
practically irrelevant, however it caused problems with the new LSCP |
practically irrelevant, however it caused problems with the new LSCP |
712 |
shell's auto completion feature). |
shell's auto completion feature). |
713 |
|
- Fixed MIDI program change messages being ignored if quickly executed |
714 |
|
after each other (fixes #231). |
715 |
|
|
716 |
Version 1.0.0 (31 July 2009) |
Version 1.0.0 (31 July 2009) |
717 |
|
|