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

Contents of /libgig/trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


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

  ViewVC Help
Powered by ViewVC