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

Contents of /libgig/trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2698 - (show annotations) (download)
Sun Jan 11 17:47:57 2015 UTC (9 years, 2 months ago) by schoenebeck
File size: 24823 byte(s)
* Bugfix: Adding a new region in between two existing regions caused the
  new one being dropped after save operation and the gig file (or DLS file)
  being tainted (chunks were at wrong location in the RIFF tree).
* Bumped version (3.3.0.svn25).

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

  ViewVC Help
Powered by ViewVC