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

Contents of /libgig/trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2584 - (show annotations) (download)
Sat May 31 20:54:39 2014 UTC (9 years, 10 months ago) by schoenebeck
File size: 23288 byte(s)
* gig.h/.cpp: GIG FORMAT EXTENSION: added support for real-time
  instrument scripts.
* RIFF.h/.cpp: added 2nd alternative method for List::MoveSubChunk(),
  the old 1st one allows to move a subchunk within the current List
  whereas the new 2nd one allows to move the subchunk from the
  current list to another list.
* Bumped version (3.3.0.svn13).

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

  ViewVC Help
Powered by ViewVC