/[svn]/libgig/trunk/src/gig.cpp
ViewVC logotype

Log of /libgig/trunk/src/gig.cpp

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (download) (annotate)
Sticky Revision:

Revision 1335 - (view) (download) (annotate) - [select for diffs]
Modified Sun Sep 9 21:22:58 2007 UTC (16 years, 6 months ago) by schoenebeck
File length: 164818 byte(s)
Diff to previous 1317
* 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


Revision 1317 - (view) (download) (annotate) - [select for diffs]
Modified Sat Sep 1 07:15:53 2007 UTC (16 years, 6 months ago) by persson
File length: 164449 byte(s)
Diff to previous 1316
- minor code cleanup with help of the new GetParent function


Revision 1316 - (view) (download) (annotate) - [select for diffs]
Modified Fri Aug 31 19:09:13 2007 UTC (16 years, 6 months ago) by schoenebeck
File length: 164970 byte(s)
Diff to previous 1301
* src/gig.h, src/gig.cpp:
  - added method GetParent() to class 'DimensionRegion', which returns its
    parent Region


Revision 1301 - (view) (download) (annotate) - [select for diffs]
Modified Sat Aug 25 09:59:53 2007 UTC (16 years, 6 months ago) by persson
File length: 164834 byte(s)
Diff to previous 1292
* 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


Revision 1292 - (view) (download) (annotate) - [select for diffs]
Modified Sat Aug 11 14:38:51 2007 UTC (16 years, 7 months ago) by schoenebeck
File length: 162574 byte(s)
Diff to previous 1266
just minor API doc update


Revision 1266 - (view) (download) (annotate) - [select for diffs]
Modified Thu Aug 2 14:12:55 2007 UTC (16 years, 7 months ago) by persson
File length: 162486 byte(s)
Diff to previous 1264
* 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


Revision 1264 - (view) (download) (annotate) - [select for diffs]
Modified Sun Jul 29 10:51:09 2007 UTC (16 years, 7 months ago) by persson
File length: 160803 byte(s)
Diff to previous 1247
* 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


Revision 1247 - (view) (download) (annotate) - [select for diffs]
Modified Fri Jun 22 09:59:57 2007 UTC (16 years, 9 months ago) by persson
File length: 159145 byte(s)
Diff to previous 1218
* 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


Revision 1218 - (view) (download) (annotate) - [select for diffs]
Modified Fri Jun 1 19:19:28 2007 UTC (16 years, 9 months ago) by persson
File length: 157226 byte(s)
Diff to previous 1209
* improved the default values for dimension region parameters


Revision 1209 - (view) (download) (annotate) - [select for diffs]
Modified Sun May 27 13:54:24 2007 UTC (16 years, 9 months ago) by persson
File length: 157224 byte(s)
Diff to previous 1207
* added DLSID support


Revision 1207 - (view) (download) (annotate) - [select for diffs]
Modified Sat May 26 13:59:40 2007 UTC (16 years, 9 months ago) by persson
File length: 157065 byte(s)
Diff to previous 1199
- added some comments for the latest changes


Revision 1199 - (view) (download) (annotate) - [select for diffs]
Modified Sun May 20 10:11:39 2007 UTC (16 years, 10 months ago) by persson
File length: 156638 byte(s)
Diff to previous 1195
* 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


Revision 1195 - (view) (download) (annotate) - [select for diffs]
Modified Thu May 17 17:24:26 2007 UTC (16 years, 10 months ago) by persson
File length: 149253 byte(s)
Diff to previous 1192
* write support fix: dimension region chunks were added in wrong list


Revision 1192 - (view) (download) (annotate) - [select for diffs]
Modified Thu May 17 10:12:08 2007 UTC (16 years, 10 months ago) by persson
File length: 149186 byte(s)
Diff to previous 1182
* write support: files created by libgig will now have the RIFF chunks
  in correct order


Revision 1182 - (view) (download) (annotate) - [select for diffs]
Modified Sun May 13 05:48:51 2007 UTC (16 years, 10 months ago) by persson
File length: 147992 byte(s)
Diff to previous 1180
* 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


