home *** CD-ROM | disk | FTP | other *** search
/ Chip 2000 September / Chip_2000-09_cd1.bin / sharewar / Slunec / app / 16 / MOD.SWG / 0025_SPL.pas < prev    next >
Pascal/Delphi Source File  |  1996-09-04  |  2KB  |  32 lines

  1. ╔════════════════════════════════════════════════════════════════════════════╗
  2. ║                          THE SAMPLE-FORMAT  (SPL)                     V0.0 ║
  3. ╚════════════════════════════════════════════════════════════════════════════╝
  4.  
  5. Here  comes  the description for the  old sample-format "SPL", which was
  6. used  in older tracker-versions (V2.0-V2.2). This format isn't supported
  7. any  longer  in Digitrakker, that means you  can  read it, but you can't
  8. save  samples in this form. The reason  for this step was the fact, that
  9. there  are too many sample-formats and it  makes no sense to introduce a
  10. new  one, because the existing IFF-format  nearly contains all infos you
  11. need for a Digitrakker-sample.
  12.  
  13. Offset Lenght Description
  14.  
  15.  000    004     "DSPL"; the four letters mark the spl-format
  16.  004    001     version; the current version is 0
  17.  005    032     sample-name; the name of the sample (filled with [32])
  18.  037    008     filename of the sample
  19.  045    002     C-4 sample-frequency in hz (00000-65535)
  20.  047    004     sample-length
  21.  051    004     sample-repeatstart
  22.  055    004     sample-repeatlength; if this value is set to 0, the sample
  23.  
  24.  059    001     sample-volume (1-255)
  25.  060    001     infobyte:
  26.                  bit 0   -> 0=8 bit sample, 1=16 bit sample
  27.                  bit 1   -> 0=forward looping, 1=bidirectional looping
  28.                  bit 2,3 -> packmethode (0=not packed, methodes 2 and 3 doesn't
  29.                         exist in this version)
  30.                  bit 4-7 -> not used (should be set to 0)
  31.  061    ???     sampledatas... (see above)
  32.