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

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

Parent Directory Parent Directory | Revision Log Revision Log


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

Revision 2909 - (view) (download) (annotate) - [select for diffs]
Modified Thu May 12 19:34:17 2016 UTC (7 years, 10 months ago) by schoenebeck
File length: 80684 byte(s)
Diff to previous 2698 , to selected 384
* gig/DLS: Removed 2GB limitation when loading a gig or DLS file.
* korg2gig: Fixed fine tuning which was not translated at all.
* Bumped version (4.0.0.svn2).


Revision 2698 - (view) (download) (annotate) - [select for diffs]
Modified Sun Jan 11 17:47:57 2015 UTC (9 years, 2 months ago) by schoenebeck
File length: 80559 byte(s)
Diff to previous 2682 , to selected 384
* Bugfix: Adding a new region in between two existing regions caused the
  new one being dropped after save operation and the gig file (or DLS file)
  being tainted (chunks were at wrong location in the RIFF tree).
* Bumped version (3.3.0.svn25).


Revision 2682 - (view) (download) (annotate) - [select for diffs]
Modified Mon Dec 29 16:25:51 2014 UTC (9 years, 3 months ago) by schoenebeck
File length: 80542 byte(s)
Diff to previous 2609 , to selected 384
* 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).


Revision 2609 - (view) (download) (annotate) - [select for diffs]
Modified Sun Jun 8 19:00:30 2014 UTC (9 years, 9 months ago) by schoenebeck
File length: 76660 byte(s)
Diff to previous 2482 , to selected 384
* gig: Fixed instrument script slot saving/loading.
* gigdump tool: Show scripts and script slots.
* Bumped version (3.3.0.svn17).


Revision 2482 - (view) (download) (annotate) - [select for diffs]
Modified Mon Nov 25 02:22:38 2013 UTC (10 years, 4 months ago) by schoenebeck
File length: 76014 byte(s)
Diff to previous 2394 , to selected 384
* 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.


Revision 2394 - (view) (download) (annotate) - [select for diffs]
Modified Mon Jan 7 23:23:58 2013 UTC (11 years, 2 months ago) by schoenebeck
File length: 73441 byte(s)
Diff to previous 2329 , to selected 384
* implemented gig::File::AddDuplicateInstrument()
* bumped version to 3.3.0.svn4


Revision 2329 - (view) (download) (annotate) - [select for diffs]
Modified Mon Mar 12 14:59:10 2012 UTC (12 years ago) by schoenebeck
File length: 68413 byte(s)
Diff to previous 2310 , to selected 384
* added new method DLS::File::GetExtensionFile(int index)
* bumped version to 3.3.0svn3


Revision 2310 - (view) (download) (annotate) - [select for diffs]
Modified Sat Feb 11 11:08:01 2012 UTC (12 years, 1 month ago) by persson
File length: 67484 byte(s)
Diff to previous 2274 , to selected 384
* fixed minor "memory leak on exception" bug found with cppcheck


Revision 2274 - (view) (download) (annotate) - [select for diffs]
Modified Mon Sep 19 21:41:34 2011 UTC (12 years, 6 months ago) by schoenebeck
File length: 67432 byte(s)
Diff to previous 1953 , to selected 384
* src/DLS.cpp, src/DLS.h: added new method File::GetFileName()
* bumped version to 3.3.0.svn2


Revision 1953 - (view) (download) (annotate) - [select for diffs]
Modified Thu Jul 30 08:16:02 2009 UTC (14 years, 8 months ago) by schoenebeck
File length: 67029 byte(s)
Diff to previous 1713 , to selected 384
* preparations for release 3.3.0


Revision 1713 - (view) (download) (annotate) - [select for diffs]
Modified Thu Mar 6 20:42:22 2008 UTC (16 years ago) by persson
File length: 67029 byte(s)
Diff to previous 1416 , to selected 384
* fixed compilation with gcc 4.3


Revision 1416 - (view) (download) (annotate) - [select for diffs]
Modified Sun Oct 14 12:06:32 2007 UTC (16 years, 5 months ago) by schoenebeck
File length: 67008 byte(s)
Diff to previous 1388 , to selected 384
* minor code refactoring regarding fixed string lenghts of
  fields in class DLS::Info
