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

Contents of /libgig/trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2685 - (show annotations) (download)
Sat Jan 3 21:44:42 2015 UTC (9 years, 2 months ago) by schoenebeck
File size: 24407 byte(s)
* RIFF: Fixed embarrassing old bug: POSIX read() errors were never detected
  on Chunk::Read() calls due to signment incompatible variable.
* Added new command line tool "gig2stereo" (and a man page for it).
* Bumped version (v3.3.0.svn23).

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

  ViewVC Help
Powered by ViewVC