Revision 1180 - (view) (download) (annotate) - [select for diffs]
Modified Sat May 12 12:39:25 2007 UTC (16 years, 10 months ago) by persson
File length: 147114 byte(s)
Diff to previous 1179
* improved handling of fixed length info strings


Revision 1179 - (view) (download) (annotate) - [select for diffs]
Modified Sat May 12 11:25:04 2007 UTC (16 years, 10 months ago) by persson
File length: 146157 byte(s)
Diff to previous 1158
* fixed write support for big-endian systems


Revision 1158 - (view) (download) (annotate) - [select for diffs]
Modified Fri Apr 13 16:41:18 2007 UTC (16 years, 11 months ago) by schoenebeck
File length: 146652 byte(s)
Diff to previous 1113
* fixed segmentation fault in the gig::File destructor sequence which
  happened when gig::Group informations were accessed before


Revision 1113 - (view) (download) (annotate) - [select for diffs]
Modified Fri Mar 23 20:05:02 2007 UTC (17 years ago) by schoenebeck
File length: 146638 byte(s)
Diff to previous 1106
* fixed AddDimension() method which did not fill out all mandatory
  dimension definition fields


Revision 1106 - (view) (download) (annotate) - [select for diffs]
Modified Sun Mar 18 19:38:47 2007 UTC (17 years ago) by schoenebeck
File length: 146486 byte(s)
Diff to previous 1102
* 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


Revision 1102 - (view) (download) (annotate) - [select for diffs]
Modified Sun Mar 18 07:13:06 2007 UTC (17 years ago) by persson
File length: 146149 byte(s)
Diff to previous 1099
* added MoveRegion and MoveSubChunk
* fixed initialization in AddRegion


Revision 1099 - (view) (download) (annotate) - [select for diffs]
Modified Thu Mar 15 13:57:47 2007 UTC (17 years ago) by schoenebeck
File length: 146098 byte(s)
Diff to previous 1098
* fixed group destructor which did not remove the RIFF chunk associated
  with the group


Revision 1098 - (view) (download) (annotate) - [select for diffs]
Modified Thu Mar 15 00:32:06 2007 UTC (17 years ago) by schoenebeck
File length: 145957 byte(s)
Diff to previous 1083
* src/gig.cpp, src/gig.h: fixed group names which were not saved


Revision 1083 - (view) (download) (annotate) - [select for diffs]
Modified Thu Mar 8 16:41:27 2007 UTC (17 years ago) by schoenebeck
File length: 144999 byte(s)
Diff to previous 1081
* fixed crash which occured on interfering File::DeleteSample() and
  File::GetNextSample() calls (due to iterator invalidation)


Revision 1081 - (view) (download) (annotate) - [select for diffs]
Modified Thu Mar 8 00:17:03 2007 UTC (17 years ago) by schoenebeck
File length: 144870 byte(s)
Diff to previous 1076
* 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


Revision 1076 - (view) (download) (annotate) - [select for diffs]
Modified Tue Mar 6 18:33:30 2007 UTC (17 years ago) by persson
File length: 143403 byte(s)
Diff to previous 1070
* added "smart midi" and "round robin keyboard" dimensions


Revision 1070 - (view) (download) (annotate) - [select for diffs]
Modified Mon Mar 5 17:42:35 2007 UTC (17 years ago) by persson
File length: 143192 byte(s)
Diff to previous 1050
* custom velocity splits now works for gig v3 files too
* added support for custom splits points for other dimensions than
  velocity (gig v3 feature)


Revision 1050 - (view) (download) (annotate) - [select for diffs]
Modified Fri Mar 2 01:04:45 2007 UTC (17 years ago) by schoenebeck
File length: 141764 byte(s)
Diff to previous 933
* 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


Revision 933 - (view) (download) (annotate) - [select for diffs]
Modified Fri Nov 24 12:50:05 2006 UTC (17 years, 3 months ago) by schoenebeck
File length: 141748 byte(s)
Diff to previous 930
* preparations for release 3.1.0


Revision 930 - (view) (download) (annotate) - [select for diffs]
Modified Sun Oct 29 17:57:20 2006 UTC (17 years, 4 months ago) by schoenebeck
File length: 141748 byte(s)
Diff to previous 929
* 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"