* preparations for release 3.2.0


Revision 1388 - (view) (download) (annotate) - [select for diffs]
Modified Sun Oct 7 11:10:02 2007 UTC (16 years, 5 months ago) by persson
File length: 66348 byte(s)
Diff to previous 1358 , to selected 384
* fixed crash when saving a file after a sample loop was added


Revision 1358 - (view) (download) (annotate) - [select for diffs]
Modified Sun Sep 30 18:13:33 2007 UTC (16 years, 6 months ago) by schoenebeck
File length: 66259 byte(s)
Diff to previous 1335 , to selected 384
* added various setter methods to which take care of updating
  lookup tables / caches


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: 66189 byte(s)
Diff to previous 1301 , to selected 384
* 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 1301 - (view) (download) (annotate) - [select for diffs]
Modified Sat Aug 25 09:59:53 2007 UTC (16 years, 7 months ago) by persson
File length: 64988 byte(s)
Diff to previous 1266 , to selected 384
* 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 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: 64988 byte(s)
Diff to previous 1218 , to selected 384
* 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 1218 - (view) (download) (annotate) - [select for diffs]
Modified Fri Jun 1 19:19:28 2007 UTC (16 years, 10 months ago) by persson
File length: 65085 byte(s)
Diff to previous 1209 , to selected 384
* 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, 10 months ago) by persson
File length: 65085 byte(s)
Diff to previous 1194 , to selected 384
* added DLSID support


Revision 1194 - (view) (download) (annotate) - [select for diffs]
Modified Thu May 17 17:09:10 2007 UTC (16 years, 10 months ago) by schoenebeck
File length: 63002 byte(s)
Diff to previous 1184 , to selected 384
- eliminated Doxygen warning


Revision 1184 - (view) (download) (annotate) - [select for diffs]
Modified Sun May 13 13:24:22 2007 UTC (16 years, 10 months ago) by persson
File length: 62993 byte(s)
Diff to previous 1183 , to selected 384
* removed the recently added RIFF::File constructor, added
  File::SetByteOrder instead


Revision 1183 - (view) (download) (annotate) - [select for diffs]
Modified Sun May 13 10:34:29 2007 UTC (16 years, 10 months ago) by persson
File length: 62964 byte(s)
Diff to previous 1180 , to selected 384
* added RIFF::File constructor with endianess parameter
* put pack Info::UseFixedLengthStrings, marked as deprecated, to
  ensure binary compatibility
* DLS files are always created as little-endian


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: 62943 byte(s)
Diff to previous 1179 , to selected 384
* 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: 63712 byte(s)
Diff to previous 1155 , to selected 384
* fixed write support for big-endian systems


Revision 1155 - (view) (download) (annotate) - [select for diffs]
Modified Wed Apr 11 18:11:09 2007 UTC (16 years, 11 months ago) by schoenebeck
File length: 63124 byte(s)
Diff to previous 1154 , to selected 384
- minor fix of the previous commit


Revision 1154 - (view) (download) (annotate) - [select for diffs]
Modified Wed Apr 11 16:33:56 2007 UTC (16 years, 11 months ago) by schoenebeck
File length: 63023 byte(s)
Diff to previous 1106 , to selected 384
* src/DLS.cpp, src/DLS.h:
  - added Sampler::AddSampleLoop() and Sampler::DeleteSampleLoop() methods


Revision 1106 - (view) (download) (annotate) - [select for diffs]
Modified Sun Mar 18 19:38:47 2007 UTC (17 years ago) by schoenebeck
File length: 61496 byte(s)
Diff to previous 1102 , to selected 384
* 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: 61492 byte(s)
Diff to previous 1050 , to selected 384
* added MoveRegion and MoveSubChunk
* fixed initialization in AddRegion


Revision 1050 - (view) (download) (annotate) - [select for diffs]
Modified Fri Mar 2 01:04:45 2007 UTC (17 years, 1 month ago) by schoenebeck
File length: 61125 byte(s)
Diff to previous 933 , to selected 384
* 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, 4 months ago) by schoenebeck
File length: 61049 byte(s)
Diff to previous 929 , to selected 384
* preparations for release 3.1.0


