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 |
|
|
6 |
|
* general changes: |
7 |
|
- fixed printf type errors (mostly in debug messages) |
8 |
|
- use unique_ptr instead of auto_ptr when building with C++11 |
9 |
|
- Added RTAVLTree class which is a real-time safe ordered multi-map, thus |
10 |
|
allowing to sort data efficiently in real-time safe manner. |
11 |
|
- RTList class: added methods for moving/inserting elements to arbitrary |
12 |
|
position within a list. |
13 |
|
- RTList class: added method fromPtr() for creating an Iterator object from |
14 |
|
a raw element pointer. |
15 |
|
- Attempt to partly fix resetting engine channels vs. resetting engine, an |
16 |
|
overall cleanup of the Reset*(), ConnectAudioDevice(), |
17 |
|
DisconnectAudioDevice() API methods would still be desirable though, |
18 |
|
because the current situation is still inconsistent and error prone. |
19 |
|
- Active voices are now internally grouped to "Note" objects, instead of |
20 |
|
being directly assigned to a keyboard key. This allows more fine graded |
21 |
|
processing of voices, which is i.e. required for certain instrument |
22 |
|
script features. |
23 |
|
- Fix: Release trigger voices were not spawned on sustain pedal up |
24 |
|
(CC #64) events. |
25 |
|
- Fix: Release trigger voices can now also distinguish correctly between |
26 |
|
note-off and sustain pedal up events. |
27 |
|
- All engines: Increased ramp speed of volume smoother and pan smoother |
28 |
|
(while slow rate of crossfade smoother is preserved) to allow quick |
29 |
|
volume and pan changes by instrument scripts for instance. |
30 |
|
- gig/sf2/sfz: Fixed aftertouch channel pressure events being processed |
31 |
|
properly and thus were ignored for certain uses. |
32 |
|
- Added new C++ API method |
33 |
|
VirtualMidiDevice::SendChannelPressureToSampler(). |
34 |
|
- windows, 32-bit: fixed potential crashes by making sure the stack in |
35 |
|
sub threads is 16-byte aligned |
36 |
|
|
37 |
|
* packaging changes: |
38 |
|
- removed unnecessary dependency to libuuid |
39 |
|
(originated by libgig's usage of it) |
40 |
|
- Automake: set environment variable GCC_COLORS=auto to allow GCC to |
41 |
|
auto detect whether it (sh/c)ould output its messages in color. |
42 |
|
|
43 |
|
* Real-time instrument scripts: |
44 |
|
- Implemented scheduler for delayed MIDI events and for suspended scripts. |
45 |
|
- Built-in script function "wait()": implemented support for function's |
46 |
|
"duration-us" argument, thus scripts using this function are now |
47 |
|
correctly resumed after the requested amount of microseconds. |
48 |
|
- Built-in script function "play_note()": implemented support for |
49 |
|
function's "duration-us" argument, thus notes triggered with this |
50 |
|
argument are now correctly released after the requested amount of |
51 |
|
microseconds. |
52 |
|
- Fix: script events were not cleared when engine channel was reset, |
53 |
|
potentially causing undefined behavior. |
54 |
|
- Fixed crash which happened when trying to reference an undeclared |
55 |
|
variable. |
56 |
|
- Built-in script function "play_note()": Added support for passing |
57 |
|
special value -1 for "duration-us" argument, which will cause the |
58 |
|
triggered note to be released once the original note was released. |
59 |
|
- Instrument script classes now exported with the liblinuxsampler C++ API. |
60 |
|
- Added new API method ScriptVM::syntaxHighlighting() which provides |
61 |
|
a convenient syntax highlighting backend for external instrument |
62 |
|
script editor applications. |
63 |
|
- Added new C++ API class "ScriptVMFactory". |
64 |
|
- Extended parser issues to provide not only first line and first |
65 |
|
column, but also last line and last column of issue (thus marking |
66 |
|
the precise span of the issue within the source code). |
67 |
|
- Reload script automatically after being modified by an instrument |
68 |
|
editor. |
69 |
|
- NKSP language grammar correction: allow empty event handler bodies |
70 |
|
like "on note end on". |
71 |
|
- Implemented built-in script function "change_vol()". |
72 |
|
- Implemented built-in script function "change_tune()". |
73 |
|
- Implemented built-in script function "change_pan()". |
74 |
|
- Implemented built-in script function "change_cutoff()". |
75 |
|
- Implemented built-in script function "change_reso()". |
76 |
|
- Implemented built-in script function "event_status()". |
77 |
|
- Added built-in script constants "$EVENT_STATUS_INACTIVE" and |
78 |
|
"$EVENT_STATUS_NOTE_QUEUE" both for being used as flags for |
79 |
|
"event_status()" function. |
80 |
|
- NKSP language: Added support for bitwise operators ".or.", ".and." |
81 |
|
and ".not.". |
82 |
|
- NKSP language scanner: Fixed IDs matching to require at least one |
83 |
|
character (i.e. when matching function names or variable names). |
84 |
|
- NKSP language scanner: disabled unusued rules. |
85 |
|
- Fixed behavior of play_note() and note_off() functions which must |
86 |
|
be distinguished engine internally from "real" MIDI note on/off |
87 |
|
events in order to avoid misbehaviors like hanging notes. |
88 |
|
- Implemented built-in script variable "$KSP_TIMER". |
89 |
|
- Implemented built-in script variable "$NKSP_REAL_TIMER". |
90 |
|
- Implemented built-in script variable "$NKSP_PERF_TIMER". |
91 |
|
- Implemented built-in script variable "$ENGINE_UPTIME". |
92 |
|
- Implemented built-in script function "inc()". |
93 |
|
- Implemented built-in script function "dec()". |
94 |
|
- NKSP language fix: division expressions were evaluated too often. |
95 |
|
- NKSP language fix: string concatenation operator was right |
96 |
|
associative instead of left (to right). |
97 |
|
- NKSP language correction: allow empty statements in entire language |
98 |
|
(i.e. "if end if"). |
99 |
|
- Implemented built-in script function "stop_wait()". |
100 |
|
- Implemented built-in script variable "$NI_CALLBACK_ID". |
101 |
|
- Implemented built-in script variable "$NI_CALLBACK_TYPE". |
102 |
|
- Implemented built-in script variable "$NKSP_IGNORE_WAIT". |
103 |
|
- Added support for read-only built-in variables (respectively |
104 |
|
handled by the script parser). |
105 |
|
- Added built-in script constant "$NI_CB_TYPE_INIT". |
106 |
|
- Added built-in script constant "$NI_CB_TYPE_NOTE". |
107 |
|
- Added built-in script constant "$NI_CB_TYPE_RELEASE". |
108 |
|
- Added built-in script constant "$NI_CB_TYPE_CONTROLLER". |
109 |
|
- NKSP Language: Added support for user defined script functions. |
110 |
|
- Implemented built-in script function "change_attack()". |
111 |
|
- Implemented built-in script function "change_decay()". |
112 |
|
- Implemented built-in script function "change_release()". |
113 |
|
- Fixed all change_*() built-in script functions to apply their |
114 |
|
synthesis parameter changes immediately in case the respective note |
115 |
|
was triggered at the same time, instead of scheduling the parameter |
116 |
|
change, especially because it would cause some parameter types's |
117 |
|
changes either to be ramped (i.e. change_vol()) or other types even |
118 |
|
to have not effect at all (i.e. change_attack()). |
119 |
|
- Implemented built-in script function "sh_left()". |
120 |
|
- Implemented built-in script function "sh_right()". |
121 |
|
- Implemented built-in script function "min()". |
122 |
|
- Implemented built-in script function "max()". |
123 |
|
- NKSP Fix: "init" event handler was not always executed when a script |
124 |
|
was loaded. |
125 |
|
- NKSP built-in wait() script function: abort script execution if |
126 |
|
a negative or zero wait time was passed as argument (since this is |
127 |
|
a common indication of a bug either of the script or even of the |
128 |
|
engine, which could lead to RT instability or even worse). |
129 |
|
- ScriptVM: Implemented automatic suspension of RT safety |
130 |
|
threatening scripts. |
131 |
|
- Provide more user friendly error messages on syntax errors. |
132 |
|
- Fixed NKSP parser warning "Not a statement" when assigning an |
133 |
|
initializer list to an array variable. |
134 |
|
|
135 |
|
Version 2.0.0 (15 July 2015) |
136 |
|
|
137 |
* packaging changes: |
* packaging changes: |
138 |
- fixed building with newer MinGW-w64 |
- fixed building with newer MinGW-w64 |
156 |
- modernized configure script |
- modernized configure script |
157 |
- fixed linkage error when building with |
- fixed linkage error when building with |
158 |
LDFLAGS="-Wl,--no-undefined" (#190) |
LDFLAGS="-Wl,--no-undefined" (#190) |
159 |
|
- fixed compilation with Clang 3.2 |
160 |
|
- removed usage of deprecated Automake variable INCLUDES |
161 |
|
- fixed building with C++11 |
162 |
|
- build fix: ChangeFlagRelaxed.h was missing in makefile |
163 |
|
- build fix: libsndfile compiler flags were missing in some |
164 |
|
makefiles |
165 |
|
- fix for building with bison 3.0 (#202) |
166 |
|
- Mac OS X: added temporary hack allowing to spawn gigedit as callback |
167 |
|
on the process's main thread |
168 |
|
- fixed build error on newer MinGW |
169 |
|
- support building with older jack versions |
170 |
|
- support building with spaces in vst sdk path |
171 |
|
- enabled automake 'subdir-objects' option and moved external |
172 |
|
source references (vst, au, asio) from makefiles to cpp files, |
173 |
|
in order to get rid of warnings from automake 1.14 |
174 |
|
|
175 |
* general changes: |
* general changes: |
176 |
- Refactoring: moved the independent code from |
- Refactoring: moved the independent code from |
211 |
- all engines: add pan CC value to instrument pan parameter before |
- all engines: add pan CC value to instrument pan parameter before |
212 |
applying panning, instead of using two separate pan functions in |
applying panning, instead of using two separate pan functions in |
213 |
series (#182) |
series (#182) |
214 |
|
- added a lock guard class for exception safe mutex handling and |
215 |
|
used it everywhere appropriate |
216 |
|
- Immediately apply scale tuning changes to active voices. |
217 |
|
- Exposed scale tuning to C++ API (along to the already existing standard |
218 |
|
SysEx way). |
219 |
|
- lsatomic.h fixes: seq_cst load and store were suboptimal for x86 |
220 |
|
and broken for ppc64. (Seq_cst loads and stores are actually not |
221 |
|
used in LS, so the bug wasn't noticable.) |
222 |
|
- lsatomic.h: added ARMv7 support |
223 |
|
- Added support for multiple MIDI input ports per sampler channel (and |
224 |
|
added various new C++ methods for this new feature / design change, old |
225 |
|
C++ API methods for managing SamplerChannel's MIDI inputs are now marked |
226 |
|
as deprecated but are still there and should provide full behavior |
227 |
|
backward compatibility). |
228 |
|
- AbstractEngine::GSChecksum(): don't allocate memory on the stack (was |
229 |
|
unsafe and caused compilation error with clang 2.x). |
230 |
|
- Bugfix: only process the latest MIDI program change event. |
231 |
|
- Introducing the LSCP shell, which provides convenient control of the |
232 |
|
sampler from the command line by providing LSCP aware features. |
233 |
|
- VirtualMidiDevice: Added support for program change. |
234 |
|
- VirtualMidiDevice: Added support for bank select (MSB & LSB). |
235 |
|
- VirtualMidiDevice: Added support for pitch bend. |
236 |
|
- Aftertouch: extended API to explicitly handle channel pressure and |
237 |
|
polyphonic key pressure events (so far polyphonic pressure was not |
238 |
|
supported at all, and channel pressure was rerouted as CC128 but not |
239 |
|
used so far). |
240 |
|
- Added initial support for real-time instrument scripts. The script VM |
241 |
|
code is shared by all sampler engine implemementations, however only the |
242 |
|
gig file format currently provides support for storing instrument scripts |
243 |
|
(as LinuxSampler extension to the original GigaStudio 4 format). |
244 |
|
|
245 |
* Gigasampler format engine: |
* Gigasampler format engine: |
246 |
- implemented the "round robin keyboard" dimension |
- implemented the "round robin keyboard" dimension |
254 |
filter parameters in each sub fragment) |
filter parameters in each sub fragment) |
255 |
- handle special case when pan parameter in gig file has max or |
- handle special case when pan parameter in gig file has max or |
256 |
min value |
min value |
257 |
|
- Exclusive Groups: don't ever stop voices of the same note, |
258 |
|
doesn't sound naturally with a drumkit |
259 |
|
- fixed EG1 modulation when attack or release is zero |
260 |
|
- Fixed support for 'aftertouch' attenuation controller. |
261 |
|
- Fixed crash that happened with velocity split sounds under certain |
262 |
|
conditions (see also previous commit on libgig). |
263 |
|
- fixed behaviour of filter LFO |
264 |
|
|
265 |
* SFZ format engine: |
* SFZ format engine: |
266 |
- Initial implementation (not usable yet) |
- Initial implementation (not usable yet) |
417 |
- fixed support for lochan and hichan opcodes (#155) |
- fixed support for lochan and hichan opcodes (#155) |
418 |
- fixed crash when using lochan/hichan opcodes (#187) |
- fixed crash when using lochan/hichan opcodes (#187) |
419 |
- sfz parser: allow -200 to 200 for pan_oncc opcode (#182) |
- sfz parser: allow -200 to 200 for pan_oncc opcode (#182) |
420 |
|
- added FLAC support (#191) |
421 |
|
- sfz parser bugfix: lines starting with whitespace were ignored |
422 |
|
- added amplitude opcode |
423 |
|
- added support for "#include" instruction |
424 |
|
(modified patch which was originally posted by Sergey on LS mailing list) |
425 |
|
- bugfix: generation of velocity curves etc should not be done |
426 |
|
after each "#include", only after the main file is parsed |
427 |
|
- bugfix: line numbers in error messages were wrong after "#include" |
428 |
|
- added support for float and 32 bit sample files |
429 |
|
|
430 |
* SoundFont format engine: |
* SoundFont format engine: |
431 |
- Initial implementation (not usable yet) |
- Initial implementation (not usable yet) |
473 |
- VST: implemented retrieval and switching of programs using the |
- VST: implemented retrieval and switching of programs using the |
474 |
sampler's internal MIDI instrument mapping system |
sampler's internal MIDI instrument mapping system |
475 |
|
|
476 |
|
* Instrument editor interface: |
477 |
|
- Changed instrument editor plugin interface, providing additional |
478 |
|
informations like the EngineChannel for which the instrument editor was |
479 |
|
spawned for. This allows the instrument editors to interact more actively |
480 |
|
with the sampler. |
481 |
|
|
482 |
* MIDI driver: |
* MIDI driver: |
483 |
- ALSA MIDI driver supports now "NAME" device parameter, for overriding |
- ALSA MIDI driver supports now "NAME" device parameter, for overriding |
484 |
the ALSA sequencer client name |
the ALSA sequencer client name |
494 |
(e.g. external MIDI devices being attached to the Mac) |
(e.g. external MIDI devices being attached to the Mac) |
495 |
- added support for MIDI note on velocity filter |
- added support for MIDI note on velocity filter |
496 |
- CoreMIDI: fixed memory deallocation error |
- CoreMIDI: fixed memory deallocation error |
497 |
|
- Fixed variable underflow in VirtualMidiDevice, which caused graphical |
498 |
|
virtual keyboards in frontends / instrument editors being stuck. |
499 |
|
- Bugfix in VirtualMidiDevice: process note on with velocity 0 as note off. |
500 |
|
- Implemented missing handling of MIDI "running status". |
501 |
|
- CoreMIDI fix: a MIDIPacket can contain more than one event per packet. |
502 |
|
- MME bugfix: driver wasn't closed properly |
503 |
|
- CoreMIDI: automatically connect to all input sources by default (driver |
504 |
|
parameter "AUTO_BIND"). |
505 |
|
- CoreMIDI: fixed auto bind feature to CoreMIDI ports that go online |
506 |
|
- CoreMIDI: fixed minor memory leak |
507 |
|
|
508 |
* audio driver: |
* audio driver: |
509 |
- ASIO driver fixes for newer gcc versions (fix from PortAudio) |
- ASIO driver fixes for newer gcc versions (fix from PortAudio) |
510 |
|
- JACK audio: react on sample rate changes. |
511 |
|
- JACK audio: react on buffer size changes. |
512 |
|
- JACK audio: jack_port_get_buffer() was cached and called outside |
513 |
|
RT context. |
514 |
|
- ASIO driver: removed compiler warnings |
515 |
|
- CoreAudio: fixed minor error handling bug |
516 |
|
- ASIO driver: be more verbose when no ASIO card could be found (fixes #203) |
517 |
|
- JACK audio: return the JACK server's current sample rate as default value |
518 |
|
for audio device parameter "SAMPLERATE" (fixes #166). |
519 |
|
|
520 |
* LSCP server: |
* LSCP server: |
521 |
- added support for sending MIDI CC messages via LSCP command |
- added support for sending MIDI CC messages via LSCP command |
553 |
- added LSCP commands "SUBSCRIBE EFFECT_INSTANCE_COUNT", |
- added LSCP commands "SUBSCRIBE EFFECT_INSTANCE_COUNT", |
554 |
"SUBSCRIBE EFFECT_INSTANCE_INFO", "SUBSCRIBE SEND_EFFECT_CHAIN_COUNT", |
"SUBSCRIBE EFFECT_INSTANCE_INFO", "SUBSCRIBE SEND_EFFECT_CHAIN_COUNT", |
555 |
"SUBSCRIBE SEND_EFFECT_CHAIN_INFO" |
"SUBSCRIBE SEND_EFFECT_CHAIN_INFO" |
556 |
|
- provide comprehensive error messages on LSCP syntax errors |
557 |
|
(suggesting expected next non-terminal symbols) |
558 |
|
|
559 |
|
* LSCP shell: |
560 |
|
- Added support for auto correction of obvious and trivial syntax mistakes. |
561 |
|
- Added support for auto completion by tab key. |
562 |
|
- Show currently available auto completion while typing. |
563 |
|
- Added support for browsing command history with up / down keys. |
564 |
|
- Show all possible next symbols immediately right to the current command |
565 |
|
line while typing (no double tab required for this feature, as it would |
566 |
|
be the case in other shells). |
567 |
|
- Added support for moving cursor left/right with arrow keys. |
568 |
|
- Added support for built-in LSCP reference documentation, which will |
569 |
|
automatically show the relevant LSCP reference section on screen as soon |
570 |
|
as one specific LSCP command was detected while typing on the command |
571 |
|
line. |
572 |
|
|
573 |
|
* Real-time instrument scripts: |
574 |
|
- Implemented built-in script array variable %CC. |
575 |
|
- Implemented built-in script int variable $CC_NUM. |
576 |
|
- Implemented built-in script int variable $EVENT_NOTE. |
577 |
|
- Implemented built-in script int variable $EVENT_VELOCITY. |
578 |
|
- Implemented built-in script constant variable $VCC_MONO_AT. |
579 |
|
- Implemented built-in script constant variable $VCC_PITCH_BEND. |
580 |
|
- Implemented execution of script event handler "init". |
581 |
|
- Implemented execution of script event handler "controller". |
582 |
|
- Implemented execution of script event handler "note". |
583 |
|
- Implemented execution of script event handler "release". |
584 |
|
- Implemented built-in script function "play_note()" (only two of the |
585 |
|
max. four function arguments are currently implemented yet though). |
586 |
|
- Implemented built-in script int variable $EVENT_ID. |
587 |
|
- Implemented built-in script function "ignore_event()" |
588 |
|
- Implemented built-in script function "ignore_controller()" (may have one |
589 |
|
or no argument). |
590 |
|
- Implemented built-in script function "set_controller()". |
591 |
|
- Added extended script VM for the Gigasampler/GigaStudio format sampler |
592 |
|
engine, which extends the general instrument script VM with Giga format |
593 |
|
specific variables and functions. |
594 |
|
- Giga format scripts: added built-in script int constant variables |
595 |
|
$GIG_DIM_CHANNEL, $GIG_DIM_LAYER, $GIG_DIM_VELOCITY, $GIG_DIM_AFTERTOUCH, |
596 |
|
$GIG_DIM_RELEASE, $GIG_DIM_KEYBOARD, $GIG_DIM_ROUNDROBIN, $GIG_DIM_RANDOM, |
597 |
|
$GIG_DIM_SMARTMIDI, $GIG_DIM_ROUNDROBINKEY, $GIG_DIM_MODWHEEL, |
598 |
|
$GIG_DIM_BREATH, $GIG_DIM_FOOT, $GIG_DIM_PORTAMENTOTIME, $GIG_DIM_EFFECT1, |
599 |
|
$GIG_DIM_EFFECT2, $GIG_DIM_GENPURPOSE1, $GIG_DIM_GENPURPOSE2, |
600 |
|
$GIG_DIM_GENPURPOSE3, $GIG_DIM_GENPURPOSE4, $GIG_DIM_SUSTAIN, |
601 |
|
$GIG_DIM_PORTAMENTO, $GIG_DIM_SOSTENUTO, $GIG_DIM_SOFT, |
602 |
|
$GIG_DIM_GENPURPOSE5, $GIG_DIM_GENPURPOSE6, $GIG_DIM_GENPURPOSE7, |
603 |
|
$GIG_DIM_GENPURPOSE8, $GIG_DIM_EFFECT1DEPTH, $GIG_DIM_EFFECT2DEPTH, |
604 |
|
$GIG_DIM_EFFECT3DEPTH, $GIG_DIM_EFFECT4DEPTH, $GIG_DIM_EFFECT5DEPTH. |
605 |
|
- Giga format scripts: Implemented built-in script function |
606 |
|
"gig_set_dim_zone(event_id, dimension, zone)". |
607 |
|
- Implemented built-in script int array variable $KEY_DOWN. |
608 |
|
- Implemented built-in script function "abs()". |
609 |
|
- Implemented built-in script function "random()". |
610 |
|
- Implemented built-in script function "num_elements()". |
611 |
|
- Implemented built-in script function "note_off()". |
612 |
|
- Implemented built-in script function "set_event_mark()". |
613 |
|
- Implemented built-in script function "delete_event_mark()". |
614 |
|
- Implemented built-in script function "by_marks()". |
615 |
|
- Added built-in script int const variables $MARK_1 to $MARK_28. |
616 |
|
- Built-in script functions "ignore_event()", "note_off()" and |
617 |
|
"gig_set_dim_zone()" now also accept an array of event IDs as argument |
618 |
|
(i.e. return value of new script function "by_marks()"). |
619 |
|
- Pass/preserve polyphonic variable data from respective "note" event |
620 |
|
handler to "release" event handler. |
621 |
|
|
622 |
* Bug fixes: |
* Bug fixes: |
623 |
- 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 |
661 |
playing a note in a key group |
playing a note in a key group |
662 |
- fixed erroneous error message piping in VoiceBase.h |
- fixed erroneous error message piping in VoiceBase.h |
663 |
(labelled "Disk stream not available in time") |
(labelled "Disk stream not available in time") |
664 |
|
- Update effects on sample rate & period size changes (to avoid |
665 |
|
crashes and noise on such transitions). |
666 |
|
- ignore missing LADSPA paths without ignoring valid LADSPA paths |
667 |
|
(fixes #208) |
668 |
|
- Fixed bug in LSCP grammar definition which caused a statement like |
669 |
|
"GET SERVER INFOasdf\n" to be accepted as valid statement (was so far |
670 |
|
practically irrelevant, however it caused problems with the new LSCP |
671 |
|
shell's auto completion feature). |
672 |
|
- Fixed MIDI program change messages being ignored if quickly executed |
673 |
|
after each other (fixes #231). |
674 |
|
|
675 |
Version 1.0.0 (31 July 2009) |
Version 1.0.0 (31 July 2009) |
676 |
|
|
735 |
- Windows: add the installation directory to the DLL search path |
- Windows: add the installation directory to the DLL search path |
736 |
when loading an editor plugin (solves problems with VST and |
when loading an editor plugin (solves problems with VST and |
737 |
gigedit on systems with other GTK versions installed) |
gigedit on systems with other GTK versions installed) |
738 |
|
- updated linuxsampler man page |
739 |
|
|
740 |
* audio driver: |
* audio driver: |
741 |
- removed the nonsense audio channel constraint (which was hard coded to |
- removed the nonsense audio channel constraint (which was hard coded to |