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

Contents of /libgig/trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2675 - (show annotations) (download)
Sun Sep 14 16:07:34 2014 UTC (9 years, 6 months ago) by schoenebeck
File size: 23955 byte(s)
* RIFF.cpp, POSIX: only assume -1 result value as error on open() calls.
* RIFF.cpp, POSIX: show operating system's error reason if opening a file
  failed.
* Bumped version (3.3.0.svn21).

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

  ViewVC Help
Powered by ViewVC