Revision 929 - (view) (download) (annotate) - [select for diffs]
Modified Tue Oct 24 22:24:45 2006 UTC (17 years, 5 months ago) by schoenebeck
File length: 61049 byte(s)
Diff to previous 928 , to selected 384
* 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, 5 months ago) by persson
File length: 61287 byte(s)
Diff to previous 919 , to selected 384
* added DLS INFO string Subject and fixed string Media
* fixed SamplePeriod calculation


Revision 919 - (view) (download) (annotate) - [select for diffs]
Modified Fri Sep 15 19:35:11 2006 UTC (17 years, 6 months ago) by schoenebeck
File length: 61253 byte(s)
Diff to previous 918 , to selected 384
* bugfix: sampler parameters UnityNote, FineTune, Gain, SamplerOptions and
  SampleLoops were not stored when trying to save DLS or .gig files


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: 61040 byte(s)
Diff to previous 902 , to selected 384
* 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: 60111 byte(s)
Diff to previous 839 , to selected 384
* real support for 24 bit samples
* support for reading of .art files


Revision 839 - (view) (download) (annotate) - [select for diffs]
Modified Fri Feb 10 19:23:59 2006 UTC (18 years, 1 month ago) by persson
File length: 59823 byte(s)
Diff to previous 834 , to selected 384
* fixed bug introduced in previous commit - info strings weren't
  correctly terminated


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: 59710 byte(s)
Diff to previous 823 , to selected 384
* 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, 3 months ago) by schoenebeck
File length: 59558 byte(s)
Diff to previous 809 , to selected 384
* 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: 59754 byte(s)
Diff to previous 804 , to selected 384
* 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 804 - (view) (download) (annotate) - [select for diffs]
Modified Sat Nov 12 19:16:01 2005 UTC (18 years, 4 months ago) by schoenebeck
File length: 59671 byte(s)
Diff to previous 802 , to selected 384
* src/DLS.cpp:
  - further bugfixes regarding DLS write support
* src/dlsdump.cpp:
  - show for every region the name of the referenced sample
  - show file name in quotation marks


Revision 802 - (view) (download) (annotate) - [select for diffs]
Modified Thu Nov 10 19:53:34 2005 UTC (18 years, 4 months ago) by schoenebeck
File length: 59117 byte(s)
Diff to previous 800 , to selected 384
* bugfixes for the last commit batch


Revision 800 - (view) (download) (annotate) - [select for diffs]
Modified Wed Nov 9 20:04:11 2005 UTC (18 years, 4 months ago) by schoenebeck
File length: 58961 byte(s)
Diff to previous 666 , to selected 384
* src/RIFF.cpp, src/RIFF.h:
  - Chunk::LoadChunkData() can now be called again to resize the buffer
    after a Chunk::Resize() and before the File::Save() call to allow
    placing the new data in the chunk's write buffer and perform the
    resize and write operations in one rush
* src/DLS.cpp, src/DLS.h:
  - fixed loading of Articulation Connections (<artl> list chunks were
    seeked instead of ordinary <artl> data chunks)
  - added write support (highly experimental)


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: 21579 byte(s)
Diff to previous 518 , to selected 384
* added support for gig v3 multi-file format


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: 21423 byte(s)
Diff to previous 515 , to selected 384
* 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 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: 20926 byte(s)
Diff to previous 384
* 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 384 - (view) (download) (annotate) - [selected]
Modified Thu Feb 17 02:22:26 2005 UTC (19 years, 1 month ago) by schoenebeck
File length: 20952 byte(s)
Diff to previous 317
* 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 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: 20952 byte(s)
Diff to previous 55 , to selected 384
* 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 55 - (view) (download) (annotate) - [select for diffs]
Modified Tue Apr 27 09:06:07 2004 UTC (19 years, 11 months ago) by schoenebeck
File length: 20430 byte(s)
Diff to previous 11 , to selected 384
updated copyright header for 2004


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: 20430 byte(s)
Diff to previous 2 , to selected 384
* 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, 5 months ago) by schoenebeck
File length: 20121 byte(s)
Diff to selected 384
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