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

Contents of /libgig/trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1885 - (show annotations) (download)
Thu Apr 16 18:25:31 2009 UTC (15 years 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 Version CVS HEAD (?)
2
3 * general changes:
4 - fixed compilation with gcc 4.3
5 - fixes for building with Visual C++
6
7 * src/gig.cpp, src/gig.h:
8 - added partial support for MIDI rules, only the Controller
9 Triggered rule is supported so far
10 - bugfix: removed another iterator invalidation in DeleteSample
11 - bugfix in Sample::LoadSampleData*(): reset sample read position to
12 sample start before trying to (re)load sample data from file (#82)
13 - bugfix: EG3 depth parameter was not saved correctly
14 - fixed crash which occured when streaming a gig sample with
15 bi-directional (a.k.a. 'pingpong') loop type (fixes #102)
16
17 * 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 - bugfix: refuse Chunk::Read() in case chunk has just been added, that
21 is not written physically yet (#82)
22 - bugfix: saving to the same file after the file size had been
23 decreased sometimes also made the file corrupt!
24 - bugfix: undefined behavior (e.g. endless loop) when opening zero
25 length files, now throws a RIFF::Exception instead (fixes bug #121)
26 - 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 - bugfix: files that contain zero length RIFF lists were not read
30 correctly (fixes #127) (bug was introduced 2009-03-13)
31
32 Version 3.2.1 (5 Dec 2007)
33
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 * 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 Version 3.2.0 (14 Oct 2007)
44
45 * packaging changes:
46 - added Mac OSX XCode project files (patch by Toshi Nagata)
47 - Dev-C++ (win32) project file is automatically updated with
48 the version info from configure.in
49 - the configure script can now be used in Windows with MSYS
50 - added a mainpage for the Doxygen API documentation
51
52 * src/DLS.cpp, src/DLS.h:
53 - added Sampler::AddSampleLoop() and Sampler::DeleteSampleLoop() methods
54 - fixed write support for big-endian systems
55 - improved handling of fixed length info strings - separate default
56 lengths can be specified for each INFO chunk
57 - added Resource::GenerateDLSID function
58 - write support fix: allow regions without mapped samples
59 - 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 - added SetGain() method to Sampler class
63 - fixed crash when saving a file after a sample loop was added
64
65 * 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 - fixed write support for big-endian systems
69 - 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 - 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 couldn't be saved, group name list chunk was placed wrong,
77 dimension region chunks also placed wrong
78 - added initialization of some fixed info strings in file and
79 instrument
80 - write support: files created by libgig will now have the RIFF
81 chunks in correct order
82 - 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 - write support: DLSID is now generated on the file and the
89 instruments
90 - write support: improved the default values for dimension region
91 parameters
92 - 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 - write support: 24 bit samples can now be written
97 - write support: version 3 is now the default for new files
98 - 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 - 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 - added method GetParent() to class 'DimensionRegion', which returns its
107 parent Region
108 - fixed Instrument::UpdateRegionKeyTable() method which did not reset
109 unused areas
110 - added various setter methods to DimensionRegion class which take care
111 of updating lookup tables / caches.
112
113 * src/RIFF.cpp, src/RIFF.h:
114 - added File::SetByteOrder method
115 - Windows fix: saving a new file didn't work
116
117 * src/gigdump.cpp:
118 - added some missing dimension strings
119
120 Version 3.1.1 (24 Mar 2007)
121
122 * packaging changes:
123 - ported to Windows using native Windows functions for file IO
124 (provided Dev-C++ + mingw project file)
125 - only export relevant files to Doxygen API documentation
126
127 * 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 - added "smart midi" and "round robin keyboard" dimensions
132 - 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 - fixed crash which occured on interfering File::DeleteSample() and
137 File::GetNextSample() calls (due to iterator invalidation)
138 - fixed group names which were not saved
139 - fixed group destructor which did not remove the RIFF chunk associated
140 with the group
141 - added Instrument::MoveRegion method
142 - fixed constructor for Region, which did not initialize correctly
143 when used from Instrument::AddRegion
144 - 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 - fixed AddDimension() method which did not fill out all mandatory
148 dimension definition fields
149
150 * src/DLS.cpp, src/DLS.h:
151 - added Instrument::MoveRegion method
152 - fixed software info field which was wrongly stored on instruments,
153 causing an exception when trying to save a new instrument
154
155 * 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 - added List::MoveSubChunk method
160
161 Version 3.1.0 (24 Nov 2006)
162
163 * packaging changes:
164 - changed deprecated copyright attribute to license;
165 added ldconfig to post-(un)install steps on libgig.spec (RPM)
166
167 * 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 - 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 - 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 - several fixes for the write support
180 - support for sample groups added
181
182 * src/DLS.cpp, src/DLS.h:
183 - support for reading of ".art" files
184 - removed incorrect use of memccpy in the write support (patch by
185 Jeremy Kerr)
186 - several fixes for the write support
187
188 * src/gigextract.cpp:
189 - real support for 24 bit samples
190
191 * src/gigdump.cpp:
192 - print global file informations
193 - print sample groups
194
195 * general changes:
196 - added CPPUnit test cases (at the moment primarily for automatic check
197 of Gigasampler write support)
198
199 Version 3.0.0 (28 Apr 2006)
200
201 * general changes:
202 - 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 - fixed some memory management errors, one of them was causing a
207 crash when a multi-file gig was deallocated
208
209 * 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 - support for the gig v3 feature to have a number of dimension
213 splits not equal to a power of two
214 - added write support (highly experimental)
215
216 * 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 * src/gigdump.cpp:
229 - fixed to show the correct amount of dimension regions instead of 32
230 (patch by James Wylder)
231
232 * src/dlsdump.cpp:
233 - show for every region the name of the referenced sample
234 - show file name in quotation marks
235
236 Version 2.0.2 (15 Aug 2005)
237
238 * packaging changes:
239 - require automake (>= 1.5) for 'make -f Makefile.cvs'
240 (mandatory for 'dist-bzip2' automake option)
241
242 * 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 - fixed the 24 bit decompression, the result should now be exact
247 instead of an approximation
248 - added VCFCutoffControllerInvert parameter and GetVelocityCutoff
249 function to DimensionRegion
250
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 Version 2.0.1 (12 Jun 2005)
259
260 * packaging changes:
261 - include debian/ directory on 'make dist'
262 - create a bzip2 tarball on 'make dist'
263
264 * src/gigextract.cpp:
265 - show also version of libsndfile or build version of libaudiofile when
266 using the -v switch
267 - fixed mutual link dependency to libsndfile / libaudiofile
268
269 * src/gig.cpp, src/gig.h:
270 - added DimensionRegion::GetVelocityRelease function
271
272 Version 2.0.0 (9 May 2005)
273
274 * packaging changes:
275 - fixed conditional linkage of either libsndfile or libaudiofile
276 (if none of the two exist, configure script will abort)
277 - man pages are now auto generated with the correct libgig version
278
279 * 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 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 - added some file format compatibility checks
286 - 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 - fixed some memory leaks (patch by 'Gene', a.k.a Anders Alm)
292 - fixed crash which occured when patches did not have a sample assigned
293 to their region or dimension region (patch by Andreas Persson)
294 - 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 - external decompression buffers can now be used for streaming samples
299 to avoid race conditions in case of multiple streaming threads
300 - added pre-calculated sample attenuation parameter
301 - added v3 "random" and "round robin" dimensions
302 - implemented progress indicator callback mechanism for loading
303 instruments and samples
304 - added functions libraryName() and libraryVersion()
305
306 * src/DLS.cpp, src/DLS.h:
307 - fixed File constructor which caused variable File::Instruments always
308 to be zero
309 - added functions libraryName() and libraryVersion()
310
311 * src/RIFF.cpp, src/RIFF.h:
312 - fixed method List::LoadSubChunks() which did not restore the original
313 position within the body of the given list chunk
314 - added functions libraryName() and libraryVersion()
315
316 * 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 * src/gigdump.cpp:
325 - added output of UnityNote, FineTune, Gain, SampleStartOffset an
326 LoopPlayCount
327 - added command line switch -v to show gigdump's revision and the used
328 libgig version
329
330 * src/gigextract.cpp:
331 - support for compressed mono samples and compressed 24 bit samples
332 - added command line switch -v to show gigextract's revision and the
333 used libgig version
334
335 Version 1.0.0 (26 Nov 2004)
336
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 - 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
345 * src/gig.cpp, src/gig.h:
346 - fixed / improved accuracy of all three velocity to volume
347 transformation functions a.k.a. 'nonlinear','linear','special'
348 (patch by Andreas Persson)
349 - denormals are filtered from the velocity to volume tables
350 - 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 - fixed panorama value in DimensionRegion (invalid conversion from
354 signed 7 bit to signed 8 bit)
355 - added class attribute 'Layers' to class 'gig::Region'
356 - symbol prototyping of gig::Region (fixes build failure with qsampler)
357
358 * src/gigextract.cpp:
359 - added support for libsndfile (if libaudiofile and libsndfile are
360 available then libsndfile is preferred)
361
362 * src/gigdump.cpp:
363 - added printout for dimension informations (amount, type, bits, zones)
364 - added printout for velocity response curve parameters
365 - added printout for crossfade definitions
366 - added printout for panorama value for each DimensionRegion
367 - replaced printout of DLS Region layer by printout of amount of
368 Gigasampler layers
369
370 Version 0.7.1 (2 Jul 2004)
371
372 * packaging changes:
373 - added libgig.spec and libgig.pc package configurations for generating
374 Redhat packages
375 - header files included on installation.
376 - autotools-generated files removed from CVS repository.
377 - added support for generating Debian packages
378 - version of shared library can be set in configure.in
379
380 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 Version 0.6.0 (3 Nov 2003)
430
431 * initial release

  ViewVC Help
Powered by ViewVC