Revision 929 - (view) (download) (annotate) - [select for diffs]
Modified Tue Oct 24 22:24:45 2006 UTC (17 years, 4 months ago) by schoenebeck
File length: 138372 byte(s)
Diff to previous 928
* support for Gigasampler's sample groups added


Revision 928 - (view) (download) (annotate) - [select for diffs]
Modified Tue Oct 24 19:32:47 2006 UTC (17 years, 4 months ago) by persson
File length: 133773 byte(s)
Diff to previous 918
* added DLS INFO string Subject and fixed string Media
* fixed SamplePeriod calculation


Revision 918 - (view) (download) (annotate) - [select for diffs]
Modified Sat Sep 2 08:45:37 2006 UTC (17 years, 6 months ago) by persson
File length: 133746 byte(s)
Diff to previous 902
* several fixes for the write support


Revision 902 - (view) (download) (annotate) - [select for diffs]
Modified Sat Jul 22 14:22:01 2006 UTC (17 years, 8 months ago) by persson
File length: 133408 byte(s)
Diff to previous 864
* real support for 24 bit samples
* support for reading of .art files


Revision 864 - (view) (download) (annotate) - [select for diffs]
Modified Sun May 14 07:15:38 2006 UTC (17 years, 10 months ago) by persson
File length: 134077 byte(s)
Diff to previous 858
* sample loop parameters are now taken from the DimensionRegion
  instead of the wave chunk
* keyswitching dimension is changed from split type "normal" to "bit"


Revision 858 - (view) (download) (annotate) - [select for diffs]
Modified Sat May 6 11:29:29 2006 UTC (17 years, 10 months ago) by persson
File length: 133269 byte(s)
Diff to previous 834
* added support for more than one custom velocity split inside a
  region


Revision 834 - (view) (download) (annotate) - [select for diffs]
Modified Mon Feb 6 17:58:21 2006 UTC (18 years, 1 month ago) by persson
File length: 133094 byte(s)
Diff to previous 823
* fixed some memory management errors, one of them was causing a crash
  when a multi-file gig was deallocated


Revision 823 - (view) (download) (annotate) - [select for diffs]
Modified Fri Dec 23 01:38:50 2005 UTC (18 years, 2 months ago) by schoenebeck
File length: 133195 byte(s)
Diff to previous 809
* recommited bugfixes regarding .gig write support
(that commit batch got lost due to the recent CVS server defect)


Revision 809 - (view) (download) (annotate) - [select for diffs]
Modified Tue Nov 22 11:26:55 2005 UTC (18 years, 4 months ago) by schoenebeck
File length: 134254 byte(s)
Diff to previous 780
* 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


Revision 780 - (view) (download) (annotate) - [select for diffs]
Modified Sun Sep 25 13:40:37 2005 UTC (18 years, 5 months ago) by schoenebeck
File length: 91086 byte(s)
Diff to previous 774
* added write support (only to the RIFF classes yet)


Revision 774 - (view) (download) (annotate) - [select for diffs]
Modified Sun Sep 18 12:41:56 2005 UTC (18 years, 6 months ago) by persson
File length: 91103 byte(s)
Diff to previous 773
* support for the gig v3 feature to have a number of dimension splits
  not equal to a power of two


Revision 773 - (view) (download) (annotate) - [select for diffs]
Modified Sat Sep 17 14:24:45 2005 UTC (18 years, 6 months ago) by persson
File length: 90817 byte(s)
Diff to previous 728
* fixed the GetVelocityCutoff function, it wasn't always using the
  VCFVelocityScale parameter when no cutoff controller was defined


Revision 728 - (view) (download) (annotate) - [select for diffs]
Modified Tue Jul 26 11:13:53 2005 UTC (18 years, 7 months ago) by persson
File length: 90816 byte(s)
Diff to previous 695
* added VCFCutoffControllerInvert parameter and GetVelocityCutoff
  function to DimensionRegion


