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

Contents of /libgig/trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2547 - (show annotations) (download)
Tue May 13 11:17:24 2014 UTC (9 years, 10 months ago) by schoenebeck
File size: 22120 byte(s)
* Fix: don't alter region pointer in gig::DimensionRegion::CopyAssign()
  (caused crash with the new "combine instruments" feature in gigedit).
* Added new method gig::Region::GetDimensionDefinition(dimension_t type).
* Added some more sanity checks in gig::Region::AddDimension().
* Added inline helper methods overlaps() for struct DLS::range_t.
* Added more API doc comments.
* Bumped version (3.3.0.svn10).


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

  ViewVC Help
Powered by ViewVC