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

Contents of /libgig/trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1869 - (show annotations) (download)
Sun Mar 22 11:13:25 2009 UTC (15 years ago) by persson
File size: 18577 byte(s)
* bugfix: destructor for base class RIFF::Chunk accessed members of
  derived class RIFF::File, which is bad, and caused crashes when
  using Visual C++
* bugfix: EG3 depth parameter was not saved correctly
* fixes for building with Visual C++

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

  ViewVC Help
Powered by ViewVC