Revision 695 - (view) (download) (annotate) - [select for diffs]
Modified Sat Jul 16 19:36:23 2005 UTC (18 years, 8 months ago) by persson
File length: 89695 byte(s)
Diff to previous 666
* fixed the 24 bit decompression, the result should now be exact
  instead of an approximation


Revision 666 - (view) (download) (annotate) - [select for diffs]
Modified Sun Jun 19 15:18:59 2005 UTC (18 years, 9 months ago) by persson
File length: 90221 byte(s)
Diff to previous 613
* added support for gig v3 multi-file format


Revision 613 - (view) (download) (annotate) - [select for diffs]
Modified Mon Jun 6 16:50:58 2005 UTC (18 years, 9 months ago) by persson
File length: 88985 byte(s)
Diff to previous 518
* added DimensionRegion::GetVelocityRelease function


Revision 518 - (view) (download) (annotate) - [select for diffs]
Modified Sun May 8 16:19:34 2005 UTC (18 years, 10 months ago) by schoenebeck
File length: 88113 byte(s)
Diff to previous 516
* 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


Revision 516 - (view) (download) (annotate) - [select for diffs]
Modified Sat May 7 21:24:04 2005 UTC (18 years, 10 months ago) by schoenebeck
File length: 87616 byte(s)
Diff to previous 515
* src/gig.h, src/gig.cpp: API change of progress callback


Revision 515 - (view) (download) (annotate) - [select for diffs]
Modified Sat May 7 20:19:10 2005 UTC (18 years, 10 months ago) by schoenebeck
File length: 87472 byte(s)
Diff to previous 437
* 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


Revision 437 - (view) (download) (annotate) - [select for diffs]
Modified Wed Mar 9 22:02:40 2005 UTC (19 years ago) by persson
File length: 83738 byte(s)
Diff to previous 406
* 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


Revision 406 - (view) (download) (annotate) - [select for diffs]
Modified Wed Feb 23 19:11:07 2005 UTC (19 years ago) by persson
File length: 82953 byte(s)
Diff to previous 384
* src/gig.h, src/gig.cpp: added pre-calculated sample attenuation
  parameter
* src/gigdump: added output of Gain and SampleStartOffset


Revision 384 - (view) (download) (annotate) - [select for diffs]
Modified Thu Feb 17 02:22:26 2005 UTC (19 years, 1 month ago) by schoenebeck
File length: 82888 byte(s)
Diff to previous 372
* 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


Revision 372 - (view) (download) (annotate) - [select for diffs]
Modified Fri Feb 11 18:58:07 2005 UTC (19 years, 1 month ago) by persson
File length: 79612 byte(s)
Diff to previous 365
* src/gig.cpp: Fixed mono decompression.


Revision 365 - (view) (download) (annotate) - [select for diffs]
Modified Thu Feb 10 19:16:31 2005 UTC (19 years, 1 month ago) by persson
File length: 79522 byte(s)
Diff to previous 355
* 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.


Revision 355 - (view) (download) (annotate) - [select for diffs]
Modified Fri Feb 4 00:21:30 2005 UTC (19 years, 1 month ago) by schoenebeck
File length: 73117 byte(s)
Diff to previous 352
* 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)


Revision 352 - (view) (download) (annotate) - [select for diffs]
Modified Sat Jan 29 14:24:11 2005 UTC (19 years, 1 month ago) by schoenebeck
File length: 72985 byte(s)
Diff to previous 350
* 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)


Revision 350 - (view) (download) (annotate) - [select for diffs]
Modified Tue Jan 25 21:54:24 2005 UTC (19 years, 1 month ago) by schoenebeck
File length: 72925 byte(s)
Diff to previous 347
* src/gig.cpp: fixed some memory leaks (patch by Gene Anders)


Revision 347 - (view) (download) (annotate) - [select for diffs]
Modified Sun Jan 23 20:47:18 2005 UTC (19 years, 1 month ago) by schoenebeck
File length: 72211 byte(s)
Diff to previous 345
* src/gig.h, src/gig.cpp: support for up to 8 dimensions as introduced by
  Gig V3 (patch by Andreas Persson)


