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

Contents of /libgig/trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1863 - (show annotations) (download)
Fri Mar 13 10:57:24 2009 UTC (15 years ago) by schoenebeck
File size: 18313 byte(s)
* src/RIFF.cpp :
    - bugfix: undefined behavior (e.g. endless loop) when opening zero
      length files, now throws a RIFF::Exception instead (fixes bug #121)

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

  ViewVC Help
Powered by ViewVC