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

Contents of /libgig/trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2601 - (show annotations) (download)
Sat Jun 7 15:19:58 2014 UTC (9 years, 9 months ago) by schoenebeck
File size: 23764 byte(s)
* gig.h/.cpp: Added new method Script::GetGroup().
* Bumped version (3.3.0.svn15).

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

  ViewVC Help
Powered by ViewVC