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

Contents of /libgig/trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2764 - (show annotations) (download)
Wed May 13 08:36:47 2015 UTC (8 years, 10 months ago) by schoenebeck
File size: 25113 byte(s)
* unit tests: fixed wrong return value when test suite app exits
  (patch by Ryan Schmidt)

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

  ViewVC Help
Powered by ViewVC