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

Contents of /libgig/trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


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

  ViewVC Help
Powered by ViewVC