Revision 345 - (view) (download) (annotate) - [select for diffs]
Modified Fri Jan 21 16:40:37 2005 UTC (19 years, 2 months ago) by schoenebeck
File length: 72425 byte(s)
Diff to previous 317
* 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)


Revision 317 - (view) (download) (annotate) - [select for diffs]
Modified Sat Dec 4 14:13:49 2004 UTC (19 years, 3 months ago) by schoenebeck
File length: 72425 byte(s)
Diff to previous 308
* 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)


Revision 308 - (view) (download) (annotate) - [select for diffs]
Modified Sun Nov 21 18:02:21 2004 UTC (19 years, 4 months ago) by schoenebeck
File length: 71211 byte(s)
Diff to previous 282
* src/gig.cpp, src/gig.h: applied patch by Andreas Persson which improves
  accuracy of all three velocity response curves


Revision 282 - (view) (download) (annotate) - [select for diffs]
Modified Wed Oct 13 20:05:42 2004 UTC (19 years, 5 months ago) by schoenebeck
File length: 70474 byte(s)
Diff to previous 269
* 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


Revision 269 - (view) (download) (annotate) - [select for diffs]
Modified Fri Oct 8 17:25:28 2004 UTC (19 years, 5 months ago) by schoenebeck
File length: 70275 byte(s)
Diff to previous 241
* 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


Revision 241 - (view) (download) (annotate) - [select for diffs]
Modified Wed Sep 15 13:49:21 2004 UTC (19 years, 6 months ago) by schoenebeck
File length: 70250 byte(s)
Diff to previous 231
* bugfix for dimension region switching (wrong handling of the release
  trigger dimension, no bit range check for dimensions of split type
  'split_type_bit')


Revision 231 - (view) (download) (annotate) - [select for diffs]
Modified Sun Sep 5 00:46:28 2004 UTC (19 years, 6 months ago) by schoenebeck
File length: 69899 byte(s)
Diff to previous 55
* 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


Revision 55 - (view) (download) (annotate) - [select for diffs]
Modified Tue Apr 27 09:06:07 2004 UTC (19 years, 10 months ago) by schoenebeck
File length: 69889 byte(s)
Diff to previous 36
updated copyright header for 2004


Revision 36 - (view) (download) (annotate) - [select for diffs]
Modified Wed Mar 10 21:34:28 2004 UTC (20 years ago) by schoenebeck
File length: 69917 byte(s)
Diff to previous 27
* 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'


Revision 27 - (view) (download) (annotate) - [select for diffs]
Modified Thu Jan 1 23:46:41 2004 UTC (20 years, 2 months ago) by schoenebeck
File length: 64188 byte(s)
Diff to previous 24
* src/gig.cpp: attributes 'LoopStart', 'LoopEnd' and 'LoopSize' in class
  'Sample' reflected wrong values
* updated Make files (autoconf 2.58, automake 1.6.3)


Revision 24 - (view) (download) (annotate) - [select for diffs]
Modified Fri Dec 26 16:15:31 2003 UTC (20 years, 2 months ago) by schoenebeck
File length: 64310 byte(s)
Diff to previous 21
* 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


Revision 21 - (view) (download) (annotate) - [select for diffs]
Modified Thu Dec 25 01:09:08 2003 UTC (20 years, 2 months ago) by schoenebeck
File length: 54728 byte(s)
Diff to previous 16
* 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)


Revision 16 - (view) (download) (annotate) - [select for diffs]
Modified Sat Nov 29 14:56:16 2003 UTC (20 years, 3 months ago) by schoenebeck
File length: 53935 byte(s)
Diff to previous 11
* 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


Revision 11 - (view) (download) (annotate) - [select for diffs]
Modified Sun Nov 16 17:47:00 2003 UTC (20 years, 4 months ago) by schoenebeck
File length: 49824 byte(s)
Diff to previous 2
* 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


Revision 2 - (view) (download) (annotate) - [select for diffs]
Added Sat Oct 25 20:15:04 2003 UTC (20 years, 4 months ago) by schoenebeck
File length: 49829 byte(s)
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.

  Diffs between and
  Type of Diff should be a

  ViewVC Help
Powered by ViewVC