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

Diff of /libgig/trunk/ChangeLog

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

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

Legend:
Removed from v.269  
changed lines
  Added in v.2984

  ViewVC Help
Powered by ViewVC