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

Annotation of /libgig/trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1875 - (hide annotations) (download)
Thu Mar 26 13:32:59 2009 UTC (15 years ago) by schoenebeck
File size: 18706 byte(s)
* fixed crash which occured when streaming a gig sample with
  bi-directional (a.k.a. 'pingpong') loop type (fixes #102)

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

  ViewVC Help
Powered by ViewVC