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

Contents of /libgig/trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3937 - (show annotations) (download)
Thu Jun 17 10:59:54 2021 UTC (2 years, 10 months ago) by schoenebeck
File size: 43230 byte(s)
* gig: Marked methods GetFirstGroup() and GetNextGroup() as deprecated.

1 Version SVN trunk (?)
2
3 * src/gig.cpp, src/gig.h:
4 - Region::DeleteDimensionZone(): Fix clang sanatizer warning.
5 - Region::SplitDimensionZone(): Fix clang sanatizer warning.
6 - Sample: Fix unnecessary RAM consumption in case of 24 bit samples
7 (InternalDecompressionBuffer is no longer needed for 24 bit samples since
8 SVN r902 / libgig release 3.1.0).
9 - Use GetSubChunkAt() instead of GetFirstSubChunk() / GetNextSubChunk() in
10 entire gig.cpp file.
11 - Use GetSubListAt() instead of GetFirstSubList() / GetNextSubList() in
12 entire gig.cpp file.
13 - Added method Instrument::GetRegionAt().
14 - Marked methods Instrument::GetFirstRegion() and
15 Instrument::GetNextRegion() as deprecated.
16 - Use GetRegionAt() instead of GetFirstRegion() / GetNextRegion() in entire
17 gig.cpp file.
18 - Changed signature of method File::GetSample(uint) to
19 File::GetSample(size_t,progress_t*).
20 - Marked methods File::GetFirstSample() and File::GetNextSample() as
21 deprecated.
22 - Use File::GetSample() instead of File::GetFirstSample() /
23 File::GetNextSample() in entire gig.cpp file.
24 - Added method Group::GetSample().
25 - Marked methods Group::GetFirstSample() and Group::GetNextSample() as
26 deprecated.
27 - Use Group::GetSample() instead of Group::GetFirstSample() /
28 Group::GetNextSample() in entire gig.cpp file.
29 - Changed signature of method File::GetGroup(uint) to
30 File::GetGroup(size_t).
31 - Fixed File::GetGroup(size_t) to be reentrant-safe.
32 - Marked methods GetFirstGroup() and GetNextGroup() as deprecated.
33
34 * src/SF.cpp, src/SF.h:
35 - File::DeleteInstrument(): Fix clang sanatizer warning.
36
37 * src/DLS.cpp, src/DLS.h:
38 - Use GetSubChunkAt() instead of GetFirstSubChunk() / GetNextSubChunk() in
39 entire DLS.cpp file.
40 - Use GetSubListAt() instead of GetFirstSubList() / GetNextSubList() in
41 entire DLS.cpp file.
42 - Added method Instrument::GetRegionAt().
43 - Marked methods Instrument::GetFirstRegion() and
44 Instrument::GetNextRegion() as deprecated.
45 - Use GetRegionAt() instead of GetFirstRegion() / GetNextRegion() in entire
46 DLS.cpp file.
47 - Added method File::GetSample().
48 - Marked methods File::GetFirstSample() and File::GetNextSample() as
49 deprecated.
50 - Use File::GetSample() instead of File::GetFirstSample() /
51 File::GetNextSample() in entire DLS.cpp file.
52
53 * src/RIFF.cpp, src/RIFF.h:
54 - Chunk::LoadChunkData(): Fix clang sanatizer warning.
55 - List::LoadSubChunks(): Fix potential garbage data access if reading a
56 RIFF chunk ID failed.
57 - Added methods File::IsIOPerThread() and File::SetIOPerThread(bool); the
58 latter allows to automatically use a separate file I/O stream state for
59 each thread.
60 - Added method List::GetSubChunkAt().
61 - Added method List::GetSubListAt().
62 - Marked methods List::GetFirstSubChunk(), List::GetNextSubChunk(),
63 List::GetFirstSubList() and List::GetNextSubList() as deprecated.
64 - Use GetSubListAt() instead of GetFirstSubList() / GetNextSubList() in
65 entire RIFF.cpp file.
66
67 Version 4.3.0 (9 May 2021)
68
69 * general changes:
70 - Require at least a C++11 compliant compiler.
71 - Require some UUID generating function by underlying system.
72
73 * src/gig.cpp, src/gig.h:
74 - GIG FORMAT EXTENSION: Added attributes DimensionRegion::LFO1WaveForm,
75 DimensionRegion::LFO2WaveForm and DimensionRegion::LFO3WaveForm, which
76 allow to define override LFOs' wave form (e.g. saw or square instead of
77 the default wave form which was always sine in the original
78 Gigasampler/GigaStudio software).
79 - GIG FORMAT EXTENSION: Added attributes DimensionRegion::LFO1Phase,
80 DimensionRegion::LFO2Phase and DimensionRegion::LFO3Phase, which allow to
81 move the start point horizontally of the LFOs' waves (0�� ... 360��).
82 - GIG FORMAT EXTENSION: Added attribute DimensionRegion::LFO3FlipPhase
83 (the original Gigasampler/GigaStudio software only had that flip phase
84 option for LFO1 and LFO2).
85 - Added methods DimensionRegion::UsesAnyGigFormatExtension(),
86 Region::UsesAnyGigFormatExtension(),
87 Instrument::UsesAnyGigFormatExtension() and
88 File::UsesAnyGigFormatExtension() (however only as private methods yet,
89 see comments on methods why).
90 - GIG FORMAT EXTENSION: added LinuxSampler specific filter type
91 implementations to enum vcf_type_t: vcf_type_lowpass_1p,
92 vcf_type_lowpass_2p, vcf_type_lowpass_4p, vcf_type_lowpass_6p,
93 vcf_type_highpass_1p, vcf_type_highpass_2p, vcf_type_highpass_4p,
94 vcf_type_highpass_6p, vcf_type_bandpass_2p, vcf_type_bandreject_2p.
95 - Compatibility fix: GigaStudio always expects 128 '3gnm' RIFF chunks
96 (patch by Ivan Maguidhir).
97 - Compatibility fix: GigaStudio 3 expects '3dnm' and '3ddp' RIFF chunks
98 (original patch by Ivan Maguidhir).
99 - Region::DeleteDimensionZone() and Region::SplitDimensionZone(): Fixed
100 dimensions being in different order after deleting a dimension zone.
101 - Script: Generate a persistent UUID for each script.
102 - GIG FORMAT EXTENSION: Added support for script 'patch' variables and
103 accordingly added new methods to Instrument class:
104 IsScriptPatchVariableSet(), GetScriptPatchVariables(),
105 GetScriptPatchVariable(), SetScriptPatchVariable(),
106 UnsetScriptPatchVariable(); stored persistently as new 'SCPV' RIFF chunk
107 as child of our '3LS ' list chunk on Instrument level.
108 - Fixed undefined behaviour when modifying script slots on an instrument
109 that had been cloned and not been saved yet (e.g. unintended modification
110 of original instrument's script slots, and crash on Instrument destruction
111 due to double free of pScriptRefs).
112
113 * src/Serialization.cpp, src/Serialization.h:
114 - Fixed broken Archive(RawData) constructor which always threw an
115 Exception.
116 - Added built-in support for C++ String objects (a.k.a. std::string
117 from the STL) and bumped Srx format version to 1.1 for that reason.
118 - Fixed assertion fault on some systems if a member variable defined was
119 serialized which was declared as size_t or ssize_t data type.
120 - Added new method Archive::operation() which allows applications to
121 distinguish between serialization vs. deserialization in their
122 serialize() method implementations.
123 - Added built-in support for C++ Array<> objects (a.k.a. std::vector from
124 the STL).
125 - Member offsets are now signed and for (newly added support of) member
126 variables on the heap -1 is always used as offset instead.
127 - Added built-in support for C++ Set<> objects (a.k.a. std::set from the
128 STL).
129 - DataType: Added optional 2nd custom type name.
130 - Added built-in support for C++ Map<> objects (a.k.a. std::map from the
131 STL).
132
133 * src/helper.h:
134 - Fix compile error with GCC 9 due to ignored result value of vasprintf()
135 function call.
136
137 * src/tools/gigdump.cpp:
138 - Print dimension region properties LFO1WaveForm, LFO2WaveForm,
139 LFO3WaveForm, LFO1Phase, LFO2Phase, LFO3Phase, LFO1FlipPhase,
140 LFO2FlipPhase and LFO3FlipPhase.
141
142 Version 4.2.0 (25 Jul 2019)
143
144 * general changes:
145 - Added MSVC build support (anonymous patch from mailing list).
146 - Introduced CMake build support (yet constrained for building with MSVC)
147 (anonymous patch from mailing list).
148 - Fix: Don't automatically delete RIFF chunks from DLS/gig classes'
149 destructors. Added new virtual method DeleteChunks() to those classes
150 for this which must be explicitly called instead to remove their RIFF
151 chunks.
152 - Fix: Many methods of DLS/gig classes assumed a RIFF chunk read position
153 of zero; which is unsafe per se.
154 - Added C++11 "override" keyword where appropriate.
155 - Fixed crash in RIFF, DLS and gig classes which occurred on certain
156 of their actions when not passing a progress_t callback structure.
157
158 * src/gig.cpp, src/gig.h:
159 - Fixed Doxygen API comments for enum types (currently latest Doxygen
160 [v1.8.13] only supports C comments in macro arguments expansion, but
161 not C++ comments; see <FindDefineArgs> lexer rules in src/pre.l of
162 the Doxygen source code, which currently also filter out new line
163 \n chars).
164 - Added new method File::CountSamples().
165 - Added new method File::CountInstruments().
166 - Fixed gig v4 files falsely being handled as v2 format
167 (patch by Ivan Maguidhir).
168 - Added gig v4 version identifier (File::VERSION_4).
169 - GIG FORMAT EXTENSION: Added attribute
170 DimensionRegion::SustainReleaseTrigger which allows to define whether
171 a sustain pedal up event shall cause a release trigger sample to be
172 played (default: don't play release trigger sample by sustain pedal).
173 - GIG FORMAT EXTENSION: Added attribute
174 DimensionRegion::NoNoteOffReleaseTrigger which allows to disable the
175 regular behaviour of playing release trigger sample on MIDI note-off
176 events.
177 - Introduced support for writing extension files (.gx01, .gx02, ...)
178 (original patch by Ivan Maguidhir).
179 - Many gig classes derive now from DLS::Storage (see DLS changes below).
180 - Added File::GetRiffFile() method.
181
182 * src/DLS.cpp, src/DLS.h:
183 - File: Fixed implicitly allocated RIFF::File object never been freed.
184 - Added new abstract interface base class DLS::Storage which is derived by
185 the respective classes for implementing (the old) UpdateChunks() and the
186 new DeleteChunks() method.
187 - Added File::GetRiffFile() method.
188
189 * src/sf2.cpp, src/sf2.h:
190 - Added Sample::GetFile() method.
191 - Added File::GetRiffFile() method.
192
193 * src/Serialization.cpp, src/Serialization.h:
194 - Hide pure internal declarations from header file to avoid numerous
195 compiler warnings when building and linking against the public API.
196 - Fixed comparision logic bug
197 - Fixed memory leak in DataType::customTypeName().
198
199 * src/RIFF.cpp, src/RIFF.h:
200 - Fix: Calling File::SetMode() left an undefined file handle on Windows and
201 caused a resource leak
202 - Avoid compiler warning when building for 32 bit windows.
203 - Added new method progress_t::subdivide().
204 - Fix: API doc comment for Chunk::GetFilePos() was completely wrong.
205 - progress_t: Added a 2nd (overridden) progress_t::subdivide() method which
206 allows a more fine graded control into which portions the subtasks are
207 divided to.
208
209 * src/tools/gigdump.cpp:
210 - Added command line option --instrument-names which causes only
211 instrument names and their index numbers to be printed.
212
213 Version 4.1.0 (25 Nov 2017)
214 * general changes:
215 - removed 2 GB limitation when loading a gig or DLS file
216 - using now native integer size where appropriate
217 - fixed minor issues with man pages (patch by Debian maintainer)
218 - fixed various spelling mistakes (patch by Debian maintainer)
219 - Added new "Serialization" framework (and equally named namespace)
220 which allows to serialize and deserialize native C++ objects
221 in a portable, easy and flexible way.
222 - print compiler warning if no RTTI available
223 - Fixed potential crash in command line tools gig2stereo, korg2gig,
224 korgdump and sf2extract.
225 - Fixed CVE-2017-12950, CVE-2017-12952, CVE-2017-12953
226 (original patch by Paul Brossier, slightly modified).
227 - Debian: Fixed packaging error about invalid substitution variable
228 "Source-Version".
229 - Raised Debian compatibility level to Debian 9 "Stretch".
230
231 * src/gig.cpp, src/gig.h:
232 - fixed bug in Script::SetGroup: the script chunk wasn't moved
233 - fixed compilation error with clang 3.4
234 - GIG FORMAT EXTENSION: added support for saving gig file larger than 4 GB
235 as one single monolithic gig file. In case .gig file is >= 2GB expect a
236 large monolithic file, otherwise if .gig file is < 2 GB check for
237 "extension" files (.gx01, .gx02, ...) instead.
238 - fixed Region::UpdateUpdateVelocityTable() which did not work correctly
239 if there were dimensions after the velocity dimension: it only created
240 valid velocity tables for cases of dimensions lower than the velocity
241 dimension.
242 - added new method Sample::VerifyWaveData() which allows to check whether
243 a sample had been damaged for some reason
244 - Fix: samples' CRC checksums were damaged on file structure changes.
245 - Fix: samples' CRC checksums were misordered when a Sample was deleted.
246 - Added new method Sample::GetWaveDataCRC32Checksum().
247 - Changed default value of EG2Release (filter release time) to 60s.
248 - Instruments' default pitch bend range is now +-2 semi tones.
249 - Fixed CRC checksums being wrong sometimes.
250 - Fix: method File::AddContentOf() did not clone script groups and scripts
251 of passed original file.
252 - Added support for serializing & deserializing DimensionRegion
253 objects (and crossfade_t and leverage_ctrl_t objects).
254 - Added enum reflection API functions for retrieving enum declaration type
255 information at runtime (enumCount(), enumKey(), enumKeys(), enumValue()).
256 - Exception class now has a variadic constructor which allows to add
257 textual format specifiers like with printf().
258 - On unknown leverage controller exception: show precise unknown leverage
259 controller number found.
260 - Ignore invalid leverage controller types and just show a warning on the
261 console instead of throwing an exception.
262 - Added new struct eg_opt_t and new class member variable
263 DimensionRegion::EG1Options and DimensionRegion::EG2Options as an
264 extension to the gig file format, which allows to override the default
265 behavior of the first two EGs' state machines.
266 - Fixed undefined behavior when loading a gig file with invalid
267 velocity curve parameters (fixes CVE-2017-12951).
268 - Fixed undefined behavior when loading a gig file with invalid wave
269 pool index number (fixes CVE-2017-12954).
270
271 * src/DLS.cpp, src/DLS.h:
272 - Sample: wave pool offsets are now 64 bits (to allow support for files
273 larger than 4 GB).
274 - Exception class now has a variadic constructor which allows to add
275 textual format specifiers like with printf().
276
277 * src/RIFF.cpp, src/RIFF.h:
278 - added support for RIFF files larger than 4 GB, by default the required
279 internal RIFF file offset size is automatically detected (that is RIFF
280 files < 4 GB automatically use 32 bit offsets while files >= 4 GB
281 automatically use 64 bit offsets), a particular offset size can be forced
282 with a new option added to the RIFF File constructor though
283 - when saving a modified, grown RIFF file, the temporary file size during
284 Save() operation will no longer be larger than the final grown file size
285 - Exception class now has a variadic constructor which allows to add
286 textual format specifiers like with printf().
287
288 * src/Serialization.cpp, src/Serialization.h:
289 - Archive: Added method isModified().
290 - Archive: Added method setAutoValue().
291 - Archive: Added method setIntValue().
292 - Archive: Added method setRealValue().
293 - Archive: Added method setBoolValue().
294 - Archive: Added method setEnumValue().
295 - Archive: Added method valueAsString().
296 - Archive::rawData(): Automatically re-encode new raw data stream if
297 archive had been modified (i.e. by remove(), setAutoValue(), etc.).
298 - Object: Added method memberByUID().
299 - Object: remove() method is now protected.
300 - Archive: Added method removeMember().
301 - Archive: Added methods name() and setName().
302 - Archive: Added methods comment() and setComment().
303 - Archive: Added methods timeStampCreated(), timeStampModified(),
304 dateTimeCreated() and dateTimeModified().
305 - Archive: Added methods valueAsInt(), valueAsReal() and valueAsBool().
306 - DataType: Implemented demangling C++ type names (for methods
307 asLongDescr() and customTypeName(bool demangle=false)).
308 - Archive::setAutoValue(): Handle human readable boolean text
309 representations like "yes", "no", "true", "false" as expected.
310 - Exception class now has a variadic constructor which allows to add
311 textual format specifiers like with printf().
312 - DataType fix: Retain backward compatibility to older versions of native
313 C++ classes/structs.
314
315 * src/Akai.cpp:
316 - Fixed compilation error with recent, more strict compilers.
317
318 * src/tools/akaidump.cpp, src/tools/akaiextract.cpp:
319 - improved output of non-ascii characters in usage messages
320 - fixed printf format strings
321
322 * src/tools/korg2gig.cpp:
323 - fixed c++11 narrowing warnings
324 - fixed fine tuning which was not translated at all
325
326 * src/tools/gigdump.cpp:
327 - additionally print VelocityUpperLimit and DimensionUpperLimits of all
328 dimension regions
329 - additionally print RIFF chunk file offset and RIFF chunk size of sample
330 data
331 - added and implemented new parameter "--verify" which allows to check
332 the raw wave form data integrity of all samples
333 - added and implemented new parameter "--rebuild-checksums" which allows
334 to recalculate the CRC32 checksum of all samples' raw wave data and
335 rebuilding the gig file's global checksum table (i.e. in case the
336 file's checksum table was damaged)
337 - print samples' CRC32 checksums
338 - Print the new EG behavior options (eg_opt_t).
339
340 * src/tools/gigextract.cpp:
341 - Fix: if sample name contains a path separator (slash or backslash) then
342 replace them by a minus sign to avoid file system issues.
343
344 * src/tools/gig2stereo.cpp:
345 - Also merge mono sample pairs with non matching loop information if
346 argument --incompatible was given.
347
348 * packaging changes:
349 - Automake: set environment variable GCC_COLORS=auto to allow GCC to
350 auto detect whether it (sh/c)ould output its messages in color.
351
352 Version 4.0.0 (14 Jul 2015)
353 * general changes:
354 - minor Makefile fix for parallel make
355 - Mac OS X: link with CoreFoundation (for the UUID function)
356 - removed gcc 4.7 warnings
357 - modernized configure script
358 - removed usage of deprecated Automake variable INCLUDES
359 - added new command line tool "gigmerge"
360 - added "const" keyword to several methods
361 - added new command line tool "gig2mono"
362 - added man page for "sf2dump"
363 - added new command line tool "korgdump" (and a man page for it)
364 - added new command line tool "korg2gig" (and a man page for it)
365 - moved source files of command line tools to new subdir src/tools
366 - libgig.so and libakai.so files are now installed under
367 $(prefix)/lib/libgig/ by default.
368 - Header files are now installed under $(prefix)/include/libgig/ by default.
369 - Fixed various packaging issues regarding installation directories
370 (fixes #218).
371 - added new command line tool "gig2stereo" (and a man page for it)
372 - unit tests: fixed wrong return value when test suite app exits
373 (patch by Ryan Schmidt)
374 - added new command line tool "sf2extract" (and a man page for it)
375
376 * SoundFont file format:
377 - initial implementation
378 - changed region lookup API to avoid malloc in RT threads
379 - fixed GetEG1Sustain which didn't return correct value
380 - bugfix: GetPan always returned -1, 0 or 1
381
382 * KORG file format:
383 - initial support for sample based instruments in KORG's file format
384 (.KMP and .KSF files)
385
386 * AKAI file format:
387 - Added Linux/POSIX ported version of libakai. Note that libakai is released
388 under LGPL terms while libgig is released under GPL terms. To handle this
389 license difference appropriately the AKAI support part is built as
390 separate DLL (.so file).
391 - Fixed Mac OSX support so that the Akai lib files and tools compile without
392 any exotic third party libraries.
393 - Fixed various compilation errors for Windows.
394 - POSIX fix: open() requires third (mode) argument if used with O_CREAT
395 (fixes #219).
396
397 * src/gig.cpp:
398 - bugfix: VCF velocity dynamic range and VCF velocity curve
399 weren't saved correctly
400 - implemented File::AddDuplicateInstrument()
401 - bugfix: negative EG3 depth values were not correctly parsed or
402 saved
403 - added write support for CtrlTrigger midi rule
404 - added read and write support for Legato and Alternator midi
405 rules
406 - bugfix: sample groups were sometimes created multiple times or with
407 wrong textual group name
408 - added new method File::AddContentOf() for merging .gig files
409 - GIG FORMAT EXTENSION: added additional MIDI controllers for leverage
410 controller types (only works with LinuxSampler & gigedit, will not
411 work with Gigasampler/GigaStudio)
412 - added new method File::GetGroup(String name) for getting group by name
413 - added new method Region::GetDimensionDefinition(dimension_t type)
414 - bugfix: don't alter region pointer in DimensionRegion::CopyAssign()
415 - added some more sanity checks in Region::AddDimension()
416 - added new method Region::DeleteDimensionZone(dimension_t, int)
417 - added new method Region::SplitDimensionZone(dimension_t, int)
418 - Fixed crash caused by Region::GetDimensionRegionByValue() that happened
419 with certain velocity split sounds under certain conditions (added bound
420 constraints to prevent that)
421 - GIG FORMAT EXTENSION: added support for real-time instrument scripts.
422 - added new method Region::GetDimensionRegionIndexByValue()
423 - added new method Script::GetGroup()
424 - added new method Region::SetDimensionType()
425 - Added support for custom progress notification while saving to gig file.
426 - Bugfix: Adding a new region in between two existing regions caused the
427 new one being dropped after save operation and the gig file being tainted
428 (chunks at wrong location in the RIFF tree).
429 - Added new method Instrument::MoveTo() which allows to rearrange the order
430 of instruments within the same gig file.
431
432 * src/DLS.cpp, src/DLS.h:
433 - added new method File::GetFileName()
434 - fixed minor "memory leak on exception" bug found with cppcheck
435 - added new method File::GetExtensionFile(int index)
436 - added new method File::SetFileName() allowing to call File::Save()
437 later on without passing a file name
438 - added inline helper methods overlaps() for struct range_t
439 - Added support for custom progress notification while saving to DLS file.
440 - Bugfix: Adding a new region in between two existing regions caused the
441 new one being dropped after save operation and the gig file being tainted
442 (chunks at wrong location in the RIFF tree).
443
444 * src/SF.cpp, src/SF.h:
445 - added new method Sample::ReadNoClear()
446
447 * src/RIFF.cpp, src/RIFF.h:
448 - bugfix: avoid calling read() with count 0 when writing a file,
449 as this may hang on some systems
450 - fixed memory leak and memory handling errors when file loading
451 fails
452 - added new method Chunk::ReadString
453 - added new method File::SetFileName() allowing to call File::Save()
454 later on without passing a file name
455 - added new method File::IsNew()
456 - added support for loading RIFF-like files with a bit different layout
457 than "real" RIFF files (used for KORG format support)
458 - added new method Chunk::GetFile()
459 - added new method Chunk::GetLayout()
460 - added 2nd, alternative method for List::MoveSubChunk(), the old 1st one
461 allows to move a subchunk within the current List, whereas the new 2nd
462 one allows to move the subchunk from the current list to another list
463 - POSIX: only assume -1 result value as error on open() calls
464 - POSIX: show operating system's error reason if opening a file failed
465 - Added support for custom progress notification while saving to RIFF file.
466 - Fixed embarrassing old bug: POSIX read() errors were never detected on
467 Chunk::Read() calls due to signment incompatible variable.
468 - Cleanup of an old DLL binary backward compatibility hack.
469
470 * src/gigextract.cpp:
471 - export sample loop, unity note and fine tune with libsndfile
472
473 * src/riftree.cpp:
474 - added more command line options for being able to also dump other kind
475 of file formats similar but not equal to the RIFF format
476
477 Version 3.3.0 (30 Jul 2009)
478
479 * general changes:
480 - fixed compilation with gcc 4.3
481 - fixes for building with Visual C++
482 - minor fix in configure for building DLL on Windows
483
484 * src/gig.cpp, src/gig.h:
485 - added partial support for MIDI rules, only the Controller
486 Triggered rule is supported so far
487 - bugfix: removed another iterator invalidation in DeleteSample
488 - bugfix in Sample::LoadSampleData*(): reset sample read position to
489 sample start before trying to (re)load sample data from file (#82)
490 - bugfix: EG3 depth parameter was not saved correctly
491 - fixed crash which occured when streaming a gig sample with
492 bi-directional (a.k.a. 'pingpong') loop type (fixes #102)
493
494 * src/RIFF.cpp, src/RIFF.h:
495 - bugfix: saving to the same file after the file size had been
496 increased made the file corrupt (#82)
497 - bugfix: refuse Chunk::Read() in case chunk has just been added, that
498 is not written physically yet (#82)
499 - bugfix: saving to the same file after the file size had been
500 decreased sometimes also made the file corrupt!
501 - bugfix: undefined behavior (e.g. endless loop) when opening zero
502 length files, now throws a RIFF::Exception instead (fixes bug #121)
503 - bugfix: destructor for base class RIFF::Chunk accessed members
504 of derived class RIFF::File, which is bad, and caused crashes
505 when using Visual C++
506 - bugfix: files that contain zero length RIFF lists were not read
507 correctly (fixes #127) (bug was introduced 2009-03-13)
508
509 Version 3.2.1 (5 Dec 2007)
510
511 * src/RIFF.cpp, src/RIFF.h:
512 - avoid Windows to perform unnecessary file stream caching which would
513 decrease disk streaming performance on Windows systems otherwise
514
515 * src/gig.cpp, src/gig.h:
516 - added File::SetAutoLoad() and File::GetAutoLoad() for allowing
517 applications to retrieve very superficial informations like amount of
518 instruments and their names in a very fast way
519
520 Version 3.2.0 (14 Oct 2007)
521
522 * packaging changes:
523 - added Mac OSX XCode project files (patch by Toshi Nagata)
524 - Dev-C++ (win32) project file is automatically updated with
525 the version info from configure.in
526 - the configure script can now be used in Windows with MSYS
527 - added a mainpage for the Doxygen API documentation
528
529 * src/DLS.cpp, src/DLS.h:
530 - added Sampler::AddSampleLoop() and Sampler::DeleteSampleLoop() methods
531 - fixed write support for big-endian systems
532 - improved handling of fixed length info strings - separate default
533 lengths can be specified for each INFO chunk
534 - added Resource::GenerateDLSID function
535 - write support fix: allow regions without mapped samples
536 - added method SetKeyRange() to the Region class which should be used
537 instead of setting the KeyRange member variable directly
538 - MoveRegion() method of Region class is now private
539 - added SetGain() method to Sampler class
540 - fixed crash when saving a file after a sample loop was added
541
542 * src/gig.cpp, src/gig.h:
543 - fixed segmentation fault in the gig::File destructor sequence which
544 happened when gig::Group informations were accessed before
545 - fixed write support for big-endian systems
546 - defined lengths of a fixed set of info strings. These strings
547 are saved when the file is written, even if they are empty.
548 - added missing parameter initalizations in sample, region and
549 instrument constructors
550 - clear unused fields when saving samples and regions
551 - fixed write support bugs: v3 dimension limits and chunksize
552 weren't saved, leverage controller of type controlchange
553 couldn't be saved, group name list chunk was placed wrong,
554 dimension region chunks also placed wrong
555 - added initialization of some fixed info strings in file and
556 instrument
557 - write support: files created by libgig will now have the RIFF
558 chunks in correct order
559 - write support: two previously unknown fields in dimension
560 definition are now saved
561 - added constants for gig file versions
562 - write support: the 3crc and einf chunks are now created or
563 updated when a file is saved (3crc contains sample checksums,
564 einf contains file statistics)
565 - write support: DLSID is now generated on the file and the
566 instruments
567 - write support: improved the default values for dimension region
568 parameters
569 - more write support fixes: crossfade parameters were not saved,
570 v3 dimension limits were not correctly initialized and saved
571 when dimensions were added or deleted, v3 wave pool offsets were
572 not saved correctly
573 - write support: 24 bit samples can now be written
574 - write support: version 3 is now the default for new files
575 - more write support fixes: the 3ewg chunk is now bigger for v3,
576 dimension regions without mapped samples are now allowed, 3gnl
577 list in v3 files now always has 128 entries, several parameters
578 where incorrectly saved due to an operator precedence mistake
579 - DeleteSample now removes all references to the deleted sample
580 - AddDimension now copies all parameters from existing dimension
581 regions and also makes sure that the samplechannel dimension is
582 placed first in the list of dimensions.
583 - added method GetParent() to class 'DimensionRegion', which returns its
584 parent Region
585 - fixed Instrument::UpdateRegionKeyTable() method which did not reset
586 unused areas
587 - added various setter methods to DimensionRegion class which take care
588 of updating lookup tables / caches.
589
590 * src/RIFF.cpp, src/RIFF.h:
591 - added File::SetByteOrder method
592 - Windows fix: saving a new file didn't work
593
594 * src/gigdump.cpp:
595 - added some missing dimension strings
596
597 Version 3.1.1 (24 Mar 2007)
598
599 * packaging changes:
600 - ported to Windows using native Windows functions for file IO
601 (provided Dev-C++ + mingw project file)
602 - only export relevant files to Doxygen API documentation
603
604 * src/gig.cpp, src/gig.h:
605 - custom velocity splits now works for gig v3 files too
606 - added support for custom splits points for other dimensions than
607 velocity (gig v3 feature)
608 - added "smart midi" and "round robin keyboard" dimensions
609 - added new method File::DeleteGroupOnly() which only deletes the given
610 group but moves all its members to another group, the other method,
611 that is File::DeleteGroup() now removes not just the group, but also
612 all the samples that belong to that group
613 - fixed crash which occured on interfering File::DeleteSample() and
614 File::GetNextSample() calls (due to iterator invalidation)
615 - fixed group names which were not saved
616 - fixed group destructor which did not remove the RIFF chunk associated
617 with the group
618 - added Instrument::MoveRegion method
619 - fixed constructor for Region, which did not initialize correctly
620 when used from Instrument::AddRegion
621 - when saving, override the gig::Regions sample reference simply by
622 the region's first dimension region's sample (avoids an exception
623 when trying to save a new instrument)
624 - fixed AddDimension() method which did not fill out all mandatory
625 dimension definition fields
626
627 * src/DLS.cpp, src/DLS.h:
628 - added Instrument::MoveRegion method
629 - fixed software info field which was wrongly stored on instruments,
630 causing an exception when trying to save a new instrument
631
632 * src/RIFF.cpp, src/RIFF.h:
633 - fixed RIFF::Chunk destructor which did not unregister previously
634 resized chunks, leading to a "zero size chunk" exception when
635 File::Save() was called
636 - added List::MoveSubChunk method
637
638 Version 3.1.0 (24 Nov 2006)
639
640 * packaging changes:
641 - changed deprecated copyright attribute to license;
642 added ldconfig to post-(un)install steps on libgig.spec (RPM)
643
644 * src/gig.cpp, src/gig.h:
645 - added support for more than one set of custom velocity splits
646 inside a region (for example different velocity split levels for
647 pedal up and pedal down)
648 - sample loop parameters are now taken from the DimensionRegion
649 instead of the wave chunk
650 - keyswitching dimension is changed from split type "normal" to
651 "bit"
652 - real support for 24 bit samples - samples are not truncated to
653 16 bits anymore
654 - support for reading of ".art" files. (Merging of .art and .gig
655 files are not implemented yet.)
656 - several fixes for the write support
657 - support for sample groups added
658
659 * src/DLS.cpp, src/DLS.h:
660 - support for reading of ".art" files
661 - removed incorrect use of memccpy in the write support (patch by
662 Jeremy Kerr)
663 - several fixes for the write support
664
665 * src/gigextract.cpp:
666 - real support for 24 bit samples
667
668 * src/gigdump.cpp:
669 - print global file informations
670 - print sample groups
671
672 * general changes:
673 - added CPPUnit test cases (at the moment primarily for automatic check
674 of Gigasampler write support)
675
676 Version 3.0.0 (28 Apr 2006)
677
678 * general changes:
679 - added write support (that is for creating and modifying RIFF, DLS and
680 gig files)
681 - loading DLS and gig files is now much more permissive, DLS and gig
682 files are now loaded even if mandatory RIFF chunks are missing
683 - fixed some memory management errors, one of them was causing a
684 crash when a multi-file gig was deallocated
685
686 * src/gig.cpp, src/gig.h:
687 - fixed the GetVelocityCutoff function, it wasn't always using the
688 VCFVelocityScale parameter when no cutoff controller was defined
689 - support for the gig v3 feature to have a number of dimension
690 splits not equal to a power of two
691 - added write support (highly experimental)
692
693 * src/DLS.cpp, src/DLS.h:
694 - fixed loading of Articulation Connections (<artl> list chunks were
695 seeked instead of ordinary <artl> data chunks)
696 - added write support (highly experimental)
697
698 * src/RIFF.cpp, src/RIFF.h:
699 - added write support
700 - Chunk::LoadChunkData() can now be called again to resize the buffer
701 after a Chunk::Resize() and before the File::Save() call to allow
702 placing the new data in the chunk's write buffer and perform the
703 resize and write operations in one rush
704
705 * src/gigdump.cpp:
706 - fixed to show the correct amount of dimension regions instead of 32
707 (patch by James Wylder)
708
709 * src/dlsdump.cpp:
710 - show for every region the name of the referenced sample
711 - show file name in quotation marks
712
713 Version 2.0.2 (15 Aug 2005)
714
715 * packaging changes:
716 - require automake (>= 1.5) for 'make -f Makefile.cvs'
717 (mandatory for 'dist-bzip2' automake option)
718
719 * src/gig.cpp, src/gig.h:
720 - support for gig v3 multi-file format (.gig, .gx01, .gx02, ...),
721 the extension files are read automatically when the samples are
722 loaded
723 - fixed the 24 bit decompression, the result should now be exact
724 instead of an approximation
725 - added VCFCutoffControllerInvert parameter and GetVelocityCutoff
726 function to DimensionRegion
727
728 * src/DLS.cpp, src/DLS.h:
729 - the upper bits of the pool table indices are read (used as
730 extension file numbers for gig v3)
731
732 * src/RIFF.cpp, src/RIFF.h:
733 - the file name is remembered in the RIFF::File object
734
735 Version 2.0.1 (12 Jun 2005)
736
737 * packaging changes:
738 - include debian/ directory on 'make dist'
739 - create a bzip2 tarball on 'make dist'
740
741 * src/gigextract.cpp:
742 - show also version of libsndfile or build version of libaudiofile when
743 using the -v switch
744 - fixed mutual link dependency to libsndfile / libaudiofile
745
746 * src/gig.cpp, src/gig.h:
747 - added DimensionRegion::GetVelocityRelease function
748
749 Version 2.0.0 (9 May 2005)
750
751 * packaging changes:
752 - fixed conditional linkage of either libsndfile or libaudiofile
753 (if none of the two exist, configure script will abort)
754 - man pages are now auto generated with the correct libgig version
755
756 * src/gig.cpp, src/gig.h:
757 - experimental support for Gigasampler v3 format;
758 64 bit file offsets are truncated to 32 bit, 24 bit samples are
759 truncated to 16 bit, up to 8 dimensions are read, additional
760 articulation informations are ignored at the moment
761 (patch by Andreas Persson)
762 - added some file format compatibility checks
763 - fixed vcf_type_lowpassturbo value (vcf_type_lowpassturbo was actually
764 never used, because the necessary check was made before
765 initialization)
766 - fixed crossfade points order (structure for big endian and little
767 endian systems was interchanged)
768 - fixed some memory leaks (patch by 'Gene', a.k.a Anders Alm)
769 - fixed crash which occured when patches did not have a sample assigned
770 to their region or dimension region (patch by Andreas Persson)
771 - support for compressed mono samples
772 - experimental support for compressed 24 bit samples
773 - fixed decompression on big-endian CPUs
774 - fixed decompression bug that truncated the last block of samples
775 - external decompression buffers can now be used for streaming samples
776 to avoid race conditions in case of multiple streaming threads
777 - added pre-calculated sample attenuation parameter
778 - added v3 "random" and "round robin" dimensions
779 - implemented progress indicator callback mechanism for loading
780 instruments and samples
781 - added functions libraryName() and libraryVersion()
782
783 * src/DLS.cpp, src/DLS.h:
784 - fixed File constructor which caused variable File::Instruments always
785 to be zero
786 - added functions libraryName() and libraryVersion()
787
788 * src/RIFF.cpp, src/RIFF.h:
789 - fixed method List::LoadSubChunks() which did not restore the original
790 position within the body of the given list chunk
791 - added functions libraryName() and libraryVersion()
792
793 * src/rifftree.cpp:
794 - added command line switch -v to show rifftree's revision and the used
795 libgig version
796
797 * src/dlsdump.cpp:
798 - added command line switch -v to show dlsdump's revision and the used
799 libgig version
800
801 * src/gigdump.cpp:
802 - added output of UnityNote, FineTune, Gain, SampleStartOffset an
803 LoopPlayCount
804 - added command line switch -v to show gigdump's revision and the used
805 libgig version
806
807 * src/gigextract.cpp:
808 - support for compressed mono samples and compressed 24 bit samples
809 - added command line switch -v to show gigextract's revision and the
810 used libgig version
811
812 Version 1.0.0 (26 Nov 2004)
813
814 * packaging changes:
815 - renamed 'libgig.pc.in' -> 'gig.pc.in' and renamed pkg-config lib name
816 'libgig' -> 'gig' as it's common practice to omit the 'lib' prefix
817 - fixed man pages automake install rule (which didn't work on Mandrake,
818 SuSE and Fedora)
819 - fixed generation of Doxygen API documentation (now also included in
820 RPM and Debian packages)
821
822 * src/gig.cpp, src/gig.h:
823 - fixed / improved accuracy of all three velocity to volume
824 transformation functions a.k.a. 'nonlinear','linear','special'
825 (patch by Andreas Persson)
826 - denormals are filtered from the velocity to volume tables
827 - bugfix for dimension region switching (wrong handling of the release
828 trigger dimension, no bit range check for dimensions of split type
829 'split_type_bit')
830 - fixed panorama value in DimensionRegion (invalid conversion from
831 signed 7 bit to signed 8 bit)
832 - added class attribute 'Layers' to class 'gig::Region'
833 - symbol prototyping of gig::Region (fixes build failure with qsampler)
834
835 * src/gigextract.cpp:
836 - added support for libsndfile (if libaudiofile and libsndfile are
837 available then libsndfile is preferred)
838
839 * src/gigdump.cpp:
840 - added printout for dimension informations (amount, type, bits, zones)
841 - added printout for velocity response curve parameters
842 - added printout for crossfade definitions
843 - added printout for panorama value for each DimensionRegion
844 - replaced printout of DLS Region layer by printout of amount of
845 Gigasampler layers
846
847 Version 0.7.1 (2 Jul 2004)
848
849 * packaging changes:
850 - added libgig.spec and libgig.pc package configurations for generating
851 Redhat packages
852 - header files included on installation.
853 - autotools-generated files removed from CVS repository.
854 - added support for generating Debian packages
855 - version of shared library can be set in configure.in
856
857 Version 0.7.0 (3 May 2004)
858
859 * general changes:
860 - various big endian specific corrections
861 (successfully tested now on PPC)
862 - minor adjustments to avoid compile errors on some systems
863 (using now pow() instead of powl() and --pedantic g++ compiler switch)
864 - libtoolized the library
865 - added man pages for the command line tools
866 (gigextract, gigdump, dlsdump, rifftree)
867
868 * src/gig.cpp, src/gig.h:
869 - fixed bug in decompression algorithm which caused it not to detect
870 the end of a stream
871 - added method GetVelocityAttenuation() to class 'DimensionRegion' which
872 takes the MIDI key velocity value as an argument and returns the
873 appropriate volume factor (0.0 ... 1.0) for the sample to be played
874 back, the velocity curve transformation functions used for this are
875 only an approximation so far
876 - fixed class attributes 'Sample::LoopStart', 'Sample::LoopEnd' and
877 'Sample::LoopSize' which reflected wrong values
878 - class attributes 'Sample::LoopStart' and 'Sample::LoopEnd' are now
879 measured in sample points instead of byte offset
880 - renamed misleading attribute name 'Sample::MIDIPitchFraction' to
881 'Sample::FineTune'
882 - added class attribute 'Sample::LoopSize'
883 - added method GetInstrument(uint index) to class 'File'
884 - added ReadAndLoop() method to class 'Sample' which is an extension to
885 the normal Read() method to honor the sample's looping information
886 while streaming from disk
887 - changed interface for 'attenuation_ctrl_t', 'eg1_ctrl_t' and
888 'eg2_ctrl_t': replaced this huge enumeration by a structure which
889 reflects the MIDI controller number in case of an ordinary control
890 change controller (this saves a huge switch-case block in the
891 application of the library user)
892 - renamed following attributes in class 'DimensionRegion':
893 'AttenuationContol' -> 'AttenuationController',
894 'InvertAttenuationControl' -> 'InvertAttenuationController',
895 'AttenuationControlTreshold' -> 'AttenuationControllerThreshold'
896 - minor fix in API documentation for method GetVelocityAttenuation() in
897 class 'DimensionRegion'
898
899 * src/RIFF.cpp, src/RIFF.h:
900 - added additional API documentation
901 - minor fix in Chunk::Read() method (only a minor efficiency issue)
902
903 * src/gigdump.cpp:
904 - added printout of samples' looping informations
905
906 Version 0.6.0 (3 Nov 2003)
907
908 * initial release

  ViewVC Help
Powered by ViewVC