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

Annotation of /libgig/trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1885 - (hide annotations) (download)
Thu Apr 16 18:25:31 2009 UTC (14 years, 11 months ago) by persson
File size: 18837 byte(s)
* bugfix: files that contain zero length RIFF lists were not read
  correctly (fixes #127) (bug was introduced 2009-03-13)

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

  ViewVC Help
Powered by ViewVC