home *** CD-ROM | disk | FTP | other *** search
/ Large Pack of OldSkool DOS MOD Trackers / akm-mt20.zip / AKMTRK1.DOC < prev    next >
Text File  |  1995-02-26  |  5KB  |  105 lines

  1. ;┌──────────────────────────────┐
  2. ;│MASTER TRACKER 1.1 AKMTRK1.OBJ│
  3. ;│BY [PYRO-FYRE]/ARKHAM 28/02/94│
  4. ;└──────────────────────────────┘
  5.  
  6.   This document is intended for the experienced programmer with knowledge of
  7. a good deal of assembly and the 386. 
  8.  
  9.   This is the documentation for the MASTER TRACKER 1.1 AKMTRK1.OBJ. 
  10. I realise that several ADLIB players exist on the PC but the editors was never
  11. present with the routines for using in demos.
  12. And i think the Sound Blaster is not a good device to play several digitized
  13. voices when you have a slow PC because this system use a lot of time of the
  14. CPU.
  15. The FM music is quite fast when you use only 4 voices with an ADLIB or SB.
  16. With the new fast registers of the SBPRO/SB16 and GUS, you can use 9 voices
  17. without spend a lot of CPU time!
  18. I think a demo is more good when you use FM music. I think the only GUS demos 
  19. are not fantastic without song when you haven't a GUS (arrrg, I haven't got 
  20. a GUS) and a simple FM music is welcommed!
  21.  
  22.   This code and the .OBJ file were writen by [PYRO-FYRE] from ARKHAM.
  23. If you want to use this thing as it is though, you will have to code in 100% 
  24. ASM. But it could be adapted on other language easilly: my editor 
  25. MASTERTRACKER use these routines with a simple BASIC language.
  26.  
  27. This program don't support the new mtr file format used by ARKHAM 
  28. MASTERTRACKER 2.0  because it is not ready and use the REAL FLAT MODE!
  29. We are in real mode then the music file mustn't be longer than 65536 bytes!
  30. You must write your music with the versions 1.0 or 1.1 of our MASTERTRACKER.
  31.  
  32. The music files formats .MTR are composed by:
  33. ---------------------------------------------
  34. '-------------------------
  35. 'FILE FORMAT:      LENGTH
  36. '-------------------------
  37. 'INFORMATION      | 0050 | MTRACK NOM_MUSIQUE (20 CHAR) 00 (NBVOICES%-1) 00 (NB PATTERN-1) 00 (LENGTH) 01F3 (RESTART)  00000000 (LONGUEUR) + CHR(1AH)
  38. 'SPEED            | 0002 |
  39. 'DEVICE           | 0001 | 0=SPK 1=ADL 2=SBP ;NOT USED NOW 
  40. 'POSITIONS        | 0256 |
  41. 'VOICES TYPE      | 0256 |
  42. '-------------------------
  43. 'INSTRUMENTS:     | 4096 | (TOTAL BYTES, 64 INSTRUMENTS)
  44. '-------------------------
  45. 'INSTRUM NAME     | 0020 |
  46. 'DATAS            | 0044 | (TOTAL BYTES, 1 INSTRUMENT
  47. 'IDENTIFICATION---|------|------|
  48. '                 | 0001 | 0001 | IDENTIFICATION: THIS BYTE=02 WHEN IT IS USED OR 00 WHEN NOT.
  49. '1° OPPERATOR-----|------|------|
  50. '                 |      | 0004B| MODULATOR FREQUECY MULTIPLE
  51. '                 |      | 0001B| KSR
  52. '                 |      | 0001B| EG TYPE
  53. '                 |      | 0001B| VIBRATO
  54. '                 |      | 0001B| AMPLITUDE MODULATION
  55. '                 |      |      |
  56. '                 |      | 0006B| TOTAL LEVEL
  57. '                 |      | 0002B| SCALING LEVEL
  58. '                 |      |      |
  59. '                 |      | 0004B| DECAY RATE
  60. '                 |      | 0004B| ATTACK RATE
  61. '                 |      |      |
  62. '                 |      | 0004B| RELEASE RATE
  63. '                 |      | 0004B| SUBSTAIN LEVEL
  64. '                 |      |      |
  65. '                 |      | 0001B| ALGORITHM
  66. '                 |      | 0003B| CONNECTION
  67. '                 |      |      |
  68. '                 |      | 0002B| WAVEFORM SELECT
  69. '                 |      | 0004B| MODULATOR FREQUECY MULTIPLE
  70. '                 |      | 0001B| KSR
  71. '                 |      | 0001B| EG TYPE
  72. '                 |      | 0001B| VIBRATO
  73. '                 |      | 0001B| AMPLITUDE MODULATION
  74. '2° OPPERATOR-----|------|------|
  75. '                 |      | 0006B| TOTAL LEVEL
  76. '                 |      | 0002B| SCALING LEVEL
  77. '                 |      |      |
  78. '                 |      | 0004B| DECAY RATE
  79. '                 |      | 0004B| ATTACK RATE
  80. '                 |      |      |
  81. '                 |      | 0004B| RELEASE RATE
  82. '                 |      | 0004B| SUBSTAIN LEVEL
  83. '                 |      |      |
  84. '                 |      | 0001B| ALGORITHM
  85. '                 |      | 0003B| CONNECTION
  86. '                 |      |      |
  87. '                 |      | 0002B| WAVEFORM SELECT
  88. ' OTHER BYTES UNUSED     |      |
  89. '-------------------------
  90. 'PATTERN          | ???? | ????=NUMBER OF VOICES * NUMBER OF PATTERN * 256 -> MAX=65536
  91. '-------------------------
  92.  
  93. Now you can use easilly this new ADLIB player in your demos and create 
  94. yourself your music.
  95.  
  96. Attention: if you encounter some synchro problem when you do some animation,
  97. you can increment or decrement the value of the 'PUBLIC SPEED:WORD' because
  98. the interruption if generaly called 70 times per second as your monitor in
  99. several screens modes!
  100.  
  101. See you for new quality production from ARKHAM!
  102.                                                          [PYRO-FYRE]/ARKHAM
  103.  
  104. (Sorry for my bad english.)
  105.