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

Contents of /libgig/trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3951 - (show annotations) (download)
Sat Jun 19 09:07:16 2021 UTC (2 years, 10 months ago) by schoenebeck
File size: 44492 byte(s)
* gig: Changed signature of method ScriptGroup::GetScript(uint) to
  ScriptGroup::GetScript(size_t).

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

  ViewVC Help
Powered by ViewVC