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

Annotation of /libgig/trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3710 - (hide annotations) (download)
Fri Jan 10 13:32:34 2020 UTC (4 years, 3 months ago) by schoenebeck
File size: 38073 byte(s)
* gig.cpp: Added methods Region::UsesAnyGigFormatExtension(),
  Instrument::UsesAnyGigFormatExtension() and
  File::UsesAnyGigFormatExtension() (as private methods for
  now, see comments on methods for reason why).

* gig.cpp: Only write pure-GSt-compatibility RIFF chunks
  introduced by SVN r3657 if the file is not using any of
  our gig format extensions anyway.

* Bumped version (4.2.0.svn6).

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

  ViewVC Help
Powered by ViewVC