Parent Directory
|
Revision Log
Links to HEAD: | (view) (download) (annotate) |
Sticky Revision: |
* gig: Fixed iterator invalidation (i.e. crash) caused by adding / removing / moving regions (only triggered if now deprecated File::GetFirstRegion() / File::GetNextRegion() methods were still used).
* gig: Fixed Sample::Write() method not having updated sample's CRC (correctly) if sample was previously resized. * Bumped version (4.3.0.svn28).
* gig/DLS: Fix iterator invalidation (i.e. crash) caused by adding / removing samples (fixes SVN r3928). * Bumped version (4.3.0.svn27).
Just fixed a wrong in-code comment.
* gig: Fix missing samples in wave pool (fixes SVN r3924). * Bumped version (4.3.0.svn26).
* DLS: Added method Instrument::CountRegions(). * Bumped version (4.3.0.svn24).
* gig: Changed signature of method Instrument::UnsetScriptPatchVariable(int,String) to Instrument::UnsetScriptPatchVariable(ssize_t,String).
* gig: Changed signature of method Instrument::SetScriptPatchVariable(int,String,String) to Instrument::SetScriptPatchVariable(size_t,String,String).
* gig: Changed signature of method Instrument::GetScriptPatchVariable(int,String) to Instrument::GetScriptPatchVariable(size_t,String).
* gig: Changed signature of method Instrument::GetScriptPatchVariables(int) to Instrument::GetScriptPatchVariables(size_t).
* gig: Changed signature of method Instrument::IsScriptPatchVariableSet(int,String) to Instrument::IsScriptPatchVariableSet(size_t,String).
* gig: Changed signature of method Instrument::SetScriptSlotBypassed(uint,bool) to Instrument::SetScriptSlotBypassed(size_t,bool).
* gig: Changed signature of method Instrument::IsScriptSlotBypassed(uint) to Instrument::IsScriptSlotBypassed(size_t).
* gig: Changed signature of method Instrument::ScriptSlotCount() to return size_t instead of uint.
* gig: Changed signature of method Instrument::RemoveScriptSlot(uint) to Instrument::RemoveScriptSlot(size_t).
* gig: Changed signature of method Instrument::SwapScriptSlots(uint,uint) to Instrument::SwapScriptSlots(size_t,size_t).
* gig: Changed signature of method Instrument::GetScriptOfSlot(uint) to Instrument::GetScriptOfSlot(size_t).
* gig: Changed signature of method ScriptGroup::GetScript(uint) to ScriptGroup::GetScript(size_t).
* gig: Optimized method File::GetScriptGroup(size_t) to have constant time efficiency.
* gig: Changed signature of method File::GetScriptGroup(uint) to File::GetScriptGroup(size_t).
* gig: Optimized method ScriptGroup::GetScript() to have constant time efficiency.
- gig: storing / restoring sample iterator in File::DeleteSample() is no longer required (because its loop is no longer mutating the object's publicly shared iterator).
* gig: Use File::GetInstrument() instead of File::GetFirstInstrument() / File::GetNextInstrument() in entire gig.cpp file. * Bumped version (4.3.0.svn23).
* gig: Marked methods File::GetFirstInstrument() and File::GetNextInstrument() as deprecated.
* gig: Fixed File::GetInstrument(size_t,progress_t*) to be reentrant-safe.
* gig: Changed signature of method File::GetInstrument(uint,progress_t*) to File::GetInstrument(size_t,progress_t*).
* DLS: Added method File::GetInstrument(). * DLS: Marked methods File::GetFirstInstrument() and File::GetNextInstrument() as deprecated.
* gig: Use GetGroup() instead of GetFirstGroup() / GetNextGroup() in entire gig.cpp file. * Bumped version (4.3.0.svn22).
* gig: Fixed GetGroup(String) to be reentrant-safe.
* gig: Marked methods GetFirstGroup() and GetNextGroup() as deprecated.
* gig: Fixed File::GetGroup(size_t) to be reentrant-safe. * Bumped version (4.3.0.svn21).
* gig: Changed signature of method File::GetGroup(uint) to File::GetGroup(size_t).
* gig: Use Group::GetSample() instead of Group::GetFirstSample() / Group::GetNextSample() in entire gig.cpp file. * Bumped version (4.3.0.svn20).
* gig: Added method Group::GetSample(). * gig: Marked methods Group::GetFirstSample() and Group::GetNextSample() as deprecated. * Bumped version (4.3.0.svn19).
* gig: Use File::GetSample() instead of File::GetFirstSample() / File::GetNextSample() in entire gig.cpp file. - DLS: Use File::GetSample() instead of File::GetFirstSample() / File::GetNextSample() in entire DLS.cpp file. * Bumped version (4.3.0.svn17).
* gig: Changed signature of method File::GetSample(uint) to File::GetSample(size_t,progress_t*). * gig: Marked methods File::GetFirstSample() and File::GetNextSample() as deprecated. * DLS: Added method File::GetSample(). * DLS: Marked methods File::GetFirstSample() and File::GetNextSample() as deprecated. * Bumped version (4.3.0.svn16).
* gig: Use GetRegionAt() instead of GetFirstRegion() / GetNextRegion() in entire gig.cpp file. * DLS: Use GetRegionAt() instead of GetFirstRegion() / GetNextRegion() in entire DLS.cpp file. * Bumped version (4.3.0.svn15).
* DLS: Added method Instrument::GetRegionAt(). * DLS: Marked methods Instrument::GetFirstRegion() and Instrument::GetNextRegion() as deprecated. * gig: Added method Instrument::GetRegionAt(). * gig: Marked methods Instrument::GetFirstRegion() and Instrument::GetNextRegion() as deprecated. * Bumped version (4.3.0.svn14).
gig: Drop unused variable in File::LoadSamples()
* gig: Use GetSubChunkAt() instead of GetFirstSubChunk() / GetNextSubChunk() in entire gig.cpp file. * gig: Use GetSubListAt() instead of GetFirstSubList() / GetNextSubList() in entire gig.cpp file. * Bumped version (4.3.0.svn13).
* gig::Sample: Fix unnecessary RAM consumption in case of 24 bit samples (InternalDecompressionBuffer is no longer needed for 24 bit samples since SVN r902 / libgig release 3.1.0). * Bumped version (4.3.0.svn6).
* src/gig.cpp: Fix clang sanatizer warning in Region::SplitDimensionZone(). * Bumped version (4.3.0.svn5).
* src/gig.cpp: Fix clang sanatizer warning in Region::DeleteDimensionZone(). * Bumped version (4.3.0.svn4).
* src/gig.cpp: Fixed undefined behaviour when modifying script slots on an instrument that had been cloned and not been saved yet (e.g. unintended modification of original instrument's script slots, and crash on Instrument destruction due to double free of pScriptRefs). * Bumped version (4.2.0.svn17).
gig.cpp: Just updated API doc comments; make it more clear that the new methods are a gig file format extension.
GIG FORMAT EXTENSION: Introducing support for 'patch' script variables. * gig.cpp/.h: Added 5 new API methods to class gig::Instrument: IsScriptPatchVariableSet(), GetScriptPatchVariables(), GetScriptPatchVariable(), SetScriptPatchVariable(), UnsetScriptPatchVariable(). * gig.cpp: Store/restore values for those 'patch' variables persistently to/from a separate new 'SCPV' RIFF chunk as child of our own '3LS ' RIFF list chunk (which we use for our own gig format extensions on Instrument level). * Bumped version (4.2.0.svn8).
* Require some UUID generating function by underlying system. * gig.h/.cpp: Script class: Generate a persistent UUID for each script. * Bumped version (4.2.0.svn7).
Fixed invalid type cast (not a behaviour change, but simply incorrect code).
Another dimension order fix.
* gig.cpp: Added methods Region::UsesAnyGigFormatExtension(), Instrument::UsesAnyGigFormatExtension() and File::UsesAnyGigFormatExtension() (as private methods for now, see comments on methods for reason why). * gig.cpp: Only write pure-GSt-compatibility RIFF chunks introduced by SVN r3657 if the file is not using any of our gig format extensions anyway. * Bumped version (4.2.0.svn6).
* gig.cpp: Region::DeleteDimensionZone(): Fixed dimensions being in different order after deleting a dimension zone. * Bumped version (4.2.0.svn5).
* Compatibility fix (gig.cpp): GigaStudio 3 expects '3dnm' and '3ddp' RIFF chunks (original patch by Ivan Maguidhir). * Bumped version (4.2.0.svn4).
* Compatibility fix (gig.cpp): GigaStudio always expects 128 '3gnm' RIFF chunks (patch by Ivan Maguidhir).
* Autoconf: require at least a C++11 compliant compiler. * gig.cpp/.h: GIG FORMAT EXTENSION: Added attributes DimensionRegion::LFO1WaveForm, DimensionRegion::LFO2WaveForm and DimensionRegion::LFO3WaveForm, which allow to override LFOs' default wave form (e.g. saw or square instead of the default wave form which was always sine in the original Gigasampler/GigaStudio software). * gig.cpp/.h: GIG FORMAT EXTENSION: Added attributes DimensionRegion::LFO1Phase, DimensionRegion::LFO2Phase and DimensionRegion::LFO3Phase, which allow to move the start point horizontally of the LFOs' waves on the time axis (0° ... 360°). * gig.cpp/.h: GIG FORMAT EXTENSION: Added attribute DimensionRegion::LFO3FlipPhase (the original Gigasampler/GigaStudio software only had that flip phase option for LFO1 and LFO2). * gig.cpp/.h: Added method DimensionRegion::UsesAnyGigFormatExtension() (however only as private method yet, see comments on method why). * src/tools/gigdump.cpp: Print dimension region properties LFO1WaveForm, LFO2WaveForm, LFO3WaveForm, LFO1Phase, LFO2Phase, LFO3Phase, LFO1FlipPhase, LFO2FlipPhase and LFO3FlipPhase. * Bumped version (4.2.0.svn1).
* Fixed crash in RIFF, DLS and gig classes which occurred on certain of their actions when not passing a progress_t callback structure. * Bumped version (4.1.0.svn16).
* gig.h, gig.cpp: Added File::GetRiffFile() method. * DLS.h, DLS.cpp: Added File::GetRiffFile() method. * sf2.h, sf2.cpp: Added Sample::GetFile() and File::GetRiffFile() methods. * RIFF.h, RIFF.cpp: Added a 2nd (overridden) progress_t::subdivide() method which allows a more fine graded control into which portions the subtasks are divided to. * RIFF Fix: API doc comment for Chunk::GetFilePos() was completely wrong. * Bumped version (4.1.0.svn14).
* Fix: Don't automatically delete RIFF chunks from DLS/gig classes' destructors. Added new virtual method DeleteChunks() to those classes for this which must be explicitly called instead to remove their RIFF chunks. * Fix: Many methods of DLS/gig classes assumed a RIFF chunk read position of zero; which is unsafe per se. * Added C++11 "override" keyword where appropriate. * DLS.cpp, DLS.h: Added new abstract interface base class DLS::Storage which is derived by the respective classes for implementing (the old) UpdateChunks() and the new DeleteChunks() method. * RIFF.cpp, RIFF.h: Added new method progress_t::subdivide(). * Bumped version (4.1.0.svn13).
- Fixed compiler error with older compilers.
* WIP: Introduced support for writing extension files (.gx01, .gx02, ...) (original patch by Ivan Maguidhir). * Bumped version (4.1.0.svn11).
* GIG FORMAT EXTENSION: Added attribute DimensionRegion::NoNoteOffReleaseTrigger which allows to disable the regular behaviour of playing release trigger sample on MIDI note-off events. * Bumped version (4.1.0.svn8).
* GIG FORMAT EXTENSION: Added attribute DimensionRegion::SustainReleaseTrigger which allows to define whether a sustain pedal up event shall cause a release trigger sample to be played (default: don't play release trigger sample by sustain pedal). * Bumped version (4.1.0.svn7).
* Fixed gig v4 files falsely being handled as v2 format (patch by Ivan Maguidhir). * Added gig v4 version identifier (File::VERSION_4). * Bumped version (4.1.0.svn6).
* src/gig.cpp, src/gig.h: Added new method File::CountSamples(). * src/gig.cpp, src/gig.h: Added new method File::CountInstruments(). * Bumped version (4.1.0.svn4).
* src/gig.cpp: Fixed undefined behavior when loading a gig file with invalid wave pool index number (fixes CVE-2017-12954). * Bumped version (4.0.0.svn33).
* src/gig.cpp: Fixed undefined behavior when loading a gig file with invalid velocity curve parameters (fixes CVE-2017-12951). * Bumped version (4.0.0.svn32).
* Fixed CVE-2017-12950, CVE-2017-12952, CVE-2017-12953 (original patch by Paul Brossier, slightly modified). * Bumped version (4.0.0.svn31).
* gig.h/.cpp: Splitted the new DimensionRegion::EGOptions into EG1Options and EG2Options, so that this can be configured individually for the first two EGs. * Bumped version (4.0.0.svn29).
* gig.h/.cpp: Forgot about "decay 2" stage in previous commit. * Bumped version (4.0.0.svn28).
* gig.h/.cpp: Added new struct "eg_opt_t" and new class member variable "DimensionRegion::EGOptions" as an extension to the gig file format, which allows to override the default behavior of EGs' state machines. * DLS.h: Got rid of C-style typedefs. * src/tools/gigdump.cpp: Print the new EG behavior options. * Bumped version (4.0.0.svn27).
* gig.cpp: Ignore invalid leverage controller types and just show a warning on the console instead of throwing an exception. * Bumped version (4.0.0.svn26).
* RIFF/DLS/gig/Serialization: Exception classes now have a variadic constructor which allows to add textual format specifiers like with printf(). * gig.cpp: On unknown leverage controller exception: show precise unknown leverage controller number found.
* Serialization framework: moved methods setVersion() and setMinVersion() from class Object to class Archive, and hide enum type operation_t from the public API. * Bumped version (4.0.0.svn23).
- gig.h: Don't include Serialization.h by default.
* Added new "Serialization" framework (and equally named namespace) which allows to serialize and deserialize native C++ objects in a portable, easy and flexible way. * gig.cpp/gig.h: Added support for serializing & deserializing DimensionRegion objects (and crossfade_t and leverage_ctrl_t objects). * Bumped version (4.0.0.svn15).
* src/gig.cpp: Fixed method File::AddContentOf() which did not clone script groups and scripts of passed original file. * Bumped version (4.0.0.svn14).
* src/gig.cpp: Fixed CRC checksums being wrong sometimes. * src/tools/gig2stereo.cpp: Also merge mono sample pairs with non matching loop information if argument "--incompatible" was given. * Bumped version (4.0.0.svn13).
* gig.cpp: Instruments' default pitch bend range is now +-2 semi tones. * Bumped version (4.0.0.svn12).
* Fixed various compiler warnings. * Bumped version (4.0.0.svn11).
* gig.cpp: Changed default value of DimensionRegion::EG2Release (filter release time) to 60s. * Bumped version (4.0.0.svn10).
* src/gig.cpp, src/gig.h: Fixed samples' CRC checksums were misordered when a Sample was deleted. * src/gig.cpp, src/gig.h: Added new method Sample::GetWaveDataCRC32Checksum(). * src/tools/gigdump.cpp: print samples' CRC32 checksums. * Bumped version (4.0.0.svn9).
* gig.cpp/gig.h: Added new method Sample::VerifyWaveData() which allows to check whether a sample had been damaged for some reason. * gigdump tool: added and implemented new parameter "--verify" which allows to check the raw wave form data integrity of all samples. * gigdump tool: added and implemented new parameter "--rebuild-checksums" which allows to recalculate the CRC32 checksum of all samples' raw wave data and rebuilding the gig file's global checksum table (i.e. in case the file's checksum table was damaged). * Bumped version (4.0.0.svn8).
* gig.cpp: Fixed Region::UpdateUpdateVelocityTable() which did not work correctly if there were dimensions after the velocity dimension: it only created valid velocity tables for cases of dimensions lower than the velocity dimension. * gigdump: Additionally print VelocityUpperLimit and DimensionUpperLimits of all dimension regions. * Bumped version (4.0.0.svn6).
* Using now native integer size where appropriate. * Bumped version (4.0.0.svn5).
* Revised previous commit: Instead of using a custom new RIFF chunk, check the overall file size and in case .gig file is >= 2GB expect a large monolithic file, otherwise if .gig file is < 2 GB check for "extension" files (.gx01, .gx02, ...) instead. * Bumped version (4.0.0.svn4).
* gig.cpp/.h: GIG FORMAT EXTENSION: Added support for saving gig file larger than 4 GB as one single monolithic gig file. A new custom RIFF chunk "FFmt" was added to distinguish such monolithic large .gig files from old ones which were splitted over several (.gx01, .gx02, ...) "extension" files before. * DLS.cpp/.h: Sample class: wave pool offsets are now 64 bits (to allow support for files larger than 4 GB). * RIFF.cpp/.h: Addded support for RIFF files larger than 4 GB, by default the required internal RIFF file offset size is automatically detected (that is RIFF files < 4 GB automatically use 32 bit offsets while files >= 4 GB automatically use 64 bit offsets), a particular offset size can be forced with a new option added to the RIFF File constructor though. * RIFF.cpp/.h: When saving a modified, grown RIFF file, the temporary file size during Save() operation will no longer be larger than the final grown file size. * Automake: Set environment variable GCC_COLORS=auto to allow GCC to auto detect whether it (sh/c)ould output its messages in color. * Bumped version (4.0.0.svn3).
* gig: fixed bug in Script::SetGroup: the script chunk wasn't moved * fixed compilation error with clang 3.4 * akai tools: improved output of non-ascii characters in usage messages * fixed compile warnings
* Bugfix of previous commit. * Bumped version (3.3.0.svn27).
* gig: Added new method Instrument::MoveTo() which allows to rearrange the order of instruments within the same gig file. * Bumped version (3.3.0.svn26).
* gig: Added support for custom progress notification while saving to gig file. * DLS: Added support for custom progress notification while saving to DLS file. * RIFF: Added support for custom progress notification while saving to RIFF file. * Bumped version (3.3.0.svn22).
* gig: Fixed crash when saving a gig file after all instrument scripts have been explicitly deleted. * Bumped version (3.3.0.svn20).
* gig: Fixed file corruption if instrument(s) with script slot(s) were loaded and saved before their scripts were ever referenced. * gig: Backward compatibility fix: Remove own custom RIFF chunks if all script slots were deleted. * Bumped version (3.3.0.svn19).
- Fix of previous commit.
* gig.h/.cpp: Added new method Region::SetDimensionType(). * Bumped version (3.3.0.svn18).
* gig: Fixed instrument script slot saving/loading. * gigdump tool: Show scripts and script slots. * Bumped version (3.3.0.svn17).
* gig.cpp: Fixed loading instrument script from file.
* gig.h/.cpp: Added new method Script::GetGroup(). * Bumped version (3.3.0.svn15).
* gig.cpp/.h: Added new method Region::GetDimensionRegionIndexByValue(). * Bumped version (3.3.0.svn14).
* gig.cpp: Missed implementation of Instrument::GetScriptOfSlot().
* gig.h/.cpp: GIG FORMAT EXTENSION: added support for real-time instrument scripts. * RIFF.h/.cpp: added 2nd alternative method for List::MoveSubChunk(), the old 1st one allows to move a subchunk within the current List whereas the new 2nd one allows to move the subchunk from the current list to another list. * Bumped version (3.3.0.svn13).
* gig.cpp: Fixed crash caused by Region::GetDimensionRegionByValue() that happened with certain velocity split sounds under certain conditions (added bound constraints to prevent that).
* gig.cpp: update velocity table at the end of Region::DeleteDimensionZone() and Region::SplitDimensionZone() * bumped version (3.3.0.svn12)
* gig.h/.cpp: Added new method Region::DeleteDimensionZone(dimension_t, int) * gig.h/.cpp: Added new method Region::SplitDimensionZone(dimension_t, int) * Bumped version (3.3.0.svn11)
* Fix: don't alter region pointer in gig::DimensionRegion::CopyAssign() (caused crash with the new "combine instruments" feature in gigedit). * Added new method gig::Region::GetDimensionDefinition(dimension_t type). * Added some more sanity checks in gig::Region::AddDimension(). * Added inline helper methods overlaps() for struct DLS::range_t. * Added more API doc comments. * Bumped version (3.3.0.svn10).
* Initial support for sample based instruments in KORG's file format (.KMP and .KSF files) -> Korg.h, Korg.cpp. * Added new command line tool "korgdump" (and a man page for it). * Added new command line tool "korg2gig" (and a man page for it), for converting KORG sounds to Giga format. * riftree tool: Added more command line options for being able to also dump other kind of file formats similar but not equal to the RIFF format. * gig.h/.cpp: Added new method File::GetGroup(String name) for retrieving group by name. * RIFF.h/.cpp: Added support for loading RIFF-like files with a bit different layout than "real" RIFF files (used for KORG format support). * RIFF.h/.cpp: Added new method Chunk::GetFile(). * RIFF.h/.cpp: Added new method Chunk::GetLayout(). * Bumped version (3.3.0.svn9).
* GIG SOUND FORMAT EXTENSION: added additional MIDI controllers for leverage controller types (only works with LinuxSampler & gigedit, will not work with Gigasampler/GigaStudio). * Bumped version (3.3.0.svn8).
* Added new command line tool "gig2mono" (and a new man page for it). * src/gig.cpp: Delete "ewav" chunk of Sample if "Compression" attribute was toggled to false. * Bumped version to 3.3.0.svn7.
* Added new command line tool "gigmerge" which allows to merge a list of gig files to one single gig file. * Added new "man" page for new tool "gigmerge". * src/gig.h: Added new method File::AddContentOf(). * src/DLS.h: Added new method File::SetFileName(). * src/RIFF.h: Added new method File::SetFileName(). * src/RIFF.h: Added new method File::IsNew(). * Added "const" keyword to several methods. * Bumped version to 3.3.0.svn6.
* bugfix: sample groups were sometimes created multiple times or with wrong textual group name * bumped library version to v3.3.0.svn5
* added write support for CtrlTrigger midi rule * added read and write support for Legato and Alternator midi rules
* gig bugfix: negative EG3 depth values were not correctly parsed or saved
* implemented gig::File::AddDuplicateInstrument() * bumped version to 3.3.0.svn4
* bugfix: VCF velocity dynamic range and VCF velocity curve weren't saved correctly
* fixed a tiny memory leak
* fixed crash which occured when streaming a gig sample with bi-directional (a.k.a. 'pingpong') loop type (fixes #102)
* bugfix: destructor for base class RIFF::Chunk accessed members of derived class RIFF::File, which is bad, and caused crashes when using Visual C++ * bugfix: EG3 depth parameter was not saved correctly * fixes for building with Visual C++
* bugfix: refuse RIFF::Chunk::Read() in case chunk has just been added, that is not written physically yet (#82) * bugfix in gig::Sample::LoadSampleData*(): reset sample read position to sample start before trying to (re)load sample data from file (#82)
* fixed compilation with gcc 4.3
* bugfix: saving to the same file after the file size had been increased made the file corrupt (#82) * bugfix: removed another iterator invalidation in DeleteSample * changed the functions for midi rules, to get rid of the iterator
* added partial support for MIDI rules, only the Controller Triggered rule is supported so far
* src/gig.cpp, src/gig.h: added File::SetAutoLoad() and File::GetAutoLoad() for allowing applications to retrieve very superficial informations like amount of instruments and their names in a very fast way
* minor code refactoring regarding fixed string lenghts of fields in class DLS::Info * preparations for release 3.2.0
- another minor API doc update
* code refactoring: hid the CRC class (src/gig.h), no need to expose it to the API, since it's only used internally
* added various setter methods to which take care of updating lookup tables / caches
* added virtual method SetKeyRange() to the gig and DLS Region classes, which automatically take care that the "resized" Region is at the correct position and that the lookup table for gig::Instrument::GetRegion() is updated (moved code from gigedit) * MoveRegion() method of DLS::Region class is now private * bugfix: gig::Instrument::UpdateRegionKeyTable() did not reset unused areas
- minor code cleanup with help of the new GetParent function
* src/gig.h, src/gig.cpp: - added method GetParent() to class 'DimensionRegion', which returns its parent Region
* AddDimension now copies all parameters from existing dimension regions and also makes sure that the samplechannel dimension is placed first * Windows fixes: compile error in DLSID generator, saving a new file didn't work
just minor API doc update
* write support fixes: allow regions/dimension regions without mapped samples, 3gnl in v3 files now always has 128 entries, several parameters where incorrectly saved due to an operator precedence mistake * DeleteSample now removes all references to the deleted sample
* added write support for 24 bit samples * set default version to 3 when creating a new file * more chunk order fixes * 3ewg is now bigger in v3 * one more einf field figured out * added some dimension strings to gigdump
* more write support fixes: crossfade parameters were not saved, v3 dimension limits were not correctly initialized and saved when dimensions were added or deleted, v3 wave pool offsets were not saved correctly
* improved the default values for dimension region parameters
* added DLSID support
- added some comments for the latest changes
* added write support for the 3crc and einf chunks * two previously unknown fields in dimension definition are now saved * added constants for gig file versions
* write support fix: dimension region chunks were added in wrong list
* write support: files created by libgig will now have the RIFF chunks in correct order
* added missing parameter initalizations * clear unused fields when saving * fixed write support bugs: v3 dimension limits and chunksize weren't saved, leverage controller of type controlchange couldn't be saved, group name list chunk was placed wrong * added initialization of some fixed info strings
* improved handling of fixed length info strings
* fixed write support for big-endian systems
* fixed segmentation fault in the gig::File destructor sequence which happened when gig::Group informations were accessed before
* fixed AddDimension() method which did not fill out all mandatory dimension definition fields
* fixed exceptions which occured when trying to save a new instrument: - override the gig::Regions sample reference simply by the region's first dimension region's sample - fixed software info field which was wrongly stored on instruments
* added MoveRegion and MoveSubChunk * fixed initialization in AddRegion
* fixed group destructor which did not remove the RIFF chunk associated with the group
* src/gig.cpp, src/gig.h: fixed group names which were not saved
* fixed crash which occured on interfering File::DeleteSample() and File::GetNextSample() calls (due to iterator invalidation)
* added new method File::DeleteGroupOnly() which only deletes the given group but moves all its members to another group, the other method, that is File::DeleteGroup() now removes not just the group, but also all the samples that belong to that group
* added "smart midi" and "round robin keyboard" dimensions
* custom velocity splits now works for gig v3 files too * added support for custom splits points for other dimensions than velocity (gig v3 feature)
* ported to Windows using native Windows functions for file IO (provided Dev-C++ + mingw project file) * renamed macro WAVE_FORMAT_PCM to DLS_WAVE_FORMAT_PCM to avoid clash with definition in i.e. windows.h
* preparations for release 3.1.0
* src/gig.cpp, src/gig.h: fixed behavior regarding the newly added support for sample groups, the initial implementation assumed a group index of 0 in the .gig file to mean "no group assigned" and thus the possibility that there might not be a group at all, but in fact the .gig format assumes always at least one group (the default group), thus a group index of 0 means "member of default group"
* support for Gigasampler's sample groups added
* added DLS INFO string Subject and fixed string Media * fixed SamplePeriod calculation
* several fixes for the write support
* real support for 24 bit samples * support for reading of .art files
* sample loop parameters are now taken from the DimensionRegion instead of the wave chunk * keyswitching dimension is changed from split type "normal" to "bit"
* added support for more than one custom velocity split inside a region
* fixed some memory management errors, one of them was causing a crash when a multi-file gig was deallocated
* recommited bugfixes regarding .gig write support (that commit batch got lost due to the recent CVS server defect)
* src/gig.cpp, src/gig.h: - added write support (highly experimental) - removed unnecessary definitions from header file * src/DLS.cpp: - try to load instruments/samples before adding a new instrument/sample
* added write support (only to the RIFF classes yet)
* support for the gig v3 feature to have a number of dimension splits not equal to a power of two
* fixed the GetVelocityCutoff function, it wasn't always using the VCFVelocityScale parameter when no cutoff controller was defined
* added VCFCutoffControllerInvert parameter and GetVelocityCutoff function to DimensionRegion
* fixed the 24 bit decompression, the result should now be exact instead of an approximation
* added support for gig v3 multi-file format
* added DimensionRegion::GetVelocityRelease function
* added functions libraryName() and libraryVersion() to each of the three library units (RIFF,DLS,gig) * all tools now offer a command line switch -v to show the tools revision and the used libgig version * man pages are now auto generated with the correct libgig version
* src/gig.h, src/gig.cpp: API change of progress callback
* src/gig.h, src/gig.cpp: implemented progress indicator callback mechanism for loading instruments and samples * src/DLS.cpp: fixed File constructor which caused variable File::Instruments always to be zero * src/RIFF.cpp: fixed method List::LoadSubChunks() which did not restore the original position within the body of the given list chunk
* src/gig.h, src/gig.cpp: 24-bit decompression now supports the 20 and 18 bit formats * src/gig.h, src/gig.cpp: added "random" and "round robin" dimensions
* src/gig.h, src/gig.cpp: added pre-calculated sample attenuation parameter * src/gigdump: added output of Gain and SampleStartOffset
* gig::Sample: external decompression buffers can now be used for streaming with Read() and ReadAndLoop() to avoid race conditions in case of multiple streaming threads * fixed some memory leaks caused by non virtual base constructors
* src/gig.cpp: Fixed mono decompression.
* src/gig.cpp, src/gig.h, src/gigextract.cpp: Support for compressed mono samples. Experimental support for compressed 24 bit samples. Fixes for decompression on big-endian CPUs. Fix for bug that truncated end of compressed samples.
* src/gig.cpp: - another memory leak fix - duplicated memory free fix - tiny fix in decompression buffer reallocation (patch by "Gene" a.k.a Anders Alm)
* src/gig.cpp: fixed crash on patches which did not have a sample assigned to their region(s) or dimension region(s) (patch by Andreas Persson)
* src/gig.cpp: fixed some memory leaks (patch by Gene Anders)
* src/gig.h, src/gig.cpp: support for up to 8 dimensions as introduced by Gig V3 (patch by Andreas Persson)
* src/gig.cpp, src/gig.h: - fixed vcf_type_lowpassturbo value (vcf_type_lowpassturbo was actually never used, because the necessary check was made before initialization) - fixed crossfade points order (structure for big endian and little endian systems was interchanged)
* src/DLS.cpp, src/gig.cpp: experimental support for Gigasampler v3 format; 64 bit file offsets are truncated to 32 bit, 24 bit samples are truncated to 16 bit and additional articulation informations are ignored at the moment, added some file format compatibility checks (patch by Andreas Persson)
* src/gig.cpp, src/gig.h: applied patch by Andreas Persson which improves accuracy of all three velocity response curves
* src/gig.cpp, src/gig.h: added class attribute 'Layers' to class 'Region' * src/gigdump.cpp: replaced printout of DLS Region layer by printout of amount of Gigasampler layers
* src/gig.cpp: fixed panorama value in DimensionRegion (invalid conversion from signed 7 bit to signed 8 bit) * src/gigdump.cpp: added printout for panorama value for each DimensionRegion
* bugfix for dimension region switching (wrong handling of the release trigger dimension, no bit range check for dimensions of split type 'split_type_bit')
* src/gig.h, src/gig.cpp: fixed / improved accuracy of all three velocity to volume transformation functions (a.k.a. 'nonlinear','linear', 'special'), denormals are filtered from the velocity to volume tables * src/gigdump.cpp: added printout of velocity response curve parameters
updated copyright header for 2004
* src/gig.h: changed interface for 'attenuation_ctrl_t', 'eg1_ctrl_t' and 'eg2_ctrl_t': replaced the huge enumeration by a structure which reflects the MIDI controller number in case of an ordinary control change controller (this saves a huge switch-case block in the application of the library customer) * src/gig.h: renamed following attributes in class 'DimensionRegion': 'AttenuationContol' -> 'AttenuationController', 'InvertAttenuationControl' -> 'InvertAttenuationController', 'AttenuationControlTreshold' -> 'AttenuationControllerThreshold' * src/gig.cpp: minor fix in API documentation for method 'GetVelocityAttenuation()' in class 'DimensionRegion'
* src/gig.cpp: attributes 'LoopStart', 'LoopEnd' and 'LoopSize' in class 'Sample' reflected wrong values * updated Make files (autoconf 2.58, automake 1.6.3)
* src/gig.cpp, src/gig.h: added ReadAndLoop() method to class 'Sample' which is an extension to the normal Read() method to honor the sample's looping information while streaming from disk * src/RIFF.cpp: minor fix in Chunk::Read() method (only a minor efficiency issue) * src/gigdump.cpp: added printout of samples' looping informations
* gig.h, gig.cpp: changes in class 'Sample': - fixed loop attributes which reflected wrong values - attributes 'LoopStart' and 'LoopEnd' are now measured in sample points instead of byte offset - renamed misleading attribute name 'MIDIPitchFraction' to 'FineTune' - added attribute 'LoopSize' changes in class 'File': - added method GetInstrument(uint index)
* src/gig.cpp, src/gig.h: added method GetVelocityAttenuation() to class DimensionRegion which takes the MIDI key velocity value as an argument and returns the appropriate volume factor (0.0-1.0) for the sample to be be played back, the velocity curve transformation functions used for this are only an approximation so far
* src/gig.cpp: fixed bug in decompression algorithm which caused it not to detect the end of a stream * various endian corrections (successfully tested now on ppc) * minor adjustments to avoid compile errors on some systems (using now pow() instead of powl() and --pedantic g++ compiler switch) * src/RIFF.cpp, src/RIFF.h: added additional API documentation
Initial revision
This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.
ViewVC Help | |
Powered by ViewVC |