Parent Directory
|
Revision Log
Links to HEAD: | (view) (download) (annotate) |
Sticky Revision: |
- 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 |