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

Contents of /libgig/trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2120 - (show annotations) (download)
Sun Aug 29 11:10:36 2010 UTC (11 years, 2 months ago) by persson
File size: 19179 byte(s)
* bugfix: avoid calling read() with count 0 when writing a file, as
  this may hang on some systems

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

  ViewVC Help
Powered by ViewVC