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

Contents of /libgig/trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2564 - (show annotations) (download)
Tue May 20 12:15:05 2014 UTC (9 years, 10 months ago) by schoenebeck
File size: 22449 byte(s)
* gig.cpp: Fixed crash caused by Region::GetDimensionRegionByValue() that
  happened with certain velocity split sounds under certain conditions
  (added bound constraints to prevent that).

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

  ViewVC Help
Powered by ViewVC