home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Sound / Tracker / DC-DB212.LHA / docs / DBM-FileFormat.txt next >
Encoding:
Text File  |  1991-05-07  |  3.3 KB  |  72 lines

  1. Digi Booster PRO - DBM0 file format by Tap of Inv
  2.  
  3. DBM is Iff like format.  It means that module consists of hunks.  Each hunk
  4. has a 4 bytes identification and after that hunk length (LWORD - 4bytes).
  5.  
  6. If  the  module  doesn't  consist  of  one  hunk, for example VENV - volume
  7. envelope  hunk  that  will  mean  this  module  doesn't use volume envelope
  8. effect.
  9.  
  10. These hunks DBM module should always consits of:
  11. NAME, INFO, SONG, INST, PATT, SMPL
  12.  
  13.  Offset  Length
  14.  
  15.    0       4      |   ID "DBM0" - module identification
  16.    4       2      |   tracker version:
  17.                   |   eg. $0200 - version 2.00
  18.    6       2      |   reserved
  19. ------------------------------------------------------------
  20.    8       4      |   ID "NAME" - module name hunk identification
  21.   +4       4      |   hunk length
  22.   +8      44      |   mod name
  23. ------------------------------------------------------------
  24.   ???      4      |   ID "INFO" 
  25.   +4       4      |   hunk length
  26.   +8       2      |   number of instruments in module
  27.  +10       2      |   number of samples in module
  28.  +12       2      |   number of songs in module
  29.  +14       2      |   number of patterns in module
  30.  +16       2      |   number of channels
  31. ------------------------------------------------------------
  32.   ???      4      |   ID "SONG" - songs hunk identification
  33.   +4       4      |   hunk length
  34.  +12      44      |   song name 
  35.  +56       2      |   number of orders for this song
  36.  +58      ???     |   order list (words) NOTE: Each order list can use
  37.                   |                            the same numbers of patterns.
  38. ------------------------------------------------------------
  39.   ???      4      |   ID "INST" - instruments hunk identification
  40.   +4       4      |   hunk length
  41.   +8      30      |   instrument name
  42.  +38       2      |   sample number used in this instrument
  43.  +40       2      |   instrument volume
  44.  +42       4      |   instrument finetune (stored in HZ)
  45.  +46       4      |   instrument repeat start
  46.  +50       4      |   instrument repeat length
  47.  +54       4      |   flags:
  48.                   |                        bit 0 set - forward loop uesd
  49.                   |                        bit 1 set - ping pong loop uesd
  50. ------------------------------------------------------------
  51.   ???      4      |   ID "PATT" - patterns hunk identification
  52.   +4       4      |   hunk length
  53.   +8       2      |   number of positions (rows) in pattern
  54.  +10       4      |   size of packed data
  55.  +14      ???     |   packed pattern data
  56. ------------------------------------------------------------
  57.   ???      4      |   ID "SMPL" - samples hunk identification
  58.   +4       4      |   hunk length
  59.   +8       4      |   flags:
  60.                   |                        bit 0 set - 8 bit sample
  61.                   |                        bit 1 set - 16 bit sample
  62.                   |                        bit 2 set - 32 bit sample
  63.  +12       4      |   sample length
  64.  +16      ???     |   sample data (unsigned)
  65. ------------------------------------------------------------
  66.   ???      4      |   ID "VENV" - volume envelopes hunk identification
  67.   +4       4      |   hunk length
  68.   +8       2      |   how many volume envelope tables does this hunk contain
  69.  +10       2      |   to which instrument this volume envelope data belongs
  70.  +12     134      |   volume envelope data
  71. ------------------------------------------------------------
  72.