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

Contents of /libgig/trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3963 - (show annotations) (download)
Sat Jun 19 12:02:19 2021 UTC (3 days, 6 hours ago) by schoenebeck
File size: 45999 byte(s)
* DLS: Added method Instrument::CountRegions().

* Bumped version (4.3.0.svn24).

1 Version SVN trunk (?)
2
3 * src/gig.cpp, src/gig.h:
4 - Region::DeleteDimensionZone(): Fix clang sanatizer warning.
5 - Region::SplitDimensionZone(): Fix clang sanatizer warning.
6 - Sample: Fix unnecessary RAM consumption in case of 24 bit samples
7 (InternalDecompressionBuffer is no longer needed for 24 bit samples since
8 SVN r902 / libgig release 3.1.0).
9 - Use GetSubChunkAt() instead of GetFirstSubChunk() / GetNextSubChunk() in
10 entire gig.cpp file.
11 - Use GetSubListAt() instead of GetFirstSubList() / GetNextSubList() in
12 entire gig.cpp file.
13 - Added method Instrument::GetRegionAt().
14 - Marked methods Instrument::GetFirstRegion() and
15 Instrument::GetNextRegion() as deprecated.
16 - Use GetRegionAt() instead of GetFirstRegion() / GetNextRegion() in entire
17 gig.cpp file.
18 - Changed signature of method File::GetSample(uint) to
19 File::GetSample(size_t,progress_t*).
20 - Marked methods File::GetFirstSample() and File::GetNextSample() as
21 deprecated.
22 - Use File::GetSample() instead of File::GetFirstSample() /
23 File::GetNextSample() in entire gig.cpp file.
24 - Added method Group::GetSample().
25 - Marked methods Group::GetFirstSample() and Group::GetNextSample() as
26 deprecated.
27 - Use Group::GetSample() instead of Group::GetFirstSample() /
28 Group::GetNextSample() in entire gig.cpp file.
29 - Changed signature of method File::GetGroup(uint) to
30 File::GetGroup(size_t).
31 - Fixed File::GetGroup(size_t) to be reentrant-safe.
32 - Marked methods GetFirstGroup() and GetNextGroup() as deprecated.
33 - Fixed GetGroup(String) to be reentrant-safe.
34 - Use GetGroup() instead of GetFirstGroup() / GetNextGroup() in entire
35 gig.cpp file.
36 - Changed signature of method File::GetInstrument(uint,progress_t*) to
37 File::GetInstrument(size_t,progress_t*).
38 - Fixed File::GetInstrument(size_t,progress_t*) to be reentrant-safe.
39 - Marked methods File::GetFirstInstrument() and File::GetNextInstrument()
40 as deprecated.
41 - Use File::GetInstrument() instead of File::GetFirstInstrument() /
42 File::GetNextInstrument() in entire gig.cpp file.
43 - Optimized method ScriptGroup::GetScript() to have constant time
44 efficiency.
45 - Changed signature of method File::GetScriptGroup(uint) to
46 File::GetScriptGroup(size_t).
47 - Optimized method File::GetScriptGroup(size_t) to have constant time
48 efficiency.
49 - Changed signature of method ScriptGroup::GetScript(uint) to
50 ScriptGroup::GetScript(size_t).
51 - Changed signature of method Instrument::GetScriptOfSlot(uint) to
52 Instrument::GetScriptOfSlot(size_t).
53 - Changed signature of method Instrument::SwapScriptSlots(uint,uint) to
54 Instrument::SwapScriptSlots(size_t,size_t).
55 - Changed signature of method Instrument::RemoveScriptSlot(uint) to
56 Instrument::RemoveScriptSlot(size_t).
57 - Changed signature of method Instrument::ScriptSlotCount() to return
58 size_t instead of uint.
59 - Changed signature of method Instrument::IsScriptSlotBypassed(uint) to
60 Instrument::IsScriptSlotBypassed(size_t).
61 - Changed signature of method Instrument::SetScriptSlotBypassed(uint,bool)
62 to Instrument::SetScriptSlotBypassed(size_t,bool).
63 - Changed signature of method
64 Instrument::IsScriptPatchVariableSet(int,String) to
65 Instrument::IsScriptPatchVariableSet(size_t,String).
66 - Changed signature of method Instrument::GetScriptPatchVariables(int) to
67 Instrument::GetScriptPatchVariables(size_t).
68 - Changed signature of method
69 Instrument::GetScriptPatchVariable(int,String) to
70 Instrument::GetScriptPatchVariable(size_t,String).
71 - Changed signature of method
72 Instrument::SetScriptPatchVariable(int,String,String) to
73 Instrument::SetScriptPatchVariable(size_t,String,String).
74 - Changed signature of method
75 Instrument::UnsetScriptPatchVariable(int,String) to
76 Instrument::UnsetScriptPatchVariable(ssize_t,String).
77
78 * src/SF.cpp, src/SF.h:
79 - File::DeleteInstrument(): Fix clang sanatizer warning.
80
81 * src/DLS.cpp, src/DLS.h:
82 - Use GetSubChunkAt() instead of GetFirstSubChunk() / GetNextSubChunk() in
83 entire DLS.cpp file.
84 - Use GetSubListAt() instead of GetFirstSubList() / GetNextSubList() in
85 entire DLS.cpp file.
86 - Added method Instrument::GetRegionAt().
87 - Marked methods Instrument::GetFirstRegion() and
88 Instrument::GetNextRegion() as deprecated.
89 - Use GetRegionAt() instead of GetFirstRegion() / GetNextRegion() in entire
90 DLS.cpp file.
91 - Added method File::GetSample().
92 - Marked methods File::GetFirstSample() and File::GetNextSample() as
93 deprecated.
94 - Use File::GetSample() instead of File::GetFirstSample() /
95 File::GetNextSample() in entire DLS.cpp file.
96 - Added method Articulator::GetArticulation().
97 - Marked methods Articulator::GetFirstArticulation() and
98 Articulator::GetNextArticulation() as deprecated.
99 - Added method File::GetInstrument().
100 - Marked methods File::GetFirstInstrument() and File::GetNextInstrument()
101 as deprecated.
102 - Added method Instrument::CountRegions().
103
104 * src/RIFF.cpp, src/RIFF.h:
105 - Chunk::LoadChunkData(): Fix clang sanatizer warning.
106 - List::LoadSubChunks(): Fix potential garbage data access if reading a
107 RIFF chunk ID failed.
108 - Added methods File::IsIOPerThread() and File::SetIOPerThread(bool); the
109 latter allows to automatically use a separate file I/O stream state for
110 each thread.
111 - Added method List::GetSubChunkAt().
112 - Added method List::GetSubListAt().
113 - Marked methods List::GetFirstSubChunk(), List::GetNextSubChunk(),
114 List::GetFirstSubList() and List::GetNextSubList() as deprecated.
115 - Use GetSubListAt() instead of GetFirstSubList() / GetNextSubList() in
116 entire RIFF.cpp file.
117
118 Version 4.3.0 (9 May 2021)
119
120 * general changes:
121 - Require at least a C++11 compliant compiler.
122 - Require some UUID generating function by underlying system.
123
124 * src/gig.cpp, src/gig.h:
125 - GIG FORMAT EXTENSION: Added attributes DimensionRegion::LFO1WaveForm,
126 DimensionRegion::LFO2WaveForm and DimensionRegion::LFO3WaveForm, which
127 allow to define override LFOs' wave form (e.g. saw or square instead of
128 the default wave form which was always sine in the original
129 Gigasampler/GigaStudio software).
130 - GIG FORMAT EXTENSION: Added attributes DimensionRegion::LFO1Phase,
131 DimensionRegion::LFO2Phase and DimensionRegion::LFO3Phase, which allow to
132 move the start point horizontally of the LFOs' waves (0�� ... 360��).
133 - GIG FORMAT EXTENSION: Added attribute DimensionRegion::LFO3FlipPhase
134 (the original Gigasampler/GigaStudio software only had that flip phase
135 option for LFO1 and LFO2).
136 - Added methods DimensionRegion::UsesAnyGigFormatExtension(),
137 Region::UsesAnyGigFormatExtension(),
138 Instrument::UsesAnyGigFormatExtension() and
139 File::UsesAnyGigFormatExtension() (however only as private methods yet,
140 see comments on methods why).
141 - GIG FORMAT EXTENSION: added LinuxSampler specific filter type
142 implementations to enum vcf_type_t: vcf_type_lowpass_1p,
143 vcf_type_lowpass_2p, vcf_type_lowpass_4p, vcf_type_lowpass_6p,
144 vcf_type_highpass_1p, vcf_type_highpass_2p, vcf_type_highpass_4p,
145 vcf_type_highpass_6p, vcf_type_bandpass_2p, vcf_type_bandreject_2p.
146 - Compatibility fix: GigaStudio always expects 128 '3gnm' RIFF chunks
147 (patch by Ivan Maguidhir).
148 - Compatibility fix: GigaStudio 3 expects '3dnm' and '3ddp' RIFF chunks
149 (original patch by Ivan Maguidhir).
150 - Region::DeleteDimensionZone() and Region::SplitDimensionZone(): Fixed
151 dimensions being in different order after deleting a dimension zone.
152 - Script: Generate a persistent UUID for each script.
153 - GIG FORMAT EXTENSION: Added support for script 'patch' variables and
154 accordingly added new methods to Instrument class:
155 IsScriptPatchVariableSet(), GetScriptPatchVariables(),
156 GetScriptPatchVariable(), SetScriptPatchVariable(),
157 UnsetScriptPatchVariable(); stored persistently as new 'SCPV' RIFF chunk
158 as child of our '3LS ' list chunk on Instrument level.
159 - Fixed undefined behaviour when modifying script slots on an instrument
160 that had been cloned and not been saved yet (e.g. unintended modification
161 of original instrument's script slots, and crash on Instrument destruction
162 due to double free of pScriptRefs).
163
164 * src/Serialization.cpp, src/Serialization.h:
165 - Fixed broken Archive(RawData) constructor which always threw an
166 Exception.
167 - Added built-in support for C++ String objects (a.k.a. std::string
168 from the STL) and bumped Srx format version to 1.1 for that reason.
169 - Fixed assertion fault on some systems if a member variable defined was
170 serialized which was declared as size_t or ssize_t data type.
171 - Added new method Archive::operation() which allows applications to
172 distinguish between serialization vs. deserialization in their
173 serialize() method implementations.
174 - Added built-in support for C++ Array<> objects (a.k.a. std::vector from
175 the STL).
176 - Member offsets are now signed and for (newly added support of) member
177 variables on the heap -1 is always used as offset instead.
178 - Added built-in support for C++ Set<> objects (a.k.a. std::set from the
179 STL).
180 - DataType: Added optional 2nd custom type name.
181 - Added built-in support for C++ Map<> objects (a.k.a. std::map from the
182 STL).
183
184 * src/helper.h:
185 - Fix compile error with GCC 9 due to ignored result value of vasprintf()
186 function call.
187
188 * src/tools/gigdump.cpp:
189 - Print dimension region properties LFO1WaveForm, LFO2WaveForm,
190 LFO3WaveForm, LFO1Phase, LFO2Phase, LFO3Phase, LFO1FlipPhase,
191 LFO2FlipPhase and LFO3FlipPhase.
192
193 Version 4.2.0 (25 Jul 2019)
194
195 * general changes:
196 - Added MSVC build support (anonymous patch from mailing list).
197 - Introduced CMake build support (yet constrained for building with MSVC)
198 (anonymous patch from mailing list).
199 - Fix: Don't automatically delete RIFF chunks from DLS/gig classes'
200 destructors. Added new virtual method DeleteChunks() to those classes
201 for this which must be explicitly called instead to remove their RIFF
202 chunks.
203 - Fix: Many methods of DLS/gig classes assumed a RIFF chunk read position
204 of zero; which is unsafe per se.
205 - Added C++11 "override" keyword where appropriate.
206 - Fixed crash in RIFF, DLS and gig classes which occurred on certain
207 of their actions when not passing a progress_t callback structure.
208
209 * src/gig.cpp, src/gig.h:
210 - Fixed Doxygen API comments for enum types (currently latest Doxygen
211 [v1.8.13] only supports C comments in macro arguments expansion, but
212 not C++ comments; see <FindDefineArgs> lexer rules in src/pre.l of
213 the Doxygen source code, which currently also filter out new line
214 \n chars).
215 - Added new method File::CountSamples().
216 - Added new method File::CountInstruments().
217 - Fixed gig v4 files falsely being handled as v2 format
218 (patch by Ivan Maguidhir).
219 - Added gig v4 version identifier (File::VERSION_4).
220 - GIG FORMAT EXTENSION: Added attribute
221 DimensionRegion::SustainReleaseTrigger which allows to define whether
222 a sustain pedal up event shall cause a release trigger sample to be
223 played (default: don't play release trigger sample by sustain pedal).
224 - GIG FORMAT EXTENSION: Added attribute
225 DimensionRegion::NoNoteOffReleaseTrigger which allows to disable the
226 regular behaviour of playing release trigger sample on MIDI note-off
227 events.
228 - Introduced support for writing extension files (.gx01, .gx02, ...)
229 (original patch by Ivan Maguidhir).
230 - Many gig classes derive now from DLS::Storage (see DLS changes below).
231 - Added File::GetRiffFile() method.
232
233 * src/DLS.cpp, src/DLS.h:
234 - File: Fixed implicitly allocated RIFF::File object never been freed.
235 - Added new abstract interface base class DLS::Storage which is derived by
236 the respective classes for implementing (the old) UpdateChunks() and the
237 new DeleteChunks() method.
238 - Added File::GetRiffFile() method.
239
240 * src/sf2.cpp, src/sf2.h:
241 - Added Sample::GetFile() method.
242 - Added File::GetRiffFile() method.
243
244 * src/Serialization.cpp, src/Serialization.h:
245 - Hide pure internal declarations from header file to avoid numerous
246 compiler warnings when building and linking against the public API.
247 - Fixed comparision logic bug
248 - Fixed memory leak in DataType::customTypeName().
249
250 * src/RIFF.cpp, src/RIFF.h:
251 - Fix: Calling File::SetMode() left an undefined file handle on Windows and
252 caused a resource leak
253 - Avoid compiler warning when building for 32 bit windows.
254 - Added new method progress_t::subdivide().
255 - Fix: API doc comment for Chunk::GetFilePos() was completely wrong.
256 - progress_t: Added a 2nd (overridden) progress_t::subdivide() method which
257 allows a more fine graded control into which portions the subtasks are
258 divided to.
259
260 * src/tools/gigdump.cpp:
261 - Added command line option --instrument-names which causes only
262 instrument names and their index numbers to be printed.
263
264 Version 4.1.0 (25 Nov 2017)
265 * general changes:
266 - removed 2 GB limitation when loading a gig or DLS file
267 - using now native integer size where appropriate
268 - fixed minor issues with man pages (patch by Debian maintainer)
269 - fixed various spelling mistakes (patch by Debian maintainer)
270 - Added new "Serialization" framework (and equally named namespace)
271 which allows to serialize and deserialize native C++ objects
272 in a portable, easy and flexible way.
273 - print compiler warning if no RTTI available
274 - Fixed potential crash in command line tools gig2stereo, korg2gig,
275 korgdump and sf2extract.
276 - Fixed CVE-2017-12950, CVE-2017-12952, CVE-2017-12953
277 (original patch by Paul Brossier, slightly modified).
278 - Debian: Fixed packaging error about invalid substitution variable
279 "Source-Version".
280 - Raised Debian compatibility level to Debian 9 "Stretch".
281
282 * src/gig.cpp, src/gig.h:
283 - fixed bug in Script::SetGroup: the script chunk wasn't moved
284 - fixed compilation error with clang 3.4
285 - GIG FORMAT EXTENSION: added support for saving gig file larger than 4 GB
286 as one single monolithic gig file. In case .gig file is >= 2GB expect a
287 large monolithic file, otherwise if .gig file is < 2 GB check for
288 "extension" files (.gx01, .gx02, ...) instead.
289 - fixed Region::UpdateUpdateVelocityTable() which did not work correctly
290 if there were dimensions after the velocity dimension: it only created
291 valid velocity tables for cases of dimensions lower than the velocity
292 dimension.
293 - added new method Sample::VerifyWaveData() which allows to check whether
294 a sample had been damaged for some reason
295 - Fix: samples' CRC checksums were damaged on file structure changes.
296 - Fix: samples' CRC checksums were misordered when a Sample was deleted.
297 - Added new method Sample::GetWaveDataCRC32Checksum().
298 - Changed default value of EG2Release (filter release time) to 60s.
299 - Instruments' default pitch bend range is now +-2 semi tones.
300 - Fixed CRC checksums being wrong sometimes.
301 - Fix: method File::AddContentOf() did not clone script groups and scripts
302 of passed original file.
303 - Added support for serializing & deserializing DimensionRegion
304 objects (and crossfade_t and leverage_ctrl_t objects).
305 - Added enum reflection API functions for retrieving enum declaration type
306 information at runtime (enumCount(), enumKey(), enumKeys(), enumValue()).
307 - Exception class now has a variadic constructor which allows to add
308 textual format specifiers like with printf().
309 - On unknown leverage controller exception: show precise unknown leverage
310 controller number found.
311 - Ignore invalid leverage controller types and just show a warning on the
312 console instead of throwing an exception.
313 - Added new struct eg_opt_t and new class member variable
314 DimensionRegion::EG1Options and DimensionRegion::EG2Options as an
315 extension to the gig file format, which allows to override the default
316 behavior of the first two EGs' state machines.
317 - Fixed undefined behavior when loading a gig file with invalid
318 velocity curve parameters (fixes CVE-2017-12951).
319 - Fixed undefined behavior when loading a gig file with invalid wave
320 pool index number (fixes CVE-2017-12954).
321
322 * src/DLS.cpp, src/DLS.h:
323 - Sample: wave pool offsets are now 64 bits (to allow support for files
324 larger than 4 GB).
325 - Exception class now has a variadic constructor which allows to add
326 textual format specifiers like with printf().
327
328 * src/RIFF.cpp, src/RIFF.h:
329 - added support for RIFF files larger than 4 GB, by default the required
330 internal RIFF file offset size is automatically detected (that is RIFF
331 files < 4 GB automatically use 32 bit offsets while files >= 4 GB
332 automatically use 64 bit offsets), a particular offset size can be forced
333 with a new option added to the RIFF File constructor though
334 - when saving a modified, grown RIFF file, the temporary file size during
335 Save() operation will no longer be larger than the final grown file size
336 - Exception class now has a variadic constructor which allows to add
337 textual format specifiers like with printf().
338
339 * src/Serialization.cpp, src/Serialization.h:
340 - Archive: Added method isModified().
341 - Archive: Added method setAutoValue().
342 - Archive: Added method setIntValue().
343 - Archive: Added method setRealValue().
344 - Archive: Added method setBoolValue().
345 - Archive: Added method setEnumValue().
346 - Archive: Added method valueAsString().
347 - Archive::rawData(): Automatically re-encode new raw data stream if
348 archive had been modified (i.e. by remove(), setAutoValue(), etc.).
349 - Object: Added method memberByUID().
350 - Object: remove() method is now protected.
351 - Archive: Added method removeMember().
352 - Archive: Added methods name() and setName().
353 - Archive: Added methods comment() and setComment().
354 - Archive: Added methods timeStampCreated(), timeStampModified(),
355 dateTimeCreated() and dateTimeModified().
356 - Archive: Added methods valueAsInt(), valueAsReal() and valueAsBool().
357 - DataType: Implemented demangling C++ type names (for methods
358 asLongDescr() and customTypeName(bool demangle=false)).
359 - Archive::setAutoValue(): Handle human readable boolean text
360 representations like "yes", "no", "true", "false" as expected.
361 - Exception class now has a variadic constructor which allows to add
362 textual format specifiers like with printf().
363 - DataType fix: Retain backward compatibility to older versions of native
364 C++ classes/structs.
365
366 * src/Akai.cpp:
367 - Fixed compilation error with recent, more strict compilers.
368
369 * src/tools/akaidump.cpp, src/tools/akaiextract.cpp:
370 - improved output of non-ascii characters in usage messages
371 - fixed printf format strings
372
373 * src/tools/korg2gig.cpp:
374 - fixed c++11 narrowing warnings
375 - fixed fine tuning which was not translated at all
376
377 * src/tools/gigdump.cpp:
378 - additionally print VelocityUpperLimit and DimensionUpperLimits of all
379 dimension regions
380 - additionally print RIFF chunk file offset and RIFF chunk size of sample
381 data
382 - added and implemented new parameter "--verify" which allows to check
383 the raw wave form data integrity of all samples
384 - added and implemented new parameter "--rebuild-checksums" which allows
385 to recalculate the CRC32 checksum of all samples' raw wave data and
386 rebuilding the gig file's global checksum table (i.e. in case the
387 file's checksum table was damaged)
388 - print samples' CRC32 checksums
389 - Print the new EG behavior options (eg_opt_t).
390
391 * src/tools/gigextract.cpp:
392 - Fix: if sample name contains a path separator (slash or backslash) then
393 replace them by a minus sign to avoid file system issues.
394
395 * src/tools/gig2stereo.cpp:
396 - Also merge mono sample pairs with non matching loop information if
397 argument --incompatible was given.
398
399 * packaging changes:
400 - Automake: set environment variable GCC_COLORS=auto to allow GCC to
401 auto detect whether it (sh/c)ould output its messages in color.
402
403 Version 4.0.0 (14 Jul 2015)
404 * general changes:
405 - minor Makefile fix for parallel make
406 - Mac OS X: link with CoreFoundation (for the UUID function)
407 - removed gcc 4.7 warnings
408 - modernized configure script
409 - removed usage of deprecated Automake variable INCLUDES
410 - added new command line tool "gigmerge"
411 - added "const" keyword to several methods
412 - added new command line tool "gig2mono"
413 - added man page for "sf2dump"
414 - added new command line tool "korgdump" (and a man page for it)
415 - added new command line tool "korg2gig" (and a man page for it)
416 - moved source files of command line tools to new subdir src/tools
417 - libgig.so and libakai.so files are now installed under
418 $(prefix)/lib/libgig/ by default.
419 - Header files are now installed under $(prefix)/include/libgig/ by default.
420 - Fixed various packaging issues regarding installation directories
421 (fixes #218).
422 - added new command line tool "gig2stereo" (and a man page for it)
423 - unit tests: fixed wrong return value when test suite app exits
424 (patch by Ryan Schmidt)
425 - added new command line tool "sf2extract" (and a man page for it)
426
427 * SoundFont file format:
428 - initial implementation
429 - changed region lookup API to avoid malloc in RT threads
430 - fixed GetEG1Sustain which didn't return correct value
431 - bugfix: GetPan always returned -1, 0 or 1
432
433 * KORG file format:
434 - initial support for sample based instruments in KORG's file format
435 (.KMP and .KSF files)
436
437 * AKAI file format:
438 - Added Linux/POSIX ported version of libakai. Note that libakai is released
439 under LGPL terms while libgig is released under GPL terms. To handle this
440 license difference appropriately the AKAI support part is built as
441 separate DLL (.so file).
442 - Fixed Mac OSX support so that the Akai lib files and tools compile without
443 any exotic third party libraries.
444 - Fixed various compilation errors for Windows.
445 - POSIX fix: open() requires third (mode) argument if used with O_CREAT
446 (fixes #219).
447
448 * src/gig.cpp:
449 - bugfix: VCF velocity dynamic range and VCF velocity curve
450 weren't saved correctly
451 - implemented File::AddDuplicateInstrument()
452 - bugfix: negative EG3 depth values were not correctly parsed or
453 saved
454 - added write support for CtrlTrigger midi rule
455 - added read and write support for Legato and Alternator midi
456 rules
457 - bugfix: sample groups were sometimes created multiple times or with
458 wrong textual group name
459 - added new method File::AddContentOf() for merging .gig files
460 - GIG FORMAT EXTENSION: added additional MIDI controllers for leverage
461 controller types (only works with LinuxSampler & gigedit, will not
462 work with Gigasampler/GigaStudio)
463 - added new method File::GetGroup(String name) for getting group by name
464 - added new method Region::GetDimensionDefinition(dimension_t type)
465 - bugfix: don't alter region pointer in DimensionRegion::CopyAssign()
466 - added some more sanity checks in Region::AddDimension()
467 - added new method Region::DeleteDimensionZone(dimension_t, int)
468 - added new method Region::SplitDimensionZone(dimension_t, int)
469 - Fixed crash caused by Region::GetDimensionRegionByValue() that happened
470 with certain velocity split sounds under certain conditions (added bound
471 constraints to prevent that)
472 - GIG FORMAT EXTENSION: added support for real-time instrument scripts.
473 - added new method Region::GetDimensionRegionIndexByValue()
474 - added new method Script::GetGroup()
475 - added new method Region::SetDimensionType()
476 - Added support for custom progress notification while saving to gig file.
477 - Bugfix: Adding a new region in between two existing regions caused the
478 new one being dropped after save operation and the gig file being tainted
479 (chunks at wrong location in the RIFF tree).
480 - Added new method Instrument::MoveTo() which allows to rearrange the order
481 of instruments within the same gig file.
482
483 * src/DLS.cpp, src/DLS.h:
484 - added new method File::GetFileName()
485 - fixed minor "memory leak on exception" bug found with cppcheck
486 - added new method File::GetExtensionFile(int index)
487 - added new method File::SetFileName() allowing to call File::Save()
488 later on without passing a file name
489 - added inline helper methods overlaps() for struct range_t
490 - Added support for custom progress notification while saving to DLS file.
491 - Bugfix: Adding a new region in between two existing regions caused the
492 new one being dropped after save operation and the gig file being tainted
493 (chunks at wrong location in the RIFF tree).
494
495 * src/SF.cpp, src/SF.h:
496 - added new method Sample::ReadNoClear()
497
498 * src/RIFF.cpp, src/RIFF.h:
499 - bugfix: avoid calling read() with count 0 when writing a file,
500 as this may hang on some systems
501 - fixed memory leak and memory handling errors when file loading
502 fails
503 - added new method Chunk::ReadString
504 - added new method File::SetFileName() allowing to call File::Save()
505 later on without passing a file name
506 - added new method File::IsNew()
507 - added support for loading RIFF-like files with a bit different layout
508 than "real" RIFF files (used for KORG format support)
509 - added new method Chunk::GetFile()
510 - added new method Chunk::GetLayout()
511 - added 2nd, alternative method for List::MoveSubChunk(), the old 1st one
512 allows to move a subchunk within the current List, whereas the new 2nd
513 one allows to move the subchunk from the current list to another list
514 - POSIX: only assume -1 result value as error on open() calls
515 - POSIX: show operating system's error reason if opening a file failed
516 - Added support for custom progress notification while saving to RIFF file.
517 - Fixed embarrassing old bug: POSIX read() errors were never detected on
518 Chunk::Read() calls due to signment incompatible variable.
519 - Cleanup of an old DLL binary backward compatibility hack.
520
521 * src/gigextract.cpp:
522 - export sample loop, unity note and fine tune with libsndfile
523
524 * src/riftree.cpp:
525 - added more command line options for being able to also dump other kind
526 of file formats similar but not equal to the RIFF format
527
528 Version 3.3.0 (30 Jul 2009)
529
530 * general changes:
531 - fixed compilation with gcc 4.3
532 - fixes for building with Visual C++
533 - minor fix in configure for building DLL on Windows
534
535 * src/gig.cpp, src/gig.h:
536 - added partial support for MIDI rules, only the Controller
537 Triggered rule is supported so far
538 - bugfix: removed another iterator invalidation in DeleteSample
539 - bugfix in Sample::LoadSampleData*(): reset sample read position to
540 sample start before trying to (re)load sample data from file (#82)
541 - bugfix: EG3 depth parameter was not saved correctly
542 - fixed crash which occured when streaming a gig sample with
543 bi-directional (a.k.a. 'pingpong') loop type (fixes #102)
544
545 * src/RIFF.cpp, src/RIFF.h:
546 - bugfix: saving to the same file after the file size had been
547 increased made the file corrupt (#82)
548 - bugfix: refuse Chunk::Read() in case chunk has just been added, that
549 is not written physically yet (#82)
550 - bugfix: saving to the same file after the file size had been
551 decreased sometimes also made the file corrupt!
552 - bugfix: undefined behavior (e.g. endless loop) when opening zero
553 length files, now throws a RIFF::Exception instead (fixes bug #121)
554 - bugfix: destructor for base class RIFF::Chunk accessed members
555 of derived class RIFF::File, which is bad, and caused crashes
556 when using Visual C++
557 - bugfix: files that contain zero length RIFF lists were not read
558 correctly (fixes #127) (bug was introduced 2009-03-13)
559
560 Version 3.2.1 (5 Dec 2007)
561
562 * src/RIFF.cpp, src/RIFF.h:
563 - avoid Windows to perform unnecessary file stream caching which would
564 decrease disk streaming performance on Windows systems otherwise
565
566 * src/gig.cpp, src/gig.h:
567 - added File::SetAutoLoad() and File::GetAutoLoad() for allowing
568 applications to retrieve very superficial informations like amount of
569 instruments and their names in a very fast way
570
571 Version 3.2.0 (14 Oct 2007)
572
573 * packaging changes:
574 - added Mac OSX XCode project files (patch by Toshi Nagata)
575 - Dev-C++ (win32) project file is automatically updated with
576 the version info from configure.in
577 - the configure script can now be used in Windows with MSYS
578 - added a mainpage for the Doxygen API documentation
579
580 * src/DLS.cpp, src/DLS.h:
581 - added Sampler::AddSampleLoop() and Sampler::DeleteSampleLoop() methods
582 - fixed write support for big-endian systems
583 - improved handling of fixed length info strings - separate default
584 lengths can be specified for each INFO chunk
585 - added Resource::GenerateDLSID function
586 - write support fix: allow regions without mapped samples
587 - added method SetKeyRange() to the Region class which should be used
588 instead of setting the KeyRange member variable directly
589 - MoveRegion() method of Region class is now private
590 - added SetGain() method to Sampler class
591 - fixed crash when saving a file after a sample loop was added
592
593 * src/gig.cpp, src/gig.h:
594 - fixed segmentation fault in the gig::File destructor sequence which
595 happened when gig::Group informations were accessed before
596 - fixed write support for big-endian systems
597 - defined lengths of a fixed set of info strings. These strings
598 are saved when the file is written, even if they are empty.
599 - added missing parameter initalizations in sample, region and
600 instrument constructors
601 - clear unused fields when saving samples and regions
602 - fixed write support bugs: v3 dimension limits and chunksize
603 weren't saved, leverage controller of type controlchange
604 couldn't be saved, group name list chunk was placed wrong,
605 dimension region chunks also placed wrong
606 - added initialization of some fixed info strings in file and
607 instrument
608 - write support: files created by libgig will now have the RIFF
609 chunks in correct order
610 - write support: two previously unknown fields in dimension
611 definition are now saved
612 - added constants for gig file versions
613 - write support: the 3crc and einf chunks are now created or
614 updated when a file is saved (3crc contains sample checksums,
615 einf contains file statistics)
616 - write support: DLSID is now generated on the file and the
617 instruments
618 - write support: improved the default values for dimension region
619 parameters
620 - more write support fixes: crossfade parameters were not saved,
621 v3 dimension limits were not correctly initialized and saved
622 when dimensions were added or deleted, v3 wave pool offsets were
623 not saved correctly
624 - write support: 24 bit samples can now be written
625 - write support: version 3 is now the default for new files
626 - more write support fixes: the 3ewg chunk is now bigger for v3,
627 dimension regions without mapped samples are now allowed, 3gnl
628 list in v3 files now always has 128 entries, several parameters
629 where incorrectly saved due to an operator precedence mistake
630 - DeleteSample now removes all references to the deleted sample
631 - AddDimension now copies all parameters from existing dimension
632 regions and also makes sure that the samplechannel dimension is
633 placed first in the list of dimensions.
634 - added method GetParent() to class 'DimensionRegion', which returns its
635 parent Region
636 - fixed Instrument::UpdateRegionKeyTable() method which did not reset
637 unused areas
638 - added various setter methods to DimensionRegion class which take care
639 of updating lookup tables / caches.
640
641 * src/RIFF.cpp, src/RIFF.h:
642 - added File::SetByteOrder method
643 - Windows fix: saving a new file didn't work
644
645 * src/gigdump.cpp:
646 - added some missing dimension strings
647
648 Version 3.1.1 (24 Mar 2007)
649
650 * packaging changes:
651 - ported to Windows using native Windows functions for file IO
652 (provided Dev-C++ + mingw project file)
653 - only export relevant files to Doxygen API documentation
654
655 * src/gig.cpp, src/gig.h:
656 - custom velocity splits now works for gig v3 files too
657 - added support for custom splits points for other dimensions than
658 velocity (gig v3 feature)
659 - added "smart midi" and "round robin keyboard" dimensions
660 - added new method File::DeleteGroupOnly() which only deletes the given
661 group but moves all its members to another group, the other method,
662 that is File::DeleteGroup() now removes not just the group, but also
663 all the samples that belong to that group
664 - fixed crash which occured on interfering File::DeleteSample() and
665 File::GetNextSample() calls (due to iterator invalidation)
666 - fixed group names which were not saved
667 - fixed group destructor which did not remove the RIFF chunk associated
668 with the group
669 - added Instrument::MoveRegion method
670 - fixed constructor for Region, which did not initialize correctly
671 when used from Instrument::AddRegion
672 - when saving, override the gig::Regions sample reference simply by
673 the region's first dimension region's sample (avoids an exception
674 when trying to save a new instrument)
675 - fixed AddDimension() method which did not fill out all mandatory
676 dimension definition fields
677
678 * src/DLS.cpp, src/DLS.h:
679 - added Instrument::MoveRegion method
680 - fixed software info field which was wrongly stored on instruments,
681 causing an exception when trying to save a new instrument
682
683 * src/RIFF.cpp, src/RIFF.h:
684 - fixed RIFF::Chunk destructor which did not unregister previously
685 resized chunks, leading to a "zero size chunk" exception when
686 File::Save() was called
687 - added List::MoveSubChunk method
688
689 Version 3.1.0 (24 Nov 2006)
690
691 * packaging changes:
692 - changed deprecated copyright attribute to license;
693 added ldconfig to post-(un)install steps on libgig.spec (RPM)
694
695 * src/gig.cpp, src/gig.h:
696 - added support for more than one set of custom velocity splits
697 inside a region (for example different velocity split levels for
698 pedal up and pedal down)
699 - sample loop parameters are now taken from the DimensionRegion
700 instead of the wave chunk
701 - keyswitching dimension is changed from split type "normal" to
702 "bit"
703 - real support for 24 bit samples - samples are not truncated to
704 16 bits anymore
705 - support for reading of ".art" files. (Merging of .art and .gig
706 files are not implemented yet.)
707 - several fixes for the write support
708 - support for sample groups added
709
710 * src/DLS.cpp, src/DLS.h:
711 - support for reading of ".art" files
712 - removed incorrect use of memccpy in the write support (patch by
713 Jeremy Kerr)
714 - several fixes for the write support
715
716 * src/gigextract.cpp:
717 - real support for 24 bit samples
718
719 * src/gigdump.cpp:
720 - print global file informations
721 - print sample groups
722
723 * general changes:
724 - added CPPUnit test cases (at the moment primarily for automatic check
725 of Gigasampler write support)
726
727 Version 3.0.0 (28 Apr 2006)
728
729 * general changes:
730 - added write support (that is for creating and modifying RIFF, DLS and
731 gig files)
732 - loading DLS and gig files is now much more permissive, DLS and gig
733 files are now loaded even if mandatory RIFF chunks are missing
734 - fixed some memory management errors, one of them was causing a
735 crash when a multi-file gig was deallocated
736
737 * src/gig.cpp, src/gig.h:
738 - fixed the GetVelocityCutoff function, it wasn't always using the
739 VCFVelocityScale parameter when no cutoff controller was defined
740 - support for the gig v3 feature to have a number of dimension
741 splits not equal to a power of two
742 - added write support (highly experimental)
743
744 * src/DLS.cpp, src/DLS.h:
745 - fixed loading of Articulation Connections (<artl> list chunks were
746 seeked instead of ordinary <artl> data chunks)
747 - added write support (highly experimental)
748
749 * src/RIFF.cpp, src/RIFF.h:
750 - added write support
751 - Chunk::LoadChunkData() can now be called again to resize the buffer
752 after a Chunk::Resize() and before the File::Save() call to allow
753 placing the new data in the chunk's write buffer and perform the
754 resize and write operations in one rush
755
756 * src/gigdump.cpp:
757 - fixed to show the correct amount of dimension regions instead of 32
758 (patch by James Wylder)
759
760 * src/dlsdump.cpp:
761 - show for every region the name of the referenced sample
762 - show file name in quotation marks
763
764 Version 2.0.2 (15 Aug 2005)
765
766 * packaging changes:
767 - require automake (>= 1.5) for 'make -f Makefile.cvs'
768 (mandatory for 'dist-bzip2' automake option)
769
770 * src/gig.cpp, src/gig.h:
771 - support for gig v3 multi-file format (.gig, .gx01, .gx02, ...),
772 the extension files are read automatically when the samples are
773 loaded
774 - fixed the 24 bit decompression, the result should now be exact
775 instead of an approximation
776 - added VCFCutoffControllerInvert parameter and GetVelocityCutoff
777 function to DimensionRegion
778
779 * src/DLS.cpp, src/DLS.h:
780 - the upper bits of the pool table indices are read (used as
781 extension file numbers for gig v3)
782
783 * src/RIFF.cpp, src/RIFF.h:
784 - the file name is remembered in the RIFF::File object
785
786 Version 2.0.1 (12 Jun 2005)
787
788 * packaging changes:
789 - include debian/ directory on 'make dist'
790 - create a bzip2 tarball on 'make dist'
791
792 * src/gigextract.cpp:
793 - show also version of libsndfile or build version of libaudiofile when
794 using the -v switch
795 - fixed mutual link dependency to libsndfile / libaudiofile
796
797 * src/gig.cpp, src/gig.h:
798 - added DimensionRegion::GetVelocityRelease function
799
800 Version 2.0.0 (9 May 2005)
801
802 * packaging changes:
803 - fixed conditional linkage of either libsndfile or libaudiofile
804 (if none of the two exist, configure script will abort)
805 - man pages are now auto generated with the correct libgig version
806
807 * src/gig.cpp, src/gig.h:
808 - experimental support for Gigasampler v3 format;
809 64 bit file offsets are truncated to 32 bit, 24 bit samples are
810 truncated to 16 bit, up to 8 dimensions are read, additional
811 articulation informations are ignored at the moment
812 (patch by Andreas Persson)
813 - added some file format compatibility checks
814 - fixed vcf_type_lowpassturbo value (vcf_type_lowpassturbo was actually
815 never used, because the necessary check was made before
816 initialization)
817 - fixed crossfade points order (structure for big endian and little
818 endian systems was interchanged)
819 - fixed some memory leaks (patch by 'Gene', a.k.a Anders Alm)
820 - fixed crash which occured when patches did not have a sample assigned
821 to their region or dimension region (patch by Andreas Persson)
822 - support for compressed mono samples
823 - experimental support for compressed 24 bit samples
824 - fixed decompression on big-endian CPUs
825 - fixed decompression bug that truncated the last block of samples
826 - external decompression buffers can now be used for streaming samples
827 to avoid race conditions in case of multiple streaming threads
828 - added pre-calculated sample attenuation parameter
829 - added v3 "random" and "round robin" dimensions
830 - implemented progress indicator callback mechanism for loading
831 instruments and samples
832 - added functions libraryName() and libraryVersion()
833
834 * src/DLS.cpp, src/DLS.h:
835 - fixed File constructor which caused variable File::Instruments always
836 to be zero
837 - added functions libraryName() and libraryVersion()
838
839 * src/RIFF.cpp, src/RIFF.h:
840 - fixed method List::LoadSubChunks() which did not restore the original
841 position within the body of the given list chunk
842 - added functions libraryName() and libraryVersion()
843
844 * src/rifftree.cpp:
845 - added command line switch -v to show rifftree's revision and the used
846 libgig version
847
848 * src/dlsdump.cpp:
849 - added command line switch -v to show dlsdump's revision and the used
850 libgig version
851
852 * src/gigdump.cpp:
853 - added output of UnityNote, FineTune, Gain, SampleStartOffset an
854 LoopPlayCount
855 - added command line switch -v to show gigdump's revision and the used
856 libgig version
857
858 * src/gigextract.cpp:
859 - support for compressed mono samples and compressed 24 bit samples
860 - added command line switch -v to show gigextract's revision and the
861 used libgig version
862
863 Version 1.0.0 (26 Nov 2004)
864
865 * packaging changes:
866 - renamed 'libgig.pc.in' -> 'gig.pc.in' and renamed pkg-config lib name
867 'libgig' -> 'gig' as it's common practice to omit the 'lib' prefix
868 - fixed man pages automake install rule (which didn't work on Mandrake,
869 SuSE and Fedora)
870 - fixed generation of Doxygen API documentation (now also included in
871 RPM and Debian packages)
872
873 * src/gig.cpp, src/gig.h:
874 - fixed / improved accuracy of all three velocity to volume
875 transformation functions a.k.a. 'nonlinear','linear','special'
876 (patch by Andreas Persson)
877 - denormals are filtered from the velocity to volume tables
878 - bugfix for dimension region switching (wrong handling of the release
879 trigger dimension, no bit range check for dimensions of split type
880 'split_type_bit')
881 - fixed panorama value in DimensionRegion (invalid conversion from
882 signed 7 bit to signed 8 bit)
883 - added class attribute 'Layers' to class 'gig::Region'
884 - symbol prototyping of gig::Region (fixes build failure with qsampler)
885
886 * src/gigextract.cpp:
887 - added support for libsndfile (if libaudiofile and libsndfile are
888 available then libsndfile is preferred)
889
890 * src/gigdump.cpp:
891 - added printout for dimension informations (amount, type, bits, zones)
892 - added printout for velocity response curve parameters
893 - added printout for crossfade definitions
894 - added printout for panorama value for each DimensionRegion
895 - replaced printout of DLS Region layer by printout of amount of
896 Gigasampler layers
897
898 Version 0.7.1 (2 Jul 2004)
899
900 * packaging changes:
901 - added libgig.spec and libgig.pc package configurations for generating
902 Redhat packages
903 - header files included on installation.
904 - autotools-generated files removed from CVS repository.
905 - added support for generating Debian packages
906 - version of shared library can be set in configure.in
907
908 Version 0.7.0 (3 May 2004)
909
910 * general changes:
911 - various big endian specific corrections
912 (successfully tested now on PPC)
913 - minor adjustments to avoid compile errors on some systems
914 (using now pow() instead of powl() and --pedantic g++ compiler switch)
915 - libtoolized the library
916 - added man pages for the command line tools
917 (gigextract, gigdump, dlsdump, rifftree)
918
919 * src/gig.cpp, src/gig.h:
920 - fixed bug in decompression algorithm which caused it not to detect
921 the end of a stream
922 - added method GetVelocityAttenuation() to class 'DimensionRegion' which
923 takes the MIDI key velocity value as an argument and returns the
924 appropriate volume factor (0.0 ... 1.0) for the sample to be played
925 back, the velocity curve transformation functions used for this are
926 only an approximation so far
927 - fixed class attributes 'Sample::LoopStart', 'Sample::LoopEnd' and
928 'Sample::LoopSize' which reflected wrong values
929 - class attributes 'Sample::LoopStart' and 'Sample::LoopEnd' are now
930 measured in sample points instead of byte offset
931 - renamed misleading attribute name 'Sample::MIDIPitchFraction' to
932 'Sample::FineTune'
933 - added class attribute 'Sample::LoopSize'
934 - added method GetInstrument(uint index) to class 'File'
935 - added ReadAndLoop() method to class 'Sample' which is an extension to
936 the normal Read() method to honor the sample's looping information
937 while streaming from disk
938 - changed interface for 'attenuation_ctrl_t', 'eg1_ctrl_t' and
939 'eg2_ctrl_t': replaced this huge enumeration by a structure which
940 reflects the MIDI controller number in case of an ordinary control
941 change controller (this saves a huge switch-case block in the
942 application of the library user)
943 - renamed following attributes in class 'DimensionRegion':
944 'AttenuationContol' -> 'AttenuationController',
945 'InvertAttenuationControl' -> 'InvertAttenuationController',
946 'AttenuationControlTreshold' -> 'AttenuationControllerThreshold'
947 - minor fix in API documentation for method GetVelocityAttenuation() in
948 class 'DimensionRegion'
949
950 * src/RIFF.cpp, src/RIFF.h:
951 - added additional API documentation
952 - minor fix in Chunk::Read() method (only a minor efficiency issue)
953
954 * src/gigdump.cpp:
955 - added printout of samples' looping informations
956
957 Version 0.6.0 (3 Nov 2003)
958
959 * initial release

  ViewVC Help
Powered by ViewVC