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

Contents of /libgig/trunk/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3980 - (show annotations) (download)
Tue Aug 3 14:37:25 2021 UTC (2 years, 7 months ago) by schoenebeck
File size: 47437 byte(s)
* Add new command line tool "wav2gig".

* Bumped version (4.3.0.svn30).

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

  ViewVC Help
Powered by ViewVC