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

Contents of /libgig/trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2909 - (show annotations) (download)
Thu May 12 19:34:17 2016 UTC (7 years, 11 months ago) by schoenebeck
File size: 25769 byte(s)
* gig/DLS: Removed 2GB limitation when loading a gig or DLS file.
* korg2gig: Fixed fine tuning which was not translated at all.
* Bumped version (4.0.0.svn2).

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

  ViewVC Help
Powered by ViewVC