/[svn]/linuxsampler/trunk/ChangeLog
ViewVC logotype

Contents of /linuxsampler/trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2349 - (show annotations) (download)
Sun Jun 17 15:47:43 2012 UTC (11 years, 9 months ago) by persson
File size: 49139 byte(s)
* Mac OS X: fixed crash when unloading plugin on 10.7 and later

1 Version CVS HEAD (?)
2
3 * plugin changes:
4 - LV2 "state" extension support (patch by David Robillard)
5
6 * packaging changes:
7 - fixed building with newer MinGW-w64
8 - Mac OS X: support the new dir for Core Audio SDK
9 - Mac OS X: fixed building outside source directory
10 - made sure all source files for hostplugins are included when
11 doing "make dist"
12 - removed empty directories left from the cvs to svn migration
13 - fixed compilation with gcc 4.6.1
14 - another "make dist" fix, for the LV2 plugin
15 - made --enable-pthread-testcancel default on Mac OS X
16 - minor Makefile fix for building lscpparser when build and source
17 directories are separate
18 - Mac OS X: made it possible to specify plugin installation dir to
19 configure
20 - Mac OS X: Makefile fix for the install-strip target
21 - fixed compilation with gcc 4.7
22 - fixed configure script error with old autoconf versions
23 - lsatomic.h: use gcc provided atomic functions if building with
24 gcc 4.7 and C++11
25
26 * general changes:
27 - Refactoring: moved the independent code from
28 the Gigasampler format engine to base classes
29 - command line option '--profile' is currently disabled, since the
30 respective profiling code is currently broken
31 - Introduced support for optional environment variable
32 "LINUXSAMPLER_PLUGIN_DIR" which allows to override the directory
33 where the sampler shall look for instrument editor plugins
34 (patch by Luis Garrido, slightly modified).
35 - implemented Roland GS NRPN 1ArrH which allows to set volume per note
36 - implemented Roland GS NRPN 1CrrH which allows to set pan per note
37 - implemented Roland GS NRPN 1DrrH which allows to set reverb send per
38 note (in this implementation of the sampler its simply hard routed to
39 the 1st effect send of the sampler channel, no matter what the actual
40 effect type is)
41 - implemented Roland GS NRPN 1ErrH which allows to set chorus send per
42 note (in this implementation of the sampler its simply hard routed to
43 the 2nd effect send of the sampler channel, no matter what the actual
44 effect type is)
45 - implemented support for internal LADSPA effects
46 - raised limit of program change queue from 100 to 512
47 (as suggested by Alex Stone)
48 - implemented sine LFO, pulse LFO and saw LFO
49 - experimental support for per voice equalization
50 - added command line option --exec-after-init
51 - Introduced new C++ API method:
52 EngineChannel::InstrumentFileName(int index)
53 allowing to retrieve the whole list of files used for the loaded
54 instrument on an engine channel (a.k.a. part). Some GigaStudio
55 instruments for example are splitted over several files like
56 "Foo.gig", "Foo.gx01", "Foo.gx02", ...
57
58 * Gigasampler format engine:
59 - implemented the "round robin keyboard" dimension
60 - fixed round robin and random dimensions for cases when number of
61 dimension zones is not a power of two
62 - made round robin use a counter for each region instead of each
63 key
64
65 * SFZ format engine:
66 - Initial implementation (not usable yet)
67 - added support for v2 multiple stage envelope generators
68 - added a fine-tuned v1 envelope generator instead of using the
69 one from the gig engine
70 - fixed memory leak and memory handling errors
71 - added support for trigger=first, trigger=legato and sw_previous
72 - allow non-numerical key values ("C#4" for example)
73 - "key" opcode now sets pitch_keycenter too
74 - fixed error when unloading instrument with same sample used by
75 multiple regions
76 - added some opcode aliases, like loopmode for loop_mode, to be
77 more compatible
78 - added support for trigger=release and rt_decay
79 - added support for off_mode=normal
80 - added support for random, seq_position, seq_length and volume
81 - added v1 LFO opcodes to parser (no support in engine yet)
82 - added support for amp_veltrack and amp_velcurve_N
83 - fine-tuned the default velocity curve
84 - added support for transpose
85 - fixed crash when using sw_down/up
86 - improved logic for sw_lokey/hikey/up/down/last
87 - added more v1 aliases to parser
88 - reduced memory usage for sfz data
89 - RT-safeness: avoid malloc in audio thread
90 - fixed a bug that could cause voice stealing to fail
91 - optimized sample lookup
92 - improved support for exclusive groups (group, off_by and
93 off_mode)
94 - added support for controller triggered regions (on_locc/on_hicc)
95 - added support for loop_mode=one_shot
96 - fixed playback of 16 bit wav files on big endian CPUs
97 - added support for Ogg Vorbis sample files
98 - use loop markers from sample file if loop_start and loop_end are
99 not set in sfz file
100 - implemeted filters. Filter types: lowpass, bandpass, bandreject
101 and highpass. 1, 2, 4 and 6 pole filters. Opcodes: fil_type,
102 cutoff, resonance, fil_veltrack, fil_keytrack, fil_keycenter,
103 cutoff_cc, cutoff_chanaft.
104 - bugfix: zero ampeg_sustain didn't work
105 - added support for velocity effect on amplifier envelope time
106 (ampeg_vel2attack, ampeg_vel2decay, ampeg_vel2sustain and
107 ampeg_vel2release)
108 - added support for EG hold (ampeg_hold)
109 - added support for sample offset (offset)
110 - use the newly introduced signal units model
111 - implemented opcodes lfoN_delay,
112 lfoN_freq, lfoN_pan, lfoN_cutoff, lfoN_resonance
113 - implemented opcodes ampeg_delay, ampeg_vel2delay
114 pitcheg_delay, pitcheg_start, pitcheg_attack, pitcheg_hold,
115 pitcheg_decay, pitcheg_sustain, pitcheg_release, pitcheg_vel2delay,
116 pitcheg_vel2attack, pitcheg_vel2hold, pitcheg_vel2decay,
117 pitcheg_vel2sustain, pitcheg_vel2release, pitcheg_depth
118 - implemented opcodes pitchlfo_delay, pitchlfo_freq,
119 pitchlfo_depth, fillfo_delay, fillfo_freq, fillfo_depth,
120 amplfo_delay, amplfo_freq, amplfo_depth
121 - implemented opcodes fileg_delay, fileg_start, fileg_attack,
122 fileg_hold, fileg_decay, fileg_sustain, fileg_release, fileg_vel2delay,
123 fileg_vel2attack, fileg_vel2hold, fileg_vel2decay, fileg_vel2sustain,
124 fileg_vel2release
125 - implemented opcode lfoN_wave
126 - implemented opcode pitchlfo_depthccN
127 - implemented opcodes lfoN_phase, lfoN_phase_onccX,
128 lfoN_pitch, lfoN_pitch_onccX
129 - implemented opcodes pitchlfo_fade,
130 fillfo_fade, amplfo_fade, lfoN_fade, lfoN_fade_onccX
131 - implemented opcodes fillfo_freqccN,
132 pitchlfo_freqccN, amplfo_freqccN, lfoN_freq_onccX
133 - implemented opcodes ampeg_delayccN, ampeg_startccN,
134 ampeg_attackccN, ampeg_holdccN, ampeg_decayccN, ampeg_sustainccN,
135 ampeg_releaseccN, egN_timeX_onccY, egN_levelX_onccY
136 - lfoN_* and egN_* opcodes defined in group sections
137 are now taken into account
138 - implemented curves
139 - implemented opcodes volume_onccN, volume_curveccN
140 - implemented opcode volume_smoothccN
141 - implemented opcodes fillfo_depthccN, amplfo_depthccN,
142 lfoN_volume, lfoN_volume_onccX, lfoN_volume_smoothccX,
143 lfoN_freq_smoothccX, lfoN_pitch_smoothccX, lfoN_pan_onccX,
144 lfoN_pan_smoothccX, lfoN_cutoff_onccX, lfoN_cutoff_smoothccX,
145 lfoN_resonance_onccX, lfoN_resonance_smoothccX, lfoN_delay_onccX
146 - implemented opcode end
147 - implemented opcodes egN_amplitude_onccX,
148 egN_volume, egN_volume_onccX, egN_cutoff, egN_cutoff_onccX,
149 egN_pitch, egN_pitch_onccX, egN_resonance, egN_resonance_onccX
150 - implemented opcodes xfin_lokey, xfin_hikey,
151 xfout_lokey, xfout_hikey, xf_keycurve, xfin_lovel, xfin_hivel,
152 xfout_lovel, xfout_hivel, xf_velcurve, xfin_loccN, xfin_hiccN,
153 xfout_loccN, xfout_hiccN, xf_cccurve
154 - implemented opcodes pan_onccN, pan_smoothccN,
155 pan_curveccN, egN_pan, egN_pan_curve, egN_pan_onccX,
156 egN_pan_curveccX, pitch_veltrack
157 - when failed to parse a sfz file
158 print the line number on which the error occurs
159 - use common pool of CC objects to minimize RAM usage
160 - implemented opcodes amplfo_delay_onccN,
161 amplfo_fade_onccN, fillfo_delay_onccN, fillfo_fade_onccN,
162 pitchlfo_delay_onccN, pitchlfo_fade_onccN
163 - implemented opcodes fileg_delay_onccN,
164 fileg_start_onccN, fileg_attack_onccN, fileg_hold_onccN,
165 fileg_decay_onccN, fileg_sustain_onccN, fileg_release_onccN,
166 fileg_depth_onccN, pitcheg_delay_onccN, pitcheg_start_onccN,
167 pitcheg_attack_onccN, pitcheg_hold_onccN, pitcheg_decay_onccN,
168 pitcheg_sustain_onccN, pitcheg_release_onccN, pitcheg_depth_onccN
169 - implemented automatic aliasing *ccN <-> *_onccN
170 - *lfo_freqccN wasn't working when the respective *lfo_freq
171 was not set or was set to zero
172 - lfoN_freq_onccX wasn't working when lfoN_freq
173 was not set or was set to zero
174 - implemented opcodes resonance_onccN, resonance_smoothccN,
175 resonance_curveccN, cutoff_smoothccN, cutoff_curveccN
176 - implemented opcodes fillfo_depthchanaft,
177 fillfo_freqchanaft, amplfo_depthchanaft, amplfo_freqchanaft,
178 pitchlfo_depthchanaft, pitchlfo_freqchanaft
179 - implemented opcodes pitch_onccN,
180 pitch_curveccN, pitch_smoothccN, pitch_stepccN
181 - implemented opcodes volume_stepccN, pan_stepccN,
182 cutoff_stepccN, resonance_stepccN, lfoN_freq_stepccX,
183 lfoN_volume_stepccX, lfoN_pitch_stepccX, lfoN_pan_stepccX,
184 lfoN_cutoff_stepccX, lfoN_resonance_stepccX
185 - implemented opcodes eq1_freq, eq2_freq, eq3_freq,
186 eq1_freqccN, eq2_freqccN, eq3_freqccN, eq1_bw, eq2_bw, eq3_bw,
187 eq1_bwccN, eq2_bwccN, eq3_bwccN, eq1_gain, eq2_gain, eq3_gain,
188 eq1_gainccN, eq2_gainccN, eq3_gainccN
189 - implemented opcodes delay, delay_onccN, delay_random,
190 delay_samples, delay_samples_onccN
191 - implemented opcodes egN_eq1gain, egN_eq2gain, egN_eq3gain,
192 egN_eq1gain_onccX, egN_eq2gain_onccX, egN_eq3gain_onccX, egN_eq1freq,
193 egN_eq2freq, egN_eq3freq, egN_eq1freq_onccX, egN_eq2freq_onccX,
194 egN_eq3freq_onccX, egN_eq1bw, egN_eq2bw, egN_eq3bw, egN_eq1bw_onccX,
195 egN_eq2bw_onccX, egN_eq3bw_onccX, lfoN_eq1gain, lfoN_eq2gain,
196 lfoN_eq3gain, lfoN_eq1gain_onccX, lfoN_eq2gain_onccX, lfoN_eq3gain_onccX,
197 lfoN_eq1gain_smoothccX, lfoN_eq2gain_smoothccX, lfoN_eq3gain_smoothccX,
198 lfoN_eq1gain_stepccX, lfoN_eq2gain_stepccX, lfoN_eq3gain_stepccX,
199 lfoN_eq1freq, lfoN_eq2freq, lfoN_eq3freq, lfoN_eq1freq_onccX,
200 lfoN_eq2freq_onccX, lfoN_eq3freq_onccX, lfoN_eq1freq_smoothccX,
201 lfoN_eq2freq_smoothccX, lfoN_eq3freq_smoothccX, lfoN_eq1freq_stepccX,
202 lfoN_eq2freq_stepccX, lfoN_eq3freq_stepccX, lfoN_eq1bw, lfoN_eq2bw,
203 lfoN_eq3bw, lfoN_eq1bw_onccX, lfoN_eq2bw_onccX, lfoN_eq3bw_onccX,
204 lfoN_eq1bw_smoothccX, lfoN_eq2bw_smoothccX, lfoN_eq3bw_smoothccX,
205 lfoN_eq1bw_stepccX, lfoN_eq2bw_stepccX, lfoN_eq3bw_stepccX
206 - implemented opcodes eq1_vel2freq, eq2_vel2freq,
207 eq3_vel2freq, eq1_vel2gain, eq2_vel2gain, eq3_vel2gain
208 - sfz parser: allow double spaces in sample filenames
209 - sfz parser: allow absolute paths for sample filenames
210 - use linear decay and release for filter and pitch EG
211 - bugfix: only the first amp_veltrack definition in a file was
212 used
213 - bugfix: looping was disabled if loop_start was set to 0
214 - allow regions with end=-1 to turn off other regions using the
215 group and off_by opcodes (#168)
216 - made end=0 play the whole sample
217 - fixed support for lochan and hichan opcodes (#155)
218
219 * SoundFont format engine:
220 - Initial implementation (not usable yet)
221 - RT-safeness: avoid malloc in audio thread
222 - fixed a bug that could cause voice stealing to fail
223 - fine-tuned amplitude EG (by switching from gig to sfz EG)
224 - initial implementation of Vibrato LFO and Modulation LFO
225 - initial implementation of cutoff filter
226 - use linear decay and release for filter and pitch EG
227
228 * Gigasampler format engine:
229 - bugfix: pitch LFO controller "internal+aftertouch" was broken
230 - bugfix: filter keyboard tracking was broken
231 - filter performance fix (an unnecessary copy was made of the
232 filter parameters in each sub fragment)
233
234 * Host plugins:
235 - AU bugfix: failed to destroy its audio/MIDI devices
236 - Listen to all interfaces on Mac OS X (INADDR_ANY)
237 - VST bugfix: If the host called resume() before and after
238 changing sample rate or block size, the number of channels was
239 incorrectly set to two. This caused silence in Cubase 5.
240 - save engine type (gig, sfz or sf2) in plugin state
241 - VST: when opening Fantasia, look for both 32 and 64 bit Java on
242 64 bit Windows
243 - AU: changed number of output channels from one stereo to 16
244 stereo
245 - VST: made it possible to build the VST plugin for Mac
246 - AU: link AU plugin dynamically if --disable-shared isn't
247 specified
248 - VST bugfix: instrument loading hang and crashed the host when
249 the plugin was loaded a second time (#174)
250 - plugin bugfix: instrument loading hang when the plugin was
251 loaded a second time (this time it's for Linux and Mac, previous
252 similar fix was for Windows)
253 - thread safety fixes for the instrument loading thread
254 - LV2: use the new lv2 package if present
255 - VST: try to open Fantasia automatically on Linux and Mac too (on
256 Linux, the Fantasia jar should be placed in <prefix>/share/java)
257 - VST: fixed crashes on Linux Ardour and EnergyXT
258
259 * MIDI driver:
260 - ALSA MIDI driver supports now "NAME" device parameter, for overriding
261 the ALSA sequencer client name
262 - removed limit of maximum amount of MIDI ports per MIDI device, since
263 there is no reason for this limit
264 - MME: fixed memory handling bug found with cppcheck
265 - MME: removed compiler warning
266
267 * audio driver:
268 - ASIO driver fixes for newer gcc versions (fix from PortAudio)
269
270 * LSCP server:
271 - added support for sending MIDI CC messages via LSCP command
272 "SEND CHANNEL MIDI_DATA CC <sampler-chan> <ctrl> <val>"
273 - added LSCP command "GET AVAILABLE_EFFECTS"
274 - added LSCP command "LIST AVAILABLE_EFFECTS"
275 - added LSCP command "GET EFFECT INFO <effect-index>"
276 - added LSCP command "CREATE EFFECT_INSTANCE <effect-index>"
277 - added LSCP command
278 "CREATE EFFECT_INSTANCE <effect-system> <module> <effect-name>"
279 - added LSCP command "DESTROY EFFECT_INSTANCE <effect-instance>"
280 - added LSCP command "GET EFFECT_INSTANCES"
281 - added LSCP command "LIST EFFECT_INSTANCES"
282 - added LSCP command "GET EFFECT_INSTANCE INFO <effect-instance>"
283 - added LSCP command
284 "GET EFFECT_INSTANCE_INPUT_CONTROL INFO <effect-instance> <input-control>"
285 - added LSCP command "SET EFFECT_INSTANCE_INPUT_CONTROL VALUE
286 <effect-instance> <input-control> <value>"
287 - added LSCP command "GET SEND_EFFECT_CHAINS <audio-device>"
288 - added LSCP command "LIST SEND_EFFECT_CHAINS <audio-device>"
289 - added LSCP command "ADD SEND_EFFECT_CHAIN <audio-device>"
290 - added LSCP command
291 "REMOVE SEND_EFFECT_CHAIN <audio-device> <effect-chain>"
292 - added LSCP command
293 "GET SEND_EFFECT_CHAIN INFO <audio-device> <effect-chain>"
294 - added LSCP command "APPEND SEND_EFFECT_CHAIN EFFECT <audio-device>
295 <effect-chain> <effect-instance>"
296 - added LSCP command "INSERT SEND_EFFECT_CHAIN EFFECT <audio-device>
297 <effect-chain> <effect-chain-pos> <effect-instance>"
298 - added LSCP command "REMOVE SEND_EFFECT_CHAIN EFFECT <audio-device>
299 <effect-chain> <chain-pos>"
300 - added LSCP command "SET FX_SEND EFFECT <sampler_channel>
301 <fx_send_id> <effect_chain> <chain_pos>"
302 - added LSCP command "REMOVE FX_SEND EFFECT <sampler_channel> <fx_send_id>"
303 - added LSCP commands "SUBSCRIBE EFFECT_INSTANCE_COUNT",
304 "SUBSCRIBE EFFECT_INSTANCE_INFO", "SUBSCRIBE SEND_EFFECT_CHAIN_COUNT",
305 "SUBSCRIBE SEND_EFFECT_CHAIN_INFO"
306
307 * Bug fixes:
308 - Fixed crash which may occur when MIDI key + transpose is out of range
309 - minor valgrind fixes
310 - fixed crash which occurred when changing an already deployed sampler
311 channel to a different engine type
312 - fixed crash when deleting a sampler channel or changing engine
313 type while an instrument load was in progress
314 - bugfix: playing a note while changing the instrument could cause
315 a crash, or give "Handing back unknown region" error messages
316 - bugfix: calling SET VOICES (which Fantasia does on start and
317 refresh) could cause instruments to be unloaded
318 - Mac OS X: fixed name collision of enum in EffectControl and
319 wrong name of destructor in AudioOutputDeviceCoreAudio.cpp
320 - Mac OS X: fixed hanging threads
321 - Windows: disabled the previous thread fix on non-Mac systems, as
322 it caused hanging threads on Windows
323 - Fixed possible crashes due to corrupted MIDI/audio device list
324 after MIDI/audio device creation failure
325 - When creating MIDI instrument map entries with "PERSISTENT" type, the
326 instruments were uselessly precached with zero samples, however it still
327 took the full preloading time and on 1st program change the respective
328 instrument was completely reloaded again.
329 - fixed handling of rapid bank select and program change messages
330 sent to the same sampler channel (patch from the Open Octave
331 project, slightly adjusted)
332 - fixed crash when trying to create an effect instance with controls
333 which min and/or max values depend on the sample rate
334 - fixed bug #162
335 - bugfix: LADSPA_PATH was not evaluated correctly when containing
336 multiple paths (#165)
337 - thread safety fixes for the instrument loading thread
338 - bugfix: instrument loading crashed for sfz and sf2 in Ardour
339 (#176)
340 - more thread safety fixes for the instrument loading thread
341 - sfz/sf2 engine: fixed crash when using small audio fragment size
342 - Mac OS X: fixed crash when unloading plugin on 10.7 and later
343
344 Version 1.0.0 (31 July 2009)
345
346 * packaging changes:
347 - autoconf bugfix: the PKG_CONFIG variable wasn't initialized properly,
348 causing e.g. the libgig test to fail when
349 "./configure --disable-jack-driver" was used
350 (patch by Alexis Ballier)
351 - fixed compilation with gcc 4.3
352 - fixes for building on OS X (thanks to Ebrahim Mayat for testing)
353 - fixed configure so it detects x86_64 (#107)
354 - fixes for building with newer MinGW versions
355 - fix for building with bison 2.4 (#111)
356 - fixed building with libgig installed in a non-standard directory
357 - minor fix in configure for mmsystem.h detection on MinGW
358 - Windows: look for editor plugins and Fantasia using base
359 directory of liblinuxsampler dll (look in the same directory and one
360 directory above)
361 - configure script fix: removed unconditional use of SSE
362 - fixed building with sqlite installed in a non-standard directory
363 - when cross-compiling, don't try to create instruments.db
364 - fix for new mingw-w64 version, which has usleep
365
366 * general changes:
367 - bugfix: on some POSIX systems instrument editor plugins refused to
368 load as we used a non-portable Linux specific struct field
369 (fixes bug #70, patch by Ronald Baljeu)
370 - fixed endless loop which occured when loading an instrument editor
371 plugin DLL on Windows systems failed
372 - fixed memory leaks that occurred when liblinuxsampler was unloaded
373 - optimized the SynchronizedConfig class so it doesn't wait
374 unnecessarily long after an update
375 - added support for notifying instrument editors on note-on / note-off
376 events (e.g. to highlight the pressed keys on the virtual keyboard
377 of gigedit)
378 - added support for triggering notes by instrument editors (see above)
379 - be verbose on DLL load errors (on Linux)
380 - fixed di-harmonic triangle LFO implementation (this LFO implementation
381 is only used by very few systems, most pick the int math
382 implementation, which is usually faster)
383 - fixes for audio drivers with varying buffer sizes
384 - experimental support for running LinuxSampler as a DSSI, LV2 and
385 VST plugin
386 - notification events for stream/voice count statistics are now sent
387 only when there are actual changes
388 - added memory ordering constraints to improve stability on
389 multi-core and multi-cpu systems
390 - maximum voices and disk streams can now be altered at runtime
391 - fixed CPU feature detection on x86_64 (maybe fixes #108)
392 - automatic stacktrace mechanism is now turned off by default and can
393 be switched on by command line option "--stacktrace" (the automatic
394 stacktrace mechanism seems to be broken on most systems at the moment)
395 - C++ API method InstrumentManager::LaunchInstrumentEditor() now returns
396 a pointer to the launched InstrumentEditor object
397 - added optional 3rd party user data parameter for following
398 liblinuxsampler C++ API methods: InstrumentEditor::Main(),
399 InstrumentEditor::Launch(),
400 InstrumentManager::LaunchInstrumentEditor()
401 - theoretical fix: made SynchronizedConfig follow C++0x memory
402 model more strictly
403 - fixes for using large audio device buffers
404 - Windows: add the installation directory to the DLL search path
405 when loading an editor plugin (solves problems with VST and
406 gigedit on systems with other GTK versions installed)
407
408 * audio driver:
409 - removed the nonsense audio channel constraint (which was hard coded to
410 max. 100 audio channels) for most audio drivers
411 - JACK audio driver did not offer a device parameter "SAMPLERATE" as
412 opposed to the LSCP specs
413 - bugfix: the SAMPLERATE parameter of some drivers (e.g. JACK)
414 reflected the wrong value
415 - fixed a memory management bug in ASIO driver
416 - Makefile fix: JACK_CFLAGS wasn't used
417 - JACK: use jack_client_open instead of the deprecated
418 jack_client_new
419 - added (experimental) CoreAudio driver
420 - applied old fixes to the ASIO driver that were included in the
421 previous binary release but accidentally never committed to CVS
422 (fixes #117)
423 - fixes for ASIO on mingw-w64 (iasio wrapper is not needed on
424 win64)
425 - VST: added support for sample rate and buffer size changes
426 - VST: close editor (Fantasia) when the VST is removed
427 - VST: avoid opening Fantasia more than once for each VST instance
428 - VST: export main function as "main" on Linux too (fix for
429 energyXT)
430 - VST: changed number of output channels from one stereo to 16
431 stereo
432 - added channel routing, fxsends and midi maps to the settings
433 stored in the plugin state
434 - performance optimization of AudioChannel::MixTo() and
435 AudioChannel::CopyTo() methods using GCC vector exensions
436 (if available)
437 - ASIO fixes: avoid initializing the device twice, avoid throwing
438 exception when getting parameters from a disconnected device
439
440 * MIDI driver:
441 - added JACK MIDI driver
442 - dispatch bank select as ordinary CC as well, the user might seriously
443 want to (mis)use it for some purpose ("fixed" in all current MIDI
444 input drivers: ALSA, CoreMIDI, JACK, MidiShare, MME)
445 - bugfix: pitch bend wasn't working with JackMidi, VST, LV2, MME,
446 CoreMidi or AU
447 - fixed mingw-w64 compilation error in MME driver
448 - made program change handling in MIDI thread real-time safe by
449 moving the logic to a non-RT thread
450 - fixed minor memory leak in ALSA driver
451
452 * instruments database:
453 - avoid time consuming samples scanning when adding instruments
454 to the instruments database
455 - added support for handling lost files in the instruments database
456 - Implemented option for adding instruments in separate directories
457 in the instruments database
458 (patch by Chris Cherrett & Andrew Williams, a bit adjusted)
459 - work-around for missing fnmatch function on Windows to make
460 instrument database compilable
461 - added instrument database support on Windows
462 works with both standalone mode and VST plugin.
463 the instruments DB file is located in
464 %USERPROFILE%\.linuxsampler\instruments.db which allows different
465 databases for each windows user
466 if no DB is present it automatically creates the .linuxsampler subdir
467 and then creates an empty DB
468 - fixed recursive import, which was broken on Windows
469
470 * Gigasampler format engine:
471 - fixed a memory leak that could happen when a channel was deleted
472 while notes were playing
473 - made it possible to load an instrument even if the audio thread
474 isn't running
475 - added partial support for the "Controller Triggered" MIDI rule,
476 enough for piano gigs with pedal noise samples
477 - minor fix: only mark FX sends as being modified if really the
478 respective FX send MIDI controller was used
479 - added support for GM global device volume SysEx message
480 (can be selected at compile time to either apply globally to the
481 whole sampler [default] or only to the sampler channels that are
482 connected to the respective MIDI input port the SysEx message arrived
483 on)
484 - bugfix: notes triggered at position 0 in the audio buffer were
485 sometimes wrongly killed in the same buffer, causing no sound to
486 be played
487 - added support for chromatic / drumkit mode Roland GS Sysex message
488 which is usally used to switch a part between chromatic sounds and
489 drumkit sounds (as opposed to their common default setting of MIDI
490 part 10 being a drumkit part and all other ones chromatic parts), in
491 LS however one can switch between the first 16 MIDI instrument maps
492 defined for the sampler
493 - made it possible to create multiple sample channels even if the
494 audio thread isn't running
495 - fixed crash when removing channel with active voices (#116)
496 - bugfix: on sample reference changes (instrument editor), only
497 un-cache the respective sample if it's really not used by any
498 sampler engine anymore
499 - re-cache samples in case they were changed by an instrument editor,
500 e.g. when a sample was added while playing (#82)
501 - fixed hanging notes which occured when note-off event had the exact
502 same time stamp as the voice's note-on event and occured both in the
503 same audio fragment cycle (fixes bug #112)
504 - added support for the "fine tune" and "pitch bend range"
505 instrument-level gig parameters
506 - fixed minor artifacts in pitch bend handling
507 - added support for GS Reset SysEx message
508 - allow gig files to use unlimited downward pitch shifting
509 - added a limit check for upward pitch shifting
510 - bugfix: sometimes, when playing a note twice fast, the second
511 note was silent
512 - fixed crash happening when a pitch bend event arrived at the
513 same time a new instrument was loading
514
515 * LSCP server:
516 - added new LSCP event "CHANNEL_MIDI" which can be used by frontends to
517 react on MIDI data arriving on certain sampler channels (so far only
518 Note-On and Note-Off events are sent via this LSCP event)
519 - added new LSCP event "DEVICE_MIDI" which can be used by frontends to
520 react on MIDI data arriving on certain MIDI input devices (so far only
521 Note-On and Note-Off events are sent via this LSCP event)
522 - added new LSCP commands: FIND LOST DB_INSTRUMENT_FILES and
523 SET DB_INSTRUMENT FILE_PATH
524 - added new LSCP command: SEND CHANNEL MIDI_DATA which can be used by
525 frontends to send MIDI messages to specific sampler channel
526 - added two additional fields to GET FILE INSTRUMENT INFO command -
527 KEY_BINDINGS and KEYSWITCH_BINDINGS
528 - bugfix: the bank number provided by MIDI_INSTRUMENT_INFO notifications
529 was incorrect
530 - Optimized the retrieval of the MIDI instrument mappings
531 - added new LSCP command "SET VOICES" to globally alter the maximum
532 amount of voices, added new LSCP event "GLOBAL_INFO:VOICES" which will
533 be triggered respectively
534 - added new LSCP command "SET STREAMS" to globally alter the maximum
535 amount of disk streams, added new LSCP event "GLOBAL_INFO:STREAMS"
536 which will be triggered respectively
537 - bugfix: retry if "select" returns EINTR (this fixes a crash when
538 a gigedit file dialog is opened)
539 - close all connections when LSCPServer is deleted
540 - hard close of all sockets on exit
541 - bugfix: SET CHANNEL MIDI_INPUT_TYPE didn't work with the MME
542 driver
543
544 * Bug fixes:
545 - fixed a crash which occurs when removing a sampler channel waiting
546 to start instrument loading after another channel
547 - fixed a crash which occurs when removing a sampler channel with
548 instrument loading in progress (bug #113)
549 - fixed termination caused by uncaught exception when adding MIDI
550 instrument with PERSISTENT load mode
551 - fixed possible iterator invalidations when resetting the sampler
552 - fixed memory leaks when issuing the following LSCP commands:
553 GET AUDIO_OUTPUT_DRIVER INFO
554 GET AUDIO_OUTPUT_DRIVER_PARAMETER INFO
555 GET MIDI_INPUT_DRIVER INFO
556 GET MIDI_INPUT_DRIVER_PARAMETER INFO
557 - fixed possible compilation error when sqlite is not present
558 - fixed orphaned pointers when setting maximum voices limit (bug #118)
559 - fixed crash when changing the audio output device of a sampler
560 channel with loaded instrument and start playing notes
561 - fixed endless loop in Engine::SuspendAll() (bug #120)
562 - fixed a low-level atomic load function that was broken on 64-bit
563 PowerPC, which probably could cause crashes on that platform
564 - fixed a memory management error which could cause a crash when a
565 plugin was unloaded
566 - bugfix: two private structs had the same name, which could cause
567 problems if the linker chose the wrong constructor
568 - fixed low-level ConditionServer usage bug that caused lockups on
569 Windows
570
571
572 Version 0.5.1 (6 December 2007)
573
574 * packaging changes:
575 - added autoconf checks for pthread library
576 - added autoconf check for pthread bug found on certain NPTL-enabled
577 glibc versions (see Gentoo bug report #194076)
578 - added autoconf checks for MS Windows
579
580 * general changes:
581 - bugfix: the thread used by an editor plugin didn't die when the
582 editor closed
583 - bugfix: Ringbuffer.h: fill_write_space_with_null() did not zero
584 out all the space. operator--() did not apply size_mask after
585 decrementing the read_ptr. DEFAULT_WRAP_ELEMENTS set to 0 in
586 order to avoid problems with the _NonVolatileReader functions.
587 - bugfix: Stream.h: added a missing divide by BytesPerSample in
588 GetWriteSpace(). Since this function is currently only used in
589 the stream's qsort() compare function, it didn't trigger any
590 bugs.
591 - Resampler.h, Synthesizer.h: cubic interpolation now works in
592 24bit mode too. Faster method to read 24bit words on little
593 endian machines (x86): replaced 3 byte reads + shifts with a 1
594 unaligned 32bit read and shift
595 - experimental support for MS Windows (MIDI input via MME, AUDIO
596 output via ASIO)
597 - made handling of SIGINT signal (Ctrl-C) a bit more robust
598 - support for monitoring the total number of active disk streams
599 (new LSCP commands: GET TOTAL_STREAM_COUNT,
600 SUBSCRIBE TOTAL_STREAM_COUNT, UNSUBSCRIBE TOTAL_STREAM_COUNT)
601
602 * AUDIO driver:
603 - added Windows ASIO low latency audio driver
604
605 * MIDI driver:
606 - added MME Windows MIDI driver
607
608 * LSCP server:
609 - added support for Windows style path / filenames, however with
610 forward slash path separators instead of backslash
611 (i.e. "C:/foo/bar.gig")
612 - allow naughty liblscp to send non-string device parameters within
613 apostrophes as well
614 - added new LSCP commands: "GET FILE INSTRUMENTS <file>",
615 "LIST FILE INSTRUMENTS <file>" and
616 "GET FILE INSTRUMENT INFO <file> <index>" for retrieving informations
617 about an arbitrary instrument file on the system where the sampler is
618 running on
619
620 Version 0.5.0 (15 October 2007)
621
622 * packaging changes:
623 - config.h is not going to be installed along with liblinuxsampler's
624 API header files anymore
625 - only the API relevant header (and source) files will be exported to
626 the Doxygen API documentation (explicitly listed in Doxyfile.in)
627 - added completely new XCode project files for Mac OSX which is now
628 capable to execute our autoconf environment, thus no need anymore
629 to maintain the compile time configuration file (osx/version.h) for
630 OSX manually (patch by Toshi Nagata)
631 - fixed buggy boolean --enable-foo / --disable-foo configure script
632 parameters
633 - global.h now only covers global definitions that are needed for the
634 C++ API header files, all implementation internal global definitions
635 are now in global_private.h
636 - atomic.h is not exposed to the C++ API anymore
637 - no need to include config.h anymore for using LS's API header files
638 - fixed warnings in API doc generation
639
640 * general changes:
641 - replaced the old, confusing MIDI program change mechanism by a
642 flexible MIDI instrument mapper which allows to map arbitrary
643 (MIDI bank, MIDI program) pairs with arbitrary
644 (engine type, instrument file, file index) triplets which will be
645 loaded on the respective channel when such MIDI program change
646 messages arrive, beside that, each entry allows to define a life-time
647 strategy for the instrument, so the user can define whether the
648 instrument should i.e. be permanently loaded (to be able to switch
649 quickly among sounds) or i.e. loaded just on demand when the
650 respective program change arrives (to safe RAM space), as well as a
651 global volume factor for each entry, so the user can adjust the volume
652 dynamic of his mapped instrument collection without having to modify
653 the instrument files, also one can manage arbitrary amount of such
654 MIDI instrument maps and assign each sampler channel individually
655 a certain map, so that i.e. separation of normal instruments and
656 drumkits is possible
657 - new notification events for tracking changes to audio/MIDI devices,
658 MIDI instrument maps, MIDI instruments, FX sends, global volume.
659 - sampler was limited to load max. 200 instruments in the background
660 due to a constant size RingBuffer FIFO which is now replaced by a
661 dynamic (unlimited) size std::list FIFO
662 - added FX sends, these allow to route audio signals to arbitrary audio
663 output channels for being processed by external effect processors
664 (i.e. jack-rack), the send levels are controllable via arbitrary MIDI
665 controllers
666 - global (sampler wide) volume can now be controlled at runtime
667 - Implemented new, improved notification system
668 - fixed compilation errors regarding OSX
669 (patch by Toshi Nagata)
670 - implemented instruments database
671 - added support for escape sequences to the instruments database
672 - added highly experimental support for on-the-fly instrument editing
673 within the sampler's process (by using instrument editor plugins),
674 you'll notice the new "Registered instrument editors:" message on
675 startup, added a new LSCP command:
676 "EDIT CHANNEL INSTRUMENT <sampler-channel>"
677 to spawn a matching instrument editor for the instrument on the
678 given sampler channel, the plugin path can be overridden at compile
679 time with ./configure --enable-plugin-dir=/some/dir
680 - added experimental code for synchronizing instrument editors hosted
681 in the sampler's process to safely edit instruments while playing
682 without a crash (hopefully) by either suspending single regions
683 wherever possible or if unavoidable whole engine(s)
684 - fixed several issues in fundamental "Thread" class: set scheduling
685 policy and priority on thread level, set a minimum stack size for
686 thread (TODO: a reasonable value yet to be tested), bugfix: non-RT
687 threads simply inherited properties of starting thread instead of
688 setting their own policy and priority
689 - minor fix in our automatic stack trace mechanism on crashes, the
690 main process did not wait for the stack trace process to finish
691 its output
692 - fixed some minor memory leaks
693 - reenabled assembly features support, at the moment only for
694 enabling a fast denormal FPU mode (x86 platforms supporting SSE2)
695 - minor assembly fix in x86 features detection (don't use the PIC
696 register, to avoid relocations in the text segment at runtime)
697 - POSIX callback functions of Thread.h are hidden
698
699 * MIDI driver:
700 - dispatch bank select (MSB and LSB) messages
701
702 * audio driver:
703 - the ALSA audio output driver parameters now reflect the correct
704 parameter value ranges for the respective selected sound card
705 (patch by Till Wimmer, a bit fixed and extended)
706
707 * Gigasampler format engine:
708 - if a filter is used and EG2 finishes before EG1, let the voice
709 die when EG2 has finished (this fixes a problem with clicks and
710 voice starvation for some gigs)
711 - playback is no longer disabled during instrument loading
712 - all notes playing on a channel that changes its instrument keep
713 playing with the old instrument until they get a note off
714 command
715 - EG fix: a release value of zero could cause noises or crash
716 - handle MIDI coarse tuning messages (MIDI RPN #0 MSB #2 LSB)
717 - EG fine tuning: when attack is zero the EG starts at a level
718 above max sustain level, which means that there is a decay phase
719 even if sustain is 100%
720 - more EG fixes: the level could sometimes go below zero and cause
721 noises or crashes
722 - minor fix of EGDecay (patch by Toshi Nagata)
723 - fixed compiler error when --enable-override-filter-type was
724 supplied to the configure script (fixes #46)
725 - disk thread: queue sizes are now proportional to CONFIG_MAX_STREAMS
726 instead of a fix value
727 - behavior fix: on MIDI CC# 65 (portamento on / off), 126 (mono mode),
728 127 (solo mode) only kill voices if the respective mode really
729 changed
730
731 * LSCP server:
732 - fixed compile time error for old Bison versions
733 (i.e. v1.28 found on MacOS 10.4, patch by Toshi Nagata)
734 - parser now supports extended ASCII character set
735 (up to ASCII code 255, i.e. includes now umlauts and accents)
736 - filename arguments in LSCP commands now allow to use escape
737 sequences, that is directly literal as one of: \', \", \\, \n, \r,
738 \f, \t, \v, or as octal ASCII code value like \132, or as hex ASCII
739 code value like \xf2) (fixes bug #24)
740 - the following LSCP commands now also support escape sequences for at
741 least one of their text-based parameters (i.e. name, description):
742 "ADD MIDI_INSTRUMENT_MAP", "MAP MIDI_INSTRUMENT",
743 "SET MIDI_INSTRUMENT_MAP NAME", "SET FX_SEND NAME", "CREATE FX_SEND",
744 "SET DB_INSTRUMENT_DIRECTORY NAME",
745 "SET DB_INSTRUMENT_DIRECTORY DESCRIPTION", "SET DB_INSTRUMENT NAME",
746 "SET DB_INSTRUMENT DESCRIPTION", "FIND DB_INSTRUMENTS",
747 "FIND DB_INSTRUMENT_DIRECTORIES"
748 - returns verbose syntax errors (line and column where syntax error
749 occured, the unexpected character and the actually expected, possible
750 character(s), the latter only if less than 5 possibilities)
751 - made sure that LSCP syntax is not affected by gigedit locale
752 settings
753 - bugfix regarding strings parameter lists: all comma separated lists
754 of strings were treated as being one string containing commas
755 (fixes #57)
756
757 * Bug fixes:
758 - fixed crash occurring on certain LSCP scripts (Bug 39)
759 - another thread safety fix for lscp "load engine" and "set
760 channel audio output device"
761 - fixed a crash which occurs when reassigning the same engine
762 on a sampler channel with connected MIDI device
763 - fixed a crash which occurs when changing the number of ports of a MIDI
764 device connected to a sampler channel to number less then or equal
765 to the index of the port to which the sampler channel is connected.
766 - The previous bindings were not been disconnected when altering
767 the ALSA_SEQ_BINDINGS parameter. Introduced a NONE keyword for
768 unsubscribing from all bindings (e.g. ALSA_SEQ_BINDINGS=NONE).
769 - The active stream/voice count statistic was incorrect.
770 - notification events were not been sent for some sampler
771 channel changes
772 - added default min and max values to restrict the number of allowed
773 audio output channels and MIDI input ports
774 - the connection to the PCM interface is now closed when destroying
775 an audio output device
776 - files with slash in their path or filename could not be loaded
777
778 * test cases:
779 - updated and fixed (haven't been touched in a while)
780
781 Version 0.4.0 (24 November 2006)
782
783 * packaging changes:
784 - changed deprecated copyright attribute to license; added ldconfig
785 to post-(un)install steps; added devel package for liblinuxsampler;
786 to linuxsampler.spec (RPM)
787 - install necessary development header files for allowing 3rd party
788 applications to link against liblinuxsampler
789 - liblinuxsampler's API documentation can be generated with 'make docs'
790 (Doxygen required)
791 - added benchmark to automatically detect the best triangle LFO
792 implementation (currently either an integer math solution or a
793 di-harmonic approximation), automatic detection can be overriden
794 with --enable-signed-triang-algo=x and --enable-unsigned-triang-algo=x
795 configure script argument though (mandatory for cross-compilation)
796 - do not automatically pick optimized gcc flags if the user already
797 provided some on his own (as CXXFLAGS)
798 - added compile time option to disable processing of All-Notes-Off MIDI
799 messages
800 - added compile time options to allow disabling the various audio and
801 MIDI drivers
802 - fixed automatic GCC CPU switch detection on PPC
803 (patch by Ebrahim Mayat)
804
805 * Gigasampler format engine:
806 - extensive synthesis optimization
807 (reimplementation of EGs and LFO(s), removed synthesis parameter
808 prerendering and the synthesis parameter matrix in general, splitting
809 each audio fragment into subfragments now where each subfragment uses
810 constant pitch and filter coefficients. The volume coefficient is
811 linearly interpolated inside a subfragment, unless
812 --disable-interpolate-volume is set.)
813 - fine tuning of the EG modulation parameters
814 - improved filter cutoff calculation by adding support for the
815 following gig parameters: Cutoff freq (used when no cutoff
816 controller is defined), Control invert, Minimum cutoff, Velocity
817 curve and Velocity range. The keyboard tracking now scales
818 cutoff frequency instead of resonance.
819 - added support for gig parameter Resonance.
820 - fixed bug in sysex handling (patch by Juan Linietsky)
821 - added global volume attenuation of -9 dB (0.35f) to prevent clipping
822 which can be overridden with --enable-global-attenuation
823 - EG fixes: made the length of "attack hold" stage more
824 accurate. Release stage can now start before attack stage
825 ends. Cancel release didn't work when sustain was zero. Attack
826 time now has a minimal value to prevent clicks.
827 - fixed pitch changes larger than one octave
828 - fixed EG3 (pitch envelope) synthesis which was neutral all the time
829 - implemented portamento mode and solo mode (a.k.a 'mono mode'):
830 all modes can be altered via standard GM messages, that is CC5 for
831 altering portamento time, CC65 for enabling / disabling portamento
832 mode, CC126 for enabling solo mode and CC127 for disabling solo mode
833 - fine tuning of the curves for volume (CC7), pan (CC10 and gig
834 parameter) and crossfade
835 - added support for the "attenuation controller threshold" gig
836 parameter
837 - added smoothing of volume changes caused by control change
838 messages
839 - sample loop parameters are now taken from the DimensionRegion
840 instead of the wave chunk
841 - fixed keyswitching for v3 gigs with a number of keyswitch splits
842 not equal to a power of two
843 - reimplementation of the filter algorithm. The new filter is more
844 accurate and supports all gig filter types, including bandreject
845 and lowpass turbo.
846 - real support for 24 bit samples - samples are not truncated to
847 16 bits anymore
848 - support for aftertouch (channel pressure, not polyphonic
849 aftertouch)
850 - LFO1 behaviour fixed (dampening from max volume instead of
851 amplifying from 0)
852
853 * LSCP server:
854 - fixed application exit on broken pipe error (fixes bug #20)
855 - fixed the notification messages delay due to lack of
856 network activity (fixes bug #26)
857 - fixed parser bug which occured on space(s) within device parameters
858 (e.g. "SET AUDIO_OUTPUT_CHANNEL_PARAMETER 0 0 SOMEPARAM='foo bar'")
859
860 * audio driver:
861 - added aRts audio output driver (by no means RT safe)
862
863 * MIDI driver:
864 - fixed legacy sysex code which caused dispatching of MIDI SysEx
865 messages several times instead of once
866 - API extension for MIDI drivers which already supply exact time stamps
867 for events (i.e. for offline rendering based MIDI drivers)
868 - added checks for bad MIDI data
869
870 * linuxsampler application:
871 - show available sampler engine types on startup
872
873 * general changes:
874 - support for muting sampler channels and solo mode of the same, two new
875 LSCP commands ("SET CHANNEL MUTE" and "SET CHANNEL SOLO") and two new
876 fields ("MUTE" and "SOLO") for command "GET CHANNEL INFO" were
877 introduced for this, the behavior is the same like on a mixer console
878 (patch by Grigor Iliev, a bit adjusted). Also added configure option
879 --enable-process-muted-channels which can be used to enable the
880 processing of muted channels.
881 - support for sostenuto pedal
882 - support for monitoring the total number of active voices
883 (new LSCP commands: GET TOTAL_VOICE_COUNT, GET TOTAL_VOICE_COUNT_MAX,
884 SUBSCRIBE TOTAL_VOICE_COUNT, UNSUBSCRIBE TOTAL_VOICE_COUNT)
885 - fixed some memory management errors
886 - fixed some concurrency problems that could lead to crashes when
887 LSCP commands were executed
888 - fixed crash when instrument loading failed previously on the same
889 sampler channel (fixes bug #36)
890
891 Version 0.3.3 (15 July 2005)
892
893 * packaging changes:
894 - fixed compilation with gcc 4.0
895
896 * Gigasampler format engine:
897 - LFO preprocessing was performed even though the respective LFO was
898 disabled by the instrument patch (minor efficiency fix)
899 - if period time of chosen audio device is too small (< MIN_RELEASE_TIME)
900 for volume ramp downs in the same fragment (needed for current voice
901 stealing implementation) then simply inform the user with a warning
902 about possible click sounds and reduce the volume ramp down
903 appropriately instead of cancelling the audio device connection
904
905 Version 0.3.2 (24 June 2005)
906
907 * packaging changes:
908 - updated autotools build files to compile on OS X
909 (conditional compilation of CoreMIDI and MidiShare drivers)
910 - hand-crafted assembly optimization code can be disabled with
911 './configure --disable-asm' (definitely not recommended)
912 - fixed 'make dist' rule to include all necessary files
913 - require automake (>= 1.5) for 'make -f Makefile.cvs'
914 (due to 'dist-bzip2' automake option)
915
916 * Gigasampler format engine:
917 - support for the gig parameters for "release velocity response" curves
918 - fine tuning of the EGADSR envelope
919 - volume of release triggered samples now depends on note-on velocity,
920 note length and gig parameter "release trigger decay" instead of
921 note-off velocity.
922 - revised voice stealing
923 (fixes crash and endless loop caused by voice stealing)
924 - don't reset scale tuning on instrument or audio output device change
925 - handle key group conflicts right at the beginning of each fragment
926 instead of when the respective voice is actually launched
927 (fixes undefined behavior if stolen voices belonged to a key group -
928 this case was followed by a "killed voice survived" error message)
929 - fixed minor issue with null/silence samples
930 (those stole voices even though they don't need a voice at all which
931 resulted in "voice stealing didn't work out" messages)
932 - don't reset volume, pan, pitch and MIDI controller values on
933 instrument or audio output device change
934
935 * LSCP server:
936 - fixed some crashes (patch by Grigor Iliev, fixes #19)
937 - fixed LSCP event "CHANNEL_INFO" notification
938 (e.g. did not notify on volume changes or MIDI program change events)
939
940 * linuxsampler application:
941 - added command line parameters --lscp-addr and --lscp-port to override
942 default IP address and port of LSCP server
943
944 Version 0.3.1 (24 May 2005)
945
946 * initial release

  ViewVC Help
Powered by ViewVC