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

Contents of /libgig/trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2836 - (show annotations) (download)
Sun Aug 23 05:57:18 2015 UTC (8 years, 7 months ago) by persson
File size: 25629 byte(s)
* gig: fixed bug in Script::SetGroup: the script chunk wasn't moved
* fixed compilation error with clang 3.4
* akai tools: improved output of non-ascii characters in usage messages
* fixed compile warnings

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

  ViewVC Help
Powered by ViewVC