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

Contents of /libgig/trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3958 - (show annotations) (download)
Sat Jun 19 10:48:12 2021 UTC (15 months, 2 weeks ago) by schoenebeck
File size: 45363 byte(s)
* gig: Changed signature of method  
  Instrument::IsScriptPatchVariableSet(int,String) to  
  Instrument::IsScriptPatchVariableSet(size_t,String).

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

  ViewVC Help
Powered by ViewVC