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

Diff of /libgig/trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 317 by schoenebeck, Sat Dec 4 14:13:49 2004 UTC revision 2990 by schoenebeck, Sat Sep 24 15:02:28 2016 UTC
# Line 1  Line 1 
1  Version CVS HEAD (?)  Version SVN trunk
2      * general changes:
3        - removed 2 GB limitation when loading a gig or DLS file
4        - using now native integer size where appropriate
5    
6      * src/gig.cpp, src/gig.h:
7        - fixed bug in Script::SetGroup: the script chunk wasn't moved
8        - fixed compilation error with clang 3.4
9        - GIG FORMAT EXTENSION: added support for saving gig file larger than 4 GB
10          as one single monolithic gig file. In case .gig file is >= 2GB expect a
11          large monolithic file, otherwise if .gig file is < 2 GB check for
12          "extension" files (.gx01, .gx02, ...) instead.
13        - fixed Region::UpdateUpdateVelocityTable() which did not work correctly
14          if there were dimensions after the velocity dimension: it only created
15          valid velocity tables for cases of dimensions lower than the velocity
16          dimension.
17        - added new method Sample::VerifyWaveData() which allows to check whether
18          a sample had been damaged for some reason
19        - Fix: samples' CRC checksums were damaged on file structure changes.
20        - Fix: samples' CRC checksums were misordered when a Sample was deleted.
21        - Added new method Sample::GetWaveDataCRC32Checksum().
22        - Changed default value of EG2Release (filter release time) to 60s.
23    
24      * src/DLS.cpp, src/DLS.h:
25        - Sample: wave pool offsets are now 64 bits (to allow support for files
26          larger than 4 GB).
27          
28      * src/RIFF.cpp, src/RIFF.h:
29        - added support for RIFF files larger than 4 GB, by default the required
30          internal RIFF file offset size is automatically detected (that is RIFF
31          files < 4 GB automatically use 32 bit offsets while files >= 4 GB
32          automatically use 64 bit offsets), a particular offset size can be forced
33          with a new option added to the RIFF File constructor though
34        - when saving a modified, grown RIFF file, the temporary file size during
35          Save() operation will no longer be larger than the final grown file size
36    
37      * src/tools/akaidump.cpp, src/tools/akaiextract.cpp:
38        - improved output of non-ascii characters in usage messages
39        - fixed printf format strings
40    
41      * src/tools/korg2gig.cpp:
42        - fixed c++11 narrowing warnings
43        - fixed fine tuning which was not translated at all
44    
45      * src/tools/gigdump.cpp:
46        - additionally print VelocityUpperLimit and DimensionUpperLimits of all
47          dimension regions
48        - additionally print RIFF chunk file offset and RIFF chunk size of sample
49          data
50        - added and implemented new parameter "--verify" which allows to check
51          the raw wave form data integrity of all samples
52        - added and implemented new parameter "--rebuild-checksums" which allows
53          to recalculate the CRC32 checksum of all samples' raw wave data and
54          rebuilding the gig file's global checksum table (i.e. in case the
55          file's checksum table was damaged)
56        - print samples' CRC32 checksums
57    
58      * src/tools/gigextract.cpp:
59        - Fix: if sample name contains a path separator (slash or backslash) then
60          replace them by a minus sign to avoid file system issues.
61    
62      * packaging changes:
63        - Automake: set environment variable GCC_COLORS=auto to allow GCC to
64          auto detect whether it (sh/c)ould output its messages in color.
65    
66    Version 4.0.0 (14 Jul 2015)
67      * general changes:
68        - minor Makefile fix for parallel make
69        - Mac OS X: link with CoreFoundation (for the UUID function)
70        - removed gcc 4.7 warnings
71        - modernized configure script
72        - removed usage of deprecated Automake variable INCLUDES
73        - added new command line tool "gigmerge"
74        - added "const" keyword to several methods
75        - added new command line tool "gig2mono"
76        - added man page for "sf2dump"
77        - added new command line tool "korgdump" (and a man page for it)
78        - added new command line tool "korg2gig" (and a man page for it)
79        - moved source files of command line tools to new subdir src/tools
80        - libgig.so and libakai.so files are now installed under
81          $(prefix)/lib/libgig/ by default.
82        - Header files are now installed under $(prefix)/include/libgig/ by default.
83        - Fixed various packaging issues regarding installation directories
84          (fixes #218).
85        - added new command line tool "gig2stereo" (and a man page for it)
86        - unit tests: fixed wrong return value when test suite app exits
87          (patch by Ryan Schmidt)
88        - added new command line tool "sf2extract" (and a man page for it)
89    
90      * SoundFont file format:
91        - initial implementation
92        - changed region lookup API to avoid malloc in RT threads
93        - fixed GetEG1Sustain which didn't return correct value
94        - bugfix: GetPan always returned -1, 0 or 1
95    
96      * KORG file format:
97        - initial support for sample based instruments in KORG's file format
98          (.KMP and .KSF files)
99    
100      * AKAI file format:
101        - Added Linux/POSIX ported version of libakai. Note that libakai is released
102          under LGPL terms while libgig is released under GPL terms. To handle this
103          license difference appropriately the AKAI support part is built as
104          separate DLL (.so file).
105        - Fixed Mac OSX support so that the Akai lib files and tools compile without
106          any exotic third party libraries.
107        - Fixed various compilation errors for Windows.
108        - POSIX fix: open() requires third (mode) argument if used with O_CREAT
109          (fixes #219).
110    
111      * src/gig.cpp:
112        - bugfix: VCF velocity dynamic range and VCF velocity curve
113          weren't saved correctly
114        - implemented File::AddDuplicateInstrument()
115        - bugfix: negative EG3 depth values were not correctly parsed or
116          saved
117        - added write support for CtrlTrigger midi rule
118        - added read and write support for Legato and Alternator midi
119          rules
120        - bugfix: sample groups were sometimes created multiple times or with
121          wrong textual group name
122        - added new method File::AddContentOf() for merging .gig files
123        - GIG FORMAT EXTENSION: added additional MIDI controllers for leverage
124          controller types (only works with LinuxSampler & gigedit, will not
125          work with Gigasampler/GigaStudio)
126        - added new method File::GetGroup(String name) for getting group by name
127        - added new method Region::GetDimensionDefinition(dimension_t type)
128        - bugfix: don't alter region pointer in DimensionRegion::CopyAssign()
129        - added some more sanity checks in Region::AddDimension()
130        - added new method Region::DeleteDimensionZone(dimension_t, int)
131        - added new method Region::SplitDimensionZone(dimension_t, int)
132        - Fixed crash caused by Region::GetDimensionRegionByValue() that happened
133          with certain velocity split sounds under certain conditions (added bound
134          constraints to prevent that)
135        - GIG FORMAT EXTENSION: added support for real-time instrument scripts.
136        - added new method Region::GetDimensionRegionIndexByValue()
137        - added new method Script::GetGroup()
138        - added new method Region::SetDimensionType()
139        - Added support for custom progress notification while saving to gig file.
140        - Bugfix: Adding a new region in between two existing regions caused the
141          new one being dropped after save operation and the gig file being tainted
142          (chunks at wrong location in the RIFF tree).
143        - Added new method Instrument::MoveTo() which allows to rearrange the order
144          of instruments within the same gig file.
145    
146      * src/DLS.cpp, src/DLS.h:
147        - added new method File::GetFileName()
148        - fixed minor "memory leak on exception" bug found with cppcheck
149        - added new method File::GetExtensionFile(int index)
150        - added new method File::SetFileName() allowing to call File::Save()
151          later on without passing a file name
152        - added inline helper methods overlaps() for struct range_t
153        - Added support for custom progress notification while saving to DLS file.
154        - Bugfix: Adding a new region in between two existing regions caused the
155          new one being dropped after save operation and the gig file being tainted
156          (chunks at wrong location in the RIFF tree).
157    
158      * src/SF.cpp, src/SF.h:
159        - added new method Sample::ReadNoClear()
160    
161      * src/RIFF.cpp, src/RIFF.h:
162        - bugfix: avoid calling read() with count 0 when writing a file,
163          as this may hang on some systems
164        - fixed memory leak and memory handling errors when file loading
165          fails
166        - added new method Chunk::ReadString
167        - added new method File::SetFileName() allowing to call File::Save()
168          later on without passing a file name
169        - added new method File::IsNew()
170        - added support for loading RIFF-like files with a bit different layout
171          than "real" RIFF files (used for KORG format support)
172        - added new method Chunk::GetFile()
173        - added new method Chunk::GetLayout()
174        - added 2nd, alternative method for List::MoveSubChunk(), the old 1st one
175          allows to move a subchunk within the current List, whereas the new 2nd
176          one allows to move the subchunk from the current list to another list
177        - POSIX: only assume -1 result value as error on open() calls
178        - POSIX: show operating system's error reason if opening a file failed
179        - Added support for custom progress notification while saving to RIFF file.
180        - Fixed embarrassing old bug: POSIX read() errors were never detected on
181          Chunk::Read() calls due to signment incompatible variable.
182        - Cleanup of an old DLL binary backward compatibility hack.
183    
184      * src/gigextract.cpp:
185        - export sample loop, unity note and fine tune with libsndfile
186    
187      * src/riftree.cpp:
188        - added more command line options for being able to also dump other kind
189          of file formats similar but not equal to the RIFF format
190    
191    Version 3.3.0 (30 Jul 2009)
192    
193      * general changes:
194        - fixed compilation with gcc 4.3
195        - fixes for building with Visual C++
196        - minor fix in configure for building DLL on Windows
197    
198      * src/gig.cpp, src/gig.h:
199        - added partial support for MIDI rules, only the Controller
200          Triggered rule is supported so far
201        - bugfix: removed another iterator invalidation in DeleteSample
202        - bugfix in Sample::LoadSampleData*(): reset sample read position to
203          sample start before trying to (re)load sample data from file (#82)
204        - bugfix: EG3 depth parameter was not saved correctly
205        - fixed crash which occured when streaming a gig sample with
206          bi-directional (a.k.a. 'pingpong') loop type (fixes #102)
207    
208      * src/RIFF.cpp, src/RIFF.h:
209        - bugfix: saving to the same file after the file size had been
210          increased made the file corrupt (#82)
211        - bugfix: refuse Chunk::Read() in case chunk has just been added, that
212          is not written physically yet (#82)
213        - bugfix: saving to the same file after the file size had been
214          decreased sometimes also made the file corrupt!
215        - bugfix: undefined behavior (e.g. endless loop) when opening zero
216          length files, now throws a RIFF::Exception instead (fixes bug #121)
217        - bugfix: destructor for base class RIFF::Chunk accessed members
218          of derived class RIFF::File, which is bad, and caused crashes
219          when using Visual C++
220        - bugfix: files that contain zero length RIFF lists were not read
221          correctly (fixes #127) (bug was introduced 2009-03-13)
222    
223    Version 3.2.1 (5 Dec 2007)
224    
225      * src/RIFF.cpp, src/RIFF.h:
226        - avoid Windows to perform unnecessary file stream caching which would
227          decrease disk streaming performance on Windows systems otherwise
228    
229      * src/gig.cpp, src/gig.h:
230        - added File::SetAutoLoad() and File::GetAutoLoad() for allowing
231          applications to retrieve very superficial informations like amount of
232          instruments and their names in a very fast way
233    
234    Version 3.2.0 (14 Oct 2007)
235    
236      * packaging changes:
237        - added Mac OSX XCode project files (patch by Toshi Nagata)
238        - Dev-C++ (win32) project file is automatically updated with
239          the version info from configure.in
240        - the configure script can now be used in Windows with MSYS
241        - added a mainpage for the Doxygen API documentation
242    
243      * src/DLS.cpp, src/DLS.h:
244        - added Sampler::AddSampleLoop() and Sampler::DeleteSampleLoop() methods
245        - fixed write support for big-endian systems
246        - improved handling of fixed length info strings - separate default
247          lengths can be specified for each INFO chunk
248        - added Resource::GenerateDLSID function
249        - write support fix: allow regions without mapped samples
250        - added method SetKeyRange() to the Region class which should be used
251          instead of setting the KeyRange member variable directly
252        - MoveRegion() method of Region class is now private
253        - added SetGain() method to Sampler class
254        - fixed crash when saving a file after a sample loop was added
255    
256      * src/gig.cpp, src/gig.h:
257        - fixed segmentation fault in the gig::File destructor sequence which
258          happened when gig::Group informations were accessed before
259        - fixed write support for big-endian systems
260        - defined lengths of a fixed set of info strings. These strings
261          are saved when the file is written, even if they are empty.
262        - added missing parameter initalizations in sample, region and
263          instrument constructors
264        - clear unused fields when saving samples and regions
265        - fixed write support bugs: v3 dimension limits and chunksize
266          weren't saved, leverage controller of type controlchange
267          couldn't be saved, group name list chunk was placed wrong,
268          dimension region chunks also placed wrong
269        - added initialization of some fixed info strings in file and
270          instrument
271        - write support: files created by libgig will now have the RIFF
272          chunks in correct order
273        - write support: two previously unknown fields in dimension
274          definition are now saved
275        - added constants for gig file versions
276        - write support: the 3crc and einf chunks are now created or
277          updated when a file is saved (3crc contains sample checksums,
278          einf contains file statistics)
279        - write support: DLSID is now generated on the file and the
280          instruments
281        - write support: improved the default values for dimension region
282          parameters
283        - more write support fixes: crossfade parameters were not saved,
284          v3 dimension limits were not correctly initialized and saved
285          when dimensions were added or deleted, v3 wave pool offsets were
286          not saved correctly
287        - write support: 24 bit samples can now be written
288        - write support: version 3 is now the default for new files
289        - more write support fixes: the 3ewg chunk is now bigger for v3,
290          dimension regions without mapped samples are now allowed, 3gnl
291          list in v3 files now always has 128 entries, several parameters
292          where incorrectly saved due to an operator precedence mistake
293        - DeleteSample now removes all references to the deleted sample
294        - AddDimension now copies all parameters from existing dimension
295          regions and also makes sure that the samplechannel dimension is
296          placed first in the list of dimensions.
297        - added method GetParent() to class 'DimensionRegion', which returns its
298          parent Region
299        - fixed Instrument::UpdateRegionKeyTable() method which did not reset
300          unused areas
301        - added various setter methods to DimensionRegion class which take care
302          of updating lookup tables / caches.
303    
304      * src/RIFF.cpp, src/RIFF.h:
305        - added File::SetByteOrder method
306        - Windows fix: saving a new file didn't work
307    
308      * src/gigdump.cpp:
309        - added some missing dimension strings
310    
311    Version 3.1.1 (24 Mar 2007)
312    
313      * packaging changes:
314        - ported to Windows using native Windows functions for file IO
315          (provided Dev-C++ + mingw project file)
316        - only export relevant files to Doxygen API documentation
317    
318      * src/gig.cpp, src/gig.h:
319        - custom velocity splits now works for gig v3 files too
320        - added support for custom splits points for other dimensions than
321          velocity (gig v3 feature)
322        - added "smart midi" and "round robin keyboard" dimensions
323        - added new method File::DeleteGroupOnly() which only deletes the given
324          group but moves all its members to another group, the other method,
325          that is File::DeleteGroup() now removes not just the group, but also
326          all the samples that belong to that group
327        - fixed crash which occured on interfering File::DeleteSample() and
328          File::GetNextSample() calls (due to iterator invalidation)
329        - fixed group names which were not saved
330        - fixed group destructor which did not remove the RIFF chunk associated
331          with the group
332        - added Instrument::MoveRegion method
333        - fixed constructor for Region, which did not initialize correctly
334          when used from Instrument::AddRegion
335        - when saving, override the gig::Regions sample reference simply by
336          the region's first dimension region's sample (avoids an exception
337          when trying to save a new instrument)
338        - fixed AddDimension() method which did not fill out all mandatory
339          dimension definition fields
340    
341      * src/DLS.cpp, src/DLS.h:
342        - added Instrument::MoveRegion method
343        - fixed software info field which was wrongly stored on instruments,
344          causing an exception when trying to save a new instrument
345    
346      * src/RIFF.cpp, src/RIFF.h:
347        - fixed RIFF::Chunk destructor which did not unregister previously
348          resized chunks, leading to a "zero size chunk" exception when
349          File::Save() was called
350        - added List::MoveSubChunk method
351    
352    Version 3.1.0 (24 Nov 2006)
353    
354      * packaging changes:
355        - changed deprecated copyright attribute to license;
356          added ldconfig to post-(un)install steps on libgig.spec (RPM)
357    
358      * src/gig.cpp, src/gig.h:
359        - added support for more than one set of custom velocity splits
360          inside a region (for example different velocity split levels for
361          pedal up and pedal down)
362        - sample loop parameters are now taken from the DimensionRegion
363          instead of the wave chunk
364        - keyswitching dimension is changed from split type "normal" to
365          "bit"
366        - real support for 24 bit samples - samples are not truncated to
367          16 bits anymore
368        - support for reading of ".art" files. (Merging of .art and .gig
369          files are not implemented yet.)
370        - several fixes for the write support
371        - support for sample groups added
372    
373      * src/DLS.cpp, src/DLS.h:
374        - support for reading of ".art" files
375        - removed incorrect use of memccpy in the write support (patch by
376          Jeremy Kerr)
377        - several fixes for the write support
378    
379      * src/gigextract.cpp:
380        - real support for 24 bit samples
381    
382      * src/gigdump.cpp:
383        - print global file informations
384        - print sample groups
385    
386      * general changes:
387        - added CPPUnit test cases (at the moment primarily for automatic check
388          of Gigasampler write support)
389    
390    Version 3.0.0 (28 Apr 2006)
391    
392      * general changes:
393        - added write support (that is for creating and modifying RIFF, DLS and
394          gig files)
395        - loading DLS and gig files is now much more permissive, DLS and gig
396          files are now loaded even if mandatory RIFF chunks are missing
397        - fixed some memory management errors, one of them was causing a
398          crash when a multi-file gig was deallocated
399    
400      * src/gig.cpp, src/gig.h:
401        - fixed the GetVelocityCutoff function, it wasn't always using the
402          VCFVelocityScale parameter when no cutoff controller was defined
403        - support for the gig v3 feature to have a number of dimension
404          splits not equal to a power of two
405        - added write support (highly experimental)
406    
407      * src/DLS.cpp, src/DLS.h:
408        - fixed loading of Articulation Connections (<artl> list chunks were
409          seeked instead of ordinary <artl> data chunks)
410        - added write support (highly experimental)
411    
412      * src/RIFF.cpp, src/RIFF.h:
413        - added write support
414        - Chunk::LoadChunkData() can now be called again to resize the buffer
415          after a Chunk::Resize() and before the File::Save() call to allow
416          placing the new data in the chunk's write buffer and perform the
417          resize and write operations in one rush
418    
419      * src/gigdump.cpp:
420        - fixed to show the correct amount of dimension regions instead of 32
421          (patch by James Wylder)
422    
423      * src/dlsdump.cpp:
424        - show for every region the name of the referenced sample
425        - show file name in quotation marks
426    
427    Version 2.0.2 (15 Aug 2005)
428    
429      * packaging changes:
430        - require automake (>= 1.5) for 'make -f Makefile.cvs'
431          (mandatory for 'dist-bzip2' automake option)
432    
433      * src/gig.cpp, src/gig.h:
434        - support for gig v3 multi-file format (.gig, .gx01, .gx02, ...),
435          the extension files are read automatically when the samples are
436          loaded
437        - fixed the 24 bit decompression, the result should now be exact
438          instead of an approximation
439        - added VCFCutoffControllerInvert parameter and GetVelocityCutoff
440          function to DimensionRegion
441    
442      * src/DLS.cpp, src/DLS.h:
443        - the upper bits of the pool table indices are read (used as
444          extension file numbers for gig v3)
445    
446      * src/RIFF.cpp, src/RIFF.h:
447        - the file name is remembered in the RIFF::File object
448    
449    Version 2.0.1 (12 Jun 2005)
450    
451      * packaging changes:
452        - include debian/ directory on 'make dist'
453        - create a bzip2 tarball on 'make dist'
454    
455      * src/gigextract.cpp:
456        - show also version of libsndfile or build version of libaudiofile when
457          using the -v switch
458        - fixed mutual link dependency to libsndfile / libaudiofile
459    
460      * src/gig.cpp, src/gig.h:
461        - added DimensionRegion::GetVelocityRelease function
462    
463    Version 2.0.0 (9 May 2005)
464    
465      * packaging changes:
466        - fixed conditional linkage of either libsndfile or libaudiofile
467          (if none of the two exist, configure script will abort)
468        - man pages are now auto generated with the correct libgig version
469    
470    * src/gig.cpp, src/gig.h:    * src/gig.cpp, src/gig.h:
471      - experimental support for Gigasampler v3 format;      - experimental support for Gigasampler v3 format;
472        64 bit file offsets are truncated to 32 bit, 24 bit samples are        64 bit file offsets are truncated to 32 bit, 24 bit samples are
473        truncated to 16 bit and additional articulation informations are        truncated to 16 bit, up to 8 dimensions are read, additional
474        ignored at the moment (patch by Andreas Persson)        articulation informations are ignored at the moment
475          (patch by Andreas Persson)
476      - added some file format compatibility checks      - added some file format compatibility checks
477        - fixed vcf_type_lowpassturbo value (vcf_type_lowpassturbo was actually
478          never used, because the necessary check was made before
479          initialization)
480        - fixed crossfade points order (structure for big endian and little
481          endian systems was interchanged)
482        - fixed some memory leaks (patch by 'Gene', a.k.a Anders Alm)
483        - fixed crash which occured when patches did not have a sample assigned
484          to their region or dimension region (patch by Andreas Persson)
485        - support for compressed mono samples
486        - experimental support for compressed 24 bit samples
487        - fixed decompression on big-endian CPUs
488        - fixed decompression bug that truncated the last block of samples
489        - external decompression buffers can now be used for streaming samples
490          to avoid race conditions in case of multiple streaming threads
491        - added pre-calculated sample attenuation parameter
492        - added v3 "random" and "round robin" dimensions
493        - implemented progress indicator callback mechanism for loading
494          instruments and samples
495        - added functions libraryName() and libraryVersion()
496    
497      * src/DLS.cpp, src/DLS.h:
498        - fixed File constructor which caused variable File::Instruments always
499          to be zero
500        - added functions libraryName() and libraryVersion()
501    
502      * src/RIFF.cpp, src/RIFF.h:
503        - fixed method List::LoadSubChunks() which did not restore the original
504          position within the body of the given list chunk
505        - added functions libraryName() and libraryVersion()
506    
507      * src/rifftree.cpp:
508        - added command line switch -v to show rifftree's revision and the used
509          libgig version
510    
511      * src/dlsdump.cpp:
512        - added command line switch -v to show dlsdump's revision and the used
513          libgig version
514    
515      * src/gigdump.cpp:
516        - added output of UnityNote, FineTune, Gain, SampleStartOffset an
517          LoopPlayCount
518        - added command line switch -v to show gigdump's revision and the used
519          libgig version
520    
521      * src/gigextract.cpp:
522        - support for compressed mono samples and compressed 24 bit samples
523        - added command line switch -v to show gigextract's revision and the
524          used libgig version
525    
526  Version 1.0.0 (26 Nov 2004)  Version 1.0.0 (26 Nov 2004)
527    

Legend:
Removed from v.317  
changed lines
  Added in v.2990

  ViewVC Help
Powered by ViewVC