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

Annotation of /libgig/trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2484 - (hide annotations) (download)
Tue Dec 31 00:13:20 2013 UTC (10 years, 2 months ago) by schoenebeck
File size: 20906 byte(s)
* Added new command line tool "gig2mono" (and a new man page for it).
* src/gig.cpp: Delete "ewav" chunk of Sample if "Compression" attribute was
  toggled to false.
* Bumped version to 3.3.0.svn7.

1 iliev 2016 Version CVS HEAD (?)
2 persson 2133 * general changes:
3     - minor Makefile fix for parallel make
4 persson 2182 - Mac OS X: link with CoreFoundation (for the UUID function)
5 persson 2334 - removed gcc 4.7 warnings
6 persson 2364 - modernized configure script
7 persson 2419 - removed usage of deprecated Automake variable INCLUDES
8 schoenebeck 2482 - added new command line tool "gigmerge"
9     - added "const" keyword to several methods
10 schoenebeck 2484 - added new command line tool "gig2mono"
11 persson 2133
12 schoenebeck 2465 * SoundFont file format:
13 iliev 2016 - initial implementation
14 persson 2100 - changed region lookup API to avoid malloc in RT threads
15 persson 2202 - fixed GetEG1Sustain which didn't return correct value
16 persson 2381 - bugfix: GetPan always returned -1, 0 or 1
17 iliev 2016
18 persson 2152 * src/gig.cpp:
19     - bugfix: VCF velocity dynamic range and VCF velocity curve
20     weren't saved correctly
21 schoenebeck 2394 - implemented File::AddDuplicateInstrument()
22 persson 2402 - bugfix: negative EG3 depth values were not correctly parsed or
23     saved
24 persson 2450 - added write support for CtrlTrigger midi rule
25     - added read and write support for Legato and Alternator midi
26     rules
27 schoenebeck 2467 - bugfix: sample groups were sometimes created multiple times or with
28     wrong textual group name
29 schoenebeck 2482 - added new method File::AddContentOf() for merging .gig files
30 persson 2152
31 schoenebeck 2274 * src/DLS.cpp, src/DLS.h:
32     - added new method File::GetFileName()
33 persson 2310 - fixed minor "memory leak on exception" bug found with cppcheck
34 schoenebeck 2329 - added new method File::GetExtensionFile(int index)
35 schoenebeck 2482 - added new method File::SetFileName() allowing to call File::Save()
36     later on without passing a file name
37 schoenebeck 2274
38 persson 2120 * src/RIFF.cpp, src/RIFF.h:
39     - bugfix: avoid calling read() with count 0 when writing a file,
40     as this may hang on some systems
41 persson 2155 - fixed memory leak and memory handling errors when file loading
42     fails
43 persson 2450 - added new method Chunk::ReadString
44 schoenebeck 2482 - added new method File::SetFileName() allowing to call File::Save()
45     later on without passing a file name
46     - added new method File::IsNew()
47 persson 2120
48 schoenebeck 2465 * src/gigextract.cpp:
49     - export sample loop, unity note and fine tune with libsndfile
50    
51 schoenebeck 1953 Version 3.3.0 (30 Jul 2009)
52 persson 1627
53 persson 1713 * general changes:
54     - fixed compilation with gcc 4.3
55 persson 1869 - fixes for building with Visual C++
56 persson 1894 - minor fix in configure for building DLL on Windows
57 persson 1713
58 persson 1627 * src/gig.cpp, src/gig.h:
59     - added partial support for MIDI rules, only the Controller
60     Triggered rule is supported so far
61 persson 1678 - bugfix: removed another iterator invalidation in DeleteSample
62 schoenebeck 1851 - bugfix in Sample::LoadSampleData*(): reset sample read position to
63     sample start before trying to (re)load sample data from file (#82)
64 persson 1869 - bugfix: EG3 depth parameter was not saved correctly
65 schoenebeck 1875 - fixed crash which occured when streaming a gig sample with
66     bi-directional (a.k.a. 'pingpong') loop type (fixes #102)
67 persson 1627
68 persson 1678 * src/RIFF.cpp, src/RIFF.h:
69     - bugfix: saving to the same file after the file size had been
70     increased made the file corrupt (#82)
71 schoenebeck 1851 - bugfix: refuse Chunk::Read() in case chunk has just been added, that
72     is not written physically yet (#82)
73 persson 1859 - bugfix: saving to the same file after the file size had been
74     decreased sometimes also made the file corrupt!
75 schoenebeck 1863 - bugfix: undefined behavior (e.g. endless loop) when opening zero
76     length files, now throws a RIFF::Exception instead (fixes bug #121)
77 persson 1869 - bugfix: destructor for base class RIFF::Chunk accessed members
78     of derived class RIFF::File, which is bad, and caused crashes
79     when using Visual C++
80 persson 1885 - bugfix: files that contain zero length RIFF lists were not read
81     correctly (fixes #127) (bug was introduced 2009-03-13)
82 persson 1678
83 schoenebeck 1549 Version 3.2.1 (5 Dec 2007)
84 schoenebeck 1459
85     * src/RIFF.cpp, src/RIFF.h:
86     - avoid Windows to perform unnecessary file stream caching which would
87     decrease disk streaming performance on Windows systems otherwise
88    
89 schoenebeck 1524 * src/gig.cpp, src/gig.h:
90     - added File::SetAutoLoad() and File::GetAutoLoad() for allowing
91     applications to retrieve very superficial informations like amount of
92     instruments and their names in a very fast way
93    
94 schoenebeck 1416 Version 3.2.0 (14 Oct 2007)
95 schoenebeck 1154
96 schoenebeck 1172 * packaging changes:
97     - added Mac OSX XCode project files (patch by Toshi Nagata)
98 schoenebeck 1186 - Dev-C++ (win32) project file is automatically updated with
99     the version info from configure.in
100 persson 1330 - the configure script can now be used in Windows with MSYS
101 schoenebeck 1378 - added a mainpage for the Doxygen API documentation
102 schoenebeck 1172
103 schoenebeck 1154 * src/DLS.cpp, src/DLS.h:
104     - added Sampler::AddSampleLoop() and Sampler::DeleteSampleLoop() methods
105 persson 1179 - fixed write support for big-endian systems
106 persson 1180 - improved handling of fixed length info strings - separate default
107     lengths can be specified for each INFO chunk
108 persson 1209 - added Resource::GenerateDLSID function
109 persson 1266 - write support fix: allow regions without mapped samples
110 schoenebeck 1335 - added method SetKeyRange() to the Region class which should be used
111     instead of setting the KeyRange member variable directly
112     - MoveRegion() method of Region class is now private
113 schoenebeck 1358 - added SetGain() method to Sampler class
114 persson 1388 - fixed crash when saving a file after a sample loop was added
115 schoenebeck 1154
116 schoenebeck 1158 * src/gig.cpp, src/gig.h:
117     - fixed segmentation fault in the gig::File destructor sequence which
118     happened when gig::Group informations were accessed before
119 persson 1179 - fixed write support for big-endian systems
120 persson 1180 - defined lengths of a fixed set of info strings. These strings
121     are saved when the file is written, even if they are empty.
122 persson 1182 - added missing parameter initalizations in sample, region and
123     instrument constructors
124     - clear unused fields when saving samples and regions
125     - fixed write support bugs: v3 dimension limits and chunksize
126     weren't saved, leverage controller of type controlchange
127 persson 1195 couldn't be saved, group name list chunk was placed wrong,
128     dimension region chunks also placed wrong
129 persson 1182 - added initialization of some fixed info strings in file and
130     instrument
131 persson 1192 - write support: files created by libgig will now have the RIFF
132     chunks in correct order
133 persson 1199 - write support: two previously unknown fields in dimension
134     definition are now saved
135     - added constants for gig file versions
136     - write support: the 3crc and einf chunks are now created or
137     updated when a file is saved (3crc contains sample checksums,
138     einf contains file statistics)
139 persson 1209 - write support: DLSID is now generated on the file and the
140     instruments
141 persson 1218 - write support: improved the default values for dimension region
142     parameters
143 persson 1247 - more write support fixes: crossfade parameters were not saved,
144     v3 dimension limits were not correctly initialized and saved
145     when dimensions were added or deleted, v3 wave pool offsets were
146     not saved correctly
147 persson 1264 - write support: 24 bit samples can now be written
148     - write support: version 3 is now the default for new files
149 persson 1266 - more write support fixes: the 3ewg chunk is now bigger for v3,
150     dimension regions without mapped samples are now allowed, 3gnl
151     list in v3 files now always has 128 entries, several parameters
152     where incorrectly saved due to an operator precedence mistake
153     - DeleteSample now removes all references to the deleted sample
154 persson 1301 - AddDimension now copies all parameters from existing dimension
155     regions and also makes sure that the samplechannel dimension is
156     placed first in the list of dimensions.
157 schoenebeck 1316 - added method GetParent() to class 'DimensionRegion', which returns its
158     parent Region
159 schoenebeck 1335 - fixed Instrument::UpdateRegionKeyTable() method which did not reset
160     unused areas
161 schoenebeck 1358 - added various setter methods to DimensionRegion class which take care
162     of updating lookup tables / caches.
163 schoenebeck 1158
164 persson 1183 * src/RIFF.cpp, src/RIFF.h:
165 persson 1184 - added File::SetByteOrder method
166 persson 1301 - Windows fix: saving a new file didn't work
167 persson 1183
168 persson 1264 * src/gigdump.cpp:
169     - added some missing dimension strings
170    
171 schoenebeck 1116 Version 3.1.1 (24 Mar 2007)
172 schoenebeck 1050
173     * packaging changes:
174     - ported to Windows using native Windows functions for file IO
175     (provided Dev-C++ + mingw project file)
176 schoenebeck 1079 - only export relevant files to Doxygen API documentation
177 schoenebeck 1050
178 persson 1070 * src/gig.cpp, src/gig.h:
179     - custom velocity splits now works for gig v3 files too
180     - added support for custom splits points for other dimensions than
181     velocity (gig v3 feature)
182 persson 1076 - added "smart midi" and "round robin keyboard" dimensions
183 schoenebeck 1081 - added new method File::DeleteGroupOnly() which only deletes the given
184     group but moves all its members to another group, the other method,
185     that is File::DeleteGroup() now removes not just the group, but also
186     all the samples that belong to that group
187 schoenebeck 1083 - fixed crash which occured on interfering File::DeleteSample() and
188     File::GetNextSample() calls (due to iterator invalidation)
189 schoenebeck 1098 - fixed group names which were not saved
190 schoenebeck 1099 - fixed group destructor which did not remove the RIFF chunk associated
191     with the group
192 persson 1102 - added Instrument::MoveRegion method
193     - fixed constructor for Region, which did not initialize correctly
194     when used from Instrument::AddRegion
195 schoenebeck 1106 - when saving, override the gig::Regions sample reference simply by
196     the region's first dimension region's sample (avoids an exception
197     when trying to save a new instrument)
198 schoenebeck 1113 - fixed AddDimension() method which did not fill out all mandatory
199     dimension definition fields
200 persson 1070
201 persson 1102 * src/DLS.cpp, src/DLS.h:
202     - added Instrument::MoveRegion method
203 schoenebeck 1106 - fixed software info field which was wrongly stored on instruments,
204     causing an exception when trying to save a new instrument
205 persson 1102
206 schoenebeck 1095 * src/RIFF.cpp, src/RIFF.h:
207     - fixed RIFF::Chunk destructor which did not unregister previously
208     resized chunks, leading to a "zero size chunk" exception when
209     File::Save() was called
210 persson 1102 - added List::MoveSubChunk method
211 schoenebeck 1095
212 schoenebeck 933 Version 3.1.0 (24 Nov 2006)
213 persson 858
214 capela 867 * packaging changes:
215     - changed deprecated copyright attribute to license;
216     added ldconfig to post-(un)install steps on libgig.spec (RPM)
217 persson 902
218 persson 858 * src/gig.cpp, src/gig.h:
219     - added support for more than one set of custom velocity splits
220     inside a region (for example different velocity split levels for
221     pedal up and pedal down)
222 persson 864 - sample loop parameters are now taken from the DimensionRegion
223     instead of the wave chunk
224     - keyswitching dimension is changed from split type "normal" to
225     "bit"
226 persson 902 - real support for 24 bit samples - samples are not truncated to
227     16 bits anymore
228     - support for reading of ".art" files. (Merging of .art and .gig
229     files are not implemented yet.)
230 persson 918 - several fixes for the write support
231 schoenebeck 929 - support for sample groups added
232 persson 858
233 persson 918 * src/DLS.cpp, src/DLS.h:
234 persson 902 - support for reading of ".art" files
235 persson 918 - removed incorrect use of memccpy in the write support (patch by
236     Jeremy Kerr)
237     - several fixes for the write support
238 persson 902
239     * src/gigextract.cpp:
240     - real support for 24 bit samples
241    
242 schoenebeck 916 * src/gigdump.cpp:
243     - print global file informations
244 schoenebeck 929 - print sample groups
245 schoenebeck 916
246 schoenebeck 917 * general changes:
247     - added CPPUnit test cases (at the moment primarily for automatic check
248     of Gigasampler write support)
249    
250 schoenebeck 854 Version 3.0.0 (28 Apr 2006)
251 persson 773
252 schoenebeck 780 * general changes:
253 schoenebeck 809 - added write support (that is for creating and modifying RIFF, DLS and
254     gig files)
255     - loading DLS and gig files is now much more permissive, DLS and gig
256     files are now loaded even if mandatory RIFF chunks are missing
257 persson 834 - fixed some memory management errors, one of them was causing a
258     crash when a multi-file gig was deallocated
259 schoenebeck 780
260 persson 773 * src/gig.cpp, src/gig.h:
261     - fixed the GetVelocityCutoff function, it wasn't always using the
262     VCFVelocityScale parameter when no cutoff controller was defined
263 persson 774 - support for the gig v3 feature to have a number of dimension
264     splits not equal to a power of two
265 schoenebeck 809 - added write support (highly experimental)
266 persson 773
267 schoenebeck 800 * src/DLS.cpp, src/DLS.h:
268     - fixed loading of Articulation Connections (<artl> list chunks were
269     seeked instead of ordinary <artl> data chunks)
270     - added write support (highly experimental)
271    
272     * src/RIFF.cpp, src/RIFF.h:
273     - added write support
274     - Chunk::LoadChunkData() can now be called again to resize the buffer
275     after a Chunk::Resize() and before the File::Save() call to allow
276     placing the new data in the chunk's write buffer and perform the
277     resize and write operations in one rush
278    
279 schoenebeck 809 * src/gigdump.cpp:
280     - fixed to show the correct amount of dimension regions instead of 32
281     (patch by James Wylder)
282    
283 schoenebeck 804 * src/dlsdump.cpp:
284     - show for every region the name of the referenced sample
285     - show file name in quotation marks
286    
287 schoenebeck 732 Version 2.0.2 (15 Aug 2005)
288 schoenebeck 652
289     * packaging changes:
290     - require automake (>= 1.5) for 'make -f Makefile.cvs'
291     (mandatory for 'dist-bzip2' automake option)
292    
293 persson 666 * src/gig.cpp, src/gig.h:
294     - support for gig v3 multi-file format (.gig, .gx01, .gx02, ...),
295     the extension files are read automatically when the samples are
296     loaded
297 persson 695 - fixed the 24 bit decompression, the result should now be exact
298     instead of an approximation
299 persson 728 - added VCFCutoffControllerInvert parameter and GetVelocityCutoff
300     function to DimensionRegion
301 persson 666
302     * src/DLS.cpp, src/DLS.h:
303     - the upper bits of the pool table indices are read (used as
304     extension file numbers for gig v3)
305    
306     * src/RIFF.cpp, src/RIFF.h:
307     - the file name is remembered in the RIFF::File object
308    
309 schoenebeck 632 Version 2.0.1 (12 Jun 2005)
310 schoenebeck 549
311 schoenebeck 634 * packaging changes:
312     - include debian/ directory on 'make dist'
313     - create a bzip2 tarball on 'make dist'
314    
315 schoenebeck 549 * src/gigextract.cpp:
316     - show also version of libsndfile or build version of libaudiofile when
317     using the -v switch
318 schoenebeck 608 - fixed mutual link dependency to libsndfile / libaudiofile
319 schoenebeck 549
320 persson 613 * src/gig.cpp, src/gig.h:
321     - added DimensionRegion::GetVelocityRelease function
322    
323 schoenebeck 530 Version 2.0.0 (9 May 2005)
324 schoenebeck 317
325 schoenebeck 383 * packaging changes:
326     - fixed conditional linkage of either libsndfile or libaudiofile
327     (if none of the two exist, configure script will abort)
328 schoenebeck 518 - man pages are now auto generated with the correct libgig version
329 schoenebeck 383
330 schoenebeck 317 * src/gig.cpp, src/gig.h:
331     - experimental support for Gigasampler v3 format;
332     64 bit file offsets are truncated to 32 bit, 24 bit samples are
333 schoenebeck 347 truncated to 16 bit, up to 8 dimensions are read, additional
334     articulation informations are ignored at the moment
335     (patch by Andreas Persson)
336 schoenebeck 317 - added some file format compatibility checks
337 schoenebeck 345 - fixed vcf_type_lowpassturbo value (vcf_type_lowpassturbo was actually
338     never used, because the necessary check was made before
339     initialization)
340     - fixed crossfade points order (structure for big endian and little
341     endian systems was interchanged)
342 schoenebeck 355 - fixed some memory leaks (patch by 'Gene', a.k.a Anders Alm)
343 schoenebeck 352 - fixed crash which occured when patches did not have a sample assigned
344     to their region or dimension region (patch by Andreas Persson)
345 persson 365 - support for compressed mono samples
346     - experimental support for compressed 24 bit samples
347     - fixed decompression on big-endian CPUs
348     - fixed decompression bug that truncated the last block of samples
349 schoenebeck 384 - external decompression buffers can now be used for streaming samples
350     to avoid race conditions in case of multiple streaming threads
351 persson 406 - added pre-calculated sample attenuation parameter
352 persson 437 - added v3 "random" and "round robin" dimensions
353 schoenebeck 515 - implemented progress indicator callback mechanism for loading
354     instruments and samples
355 schoenebeck 518 - added functions libraryName() and libraryVersion()
356 schoenebeck 317
357 schoenebeck 518 * src/DLS.cpp, src/DLS.h:
358 schoenebeck 515 - fixed File constructor which caused variable File::Instruments always
359     to be zero
360 schoenebeck 518 - added functions libraryName() and libraryVersion()
361 schoenebeck 515
362 schoenebeck 518 * src/RIFF.cpp, src/RIFF.h:
363 schoenebeck 515 - fixed method List::LoadSubChunks() which did not restore the original
364     position within the body of the given list chunk
365 schoenebeck 518 - added functions libraryName() and libraryVersion()
366 schoenebeck 515
367 schoenebeck 518 * src/rifftree.cpp:
368     - added command line switch -v to show rifftree's revision and the used
369     libgig version
370    
371     * src/dlsdump.cpp:
372     - added command line switch -v to show dlsdump's revision and the used
373     libgig version
374    
375 schoenebeck 334 * src/gigdump.cpp:
376 schoenebeck 530 - added output of UnityNote, FineTune, Gain, SampleStartOffset an
377     LoopPlayCount
378 schoenebeck 518 - added command line switch -v to show gigdump's revision and the used
379     libgig version
380 schoenebeck 334
381 persson 365 * src/gigextract.cpp:
382     - support for compressed mono samples and compressed 24 bit samples
383 schoenebeck 518 - added command line switch -v to show gigextract's revision and the
384     used libgig version
385 persson 365
386 schoenebeck 315 Version 1.0.0 (26 Nov 2004)
387 schoenebeck 196
388     * packaging changes:
389     - renamed 'libgig.pc.in' -> 'gig.pc.in' and renamed pkg-config lib name
390     'libgig' -> 'gig' as it's common practice to omit the 'lib' prefix
391 schoenebeck 315 - fixed man pages automake install rule (which didn't work on Mandrake,
392     SuSE and Fedora)
393     - fixed generation of Doxygen API documentation (now also included in
394     RPM and Debian packages)
395 schoenebeck 196
396 schoenebeck 231 * src/gig.cpp, src/gig.h:
397     - fixed / improved accuracy of all three velocity to volume
398 schoenebeck 315 transformation functions a.k.a. 'nonlinear','linear','special'
399     (patch by Andreas Persson)
400 schoenebeck 231 - denormals are filtered from the velocity to volume tables
401 schoenebeck 241 - bugfix for dimension region switching (wrong handling of the release
402     trigger dimension, no bit range check for dimensions of split type
403     'split_type_bit')
404 schoenebeck 269 - fixed panorama value in DimensionRegion (invalid conversion from
405     signed 7 bit to signed 8 bit)
406 schoenebeck 282 - added class attribute 'Layers' to class 'gig::Region'
407 schoenebeck 315 - symbol prototyping of gig::Region (fixes build failure with qsampler)
408 schoenebeck 231
409 schoenebeck 220 * src/gigextract.cpp:
410     - added support for libsndfile (if libaudiofile and libsndfile are
411     available then libsndfile is preferred)
412    
413 schoenebeck 229 * src/gigdump.cpp:
414     - added printout for dimension informations (amount, type, bits, zones)
415 schoenebeck 231 - added printout for velocity response curve parameters
416 schoenebeck 235 - added printout for crossfade definitions
417 schoenebeck 269 - added printout for panorama value for each DimensionRegion
418 schoenebeck 282 - replaced printout of DLS Region layer by printout of amount of
419     Gigasampler layers
420 schoenebeck 229
421 capela 168 Version 0.7.1 (2 Jul 2004)
422    
423     * packaging changes:
424 schoenebeck 192 - added libgig.spec and libgig.pc package configurations for generating
425     Redhat packages
426 capela 168 - header files included on installation.
427     - autotools-generated files removed from CVS repository.
428 schoenebeck 186 - added support for generating Debian packages
429     - version of shared library can be set in configure.in
430    
431 schoenebeck 58 Version 0.7.0 (3 May 2004)
432    
433     * general changes:
434     - various big endian specific corrections
435     (successfully tested now on PPC)
436     - minor adjustments to avoid compile errors on some systems
437     (using now pow() instead of powl() and --pedantic g++ compiler switch)
438     - libtoolized the library
439     - added man pages for the command line tools
440     (gigextract, gigdump, dlsdump, rifftree)
441    
442     * src/gig.cpp, src/gig.h:
443     - fixed bug in decompression algorithm which caused it not to detect
444     the end of a stream
445     - added method GetVelocityAttenuation() to class 'DimensionRegion' which
446     takes the MIDI key velocity value as an argument and returns the
447     appropriate volume factor (0.0 ... 1.0) for the sample to be played
448     back, the velocity curve transformation functions used for this are
449     only an approximation so far
450     - fixed class attributes 'Sample::LoopStart', 'Sample::LoopEnd' and
451     'Sample::LoopSize' which reflected wrong values
452     - class attributes 'Sample::LoopStart' and 'Sample::LoopEnd' are now
453     measured in sample points instead of byte offset
454     - renamed misleading attribute name 'Sample::MIDIPitchFraction' to
455     'Sample::FineTune'
456     - added class attribute 'Sample::LoopSize'
457     - added method GetInstrument(uint index) to class 'File'
458     - added ReadAndLoop() method to class 'Sample' which is an extension to
459     the normal Read() method to honor the sample's looping information
460     while streaming from disk
461     - changed interface for 'attenuation_ctrl_t', 'eg1_ctrl_t' and
462     'eg2_ctrl_t': replaced this huge enumeration by a structure which
463     reflects the MIDI controller number in case of an ordinary control
464     change controller (this saves a huge switch-case block in the
465     application of the library user)
466     - renamed following attributes in class 'DimensionRegion':
467     'AttenuationContol' -> 'AttenuationController',
468     'InvertAttenuationControl' -> 'InvertAttenuationController',
469     'AttenuationControlTreshold' -> 'AttenuationControllerThreshold'
470     - minor fix in API documentation for method GetVelocityAttenuation() in
471     class 'DimensionRegion'
472    
473     * src/RIFF.cpp, src/RIFF.h:
474     - added additional API documentation
475     - minor fix in Chunk::Read() method (only a minor efficiency issue)
476    
477     * src/gigdump.cpp:
478     - added printout of samples' looping informations
479    
480 schoenebeck 11 Version 0.6.0 (3 Nov 2003)
481    
482     * initial release

  ViewVC Help
Powered by ViewVC