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