home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / music / 5865 < prev    next >
Encoding:
Text File  |  1993-01-03  |  3.4 KB  |  104 lines

  1. Newsgroups: comp.music
  2. Path: sparky!uunet!mcsun!fuug!funic!nntp.hut.fi!vipunen.hut.fi!plaiho
  3. From: plaiho@vipunen.hut.fi (Pertti V P Laiho)
  4. Subject: Re: ___ ROL format ___
  5. Message-ID: <1993Jan3.121818.19942@nntp.hut.fi>
  6. Sender: usenet@nntp.hut.fi (Usenet pseudouser id)
  7. Nntp-Posting-Host: vipunen.hut.fi
  8. Reply-To: plaiho@vipunen.hut.fi (Pertti V P Laiho)
  9. Organization: Helsinki University of Technology
  10. References: <721@vercors.frec.bull.fr>
  11. Date: Sun, 3 Jan 1993 12:18:18 GMT
  12. Lines: 90
  13.  
  14. In article <721@vercors.frec.bull.fr> frank@mapd.frec.bull.fr () writes:
  15. >Does anyone have the details of .ROL files used by AdLib and compatible
  16. >cards on PC? I need it for my Turbo C ROL editor...
  17. >Thanx.
  18.  
  19. OK. Here it is...
  20.  
  21.  
  22. From: holmes@mrx.webo.dg.com (Chris Holmes)
  23. Subject: Adlib .ROL file format
  24. Date: Wed, 26 Aug 92 12:04:43 GMT
  25.  
  26. I requested this a while back and got a couple of requests for a summary,
  27. so here goes:
  28.  
  29. Files containing note information (i.e. songs) are suffixed with ".ROL".
  30. ("File version" and "editing scale" are non-musical information used by Visual
  31. Composer (TM).)
  32.  
  33. Structure of .ROL files:
  34. __________________________________________________________________
  35.  
  36. fld #   size   type     description
  37.         (bytes)
  38.  
  39. 1       2       int     file version, major
  40. 2       2       int     file version, minor
  41. 3       40      char    unused
  42. 4       2       int     ticks per beat
  43. 5       2       int     beats per measure
  44. 6       2       int     editing scale (Y axis)
  45. 7       2       int     editing scale (X axis)
  46. 8       1       char    unused
  47. 9       1       char    0 = percussive mode
  48.                         1 = melodic mode
  49. 10      90      char    unused
  50. 11      38      char    filler
  51. 12      15      char    filler
  52. 13      4       float   basic tempo
  53.  
  54. Field 14 indicates the number of times to repeat fields 15 and 16:
  55.  
  56. 14      2       int     number of tempo events
  57. 15      2       int     time of events, in ticks
  58. 16      4       float   tempo multiplier (0.01 - 10.0)
  59.  
  60. The remaining fields (17 to 34) are to be repeated for each of 11 voices:
  61.  
  62. 17      15      char    filler
  63. 18      2       int     time (in ticks) of last note +1
  64.  
  65. Repeat the next two fields (19 and 20) while the summation of field 20 is
  66. less than the value of field 18:
  67.  
  68. 19      2       int     note number: 0 => silence
  69.                         from 12 to 107 => normal note (you must
  70.                         subtract 60 to obtain the correct value
  71.                         for the sound driver)
  72. 20      2       int     note duration, in ticks
  73. 21      15      char    filler
  74.  
  75. Field 22 indicates the number of times to repeat fields 23 to 26:
  76.  
  77. 22      2       int     number of instrument events
  78. 23      2       int     time of events, in ticks
  79. 24      9       char    instrument name
  80. 25      1       char    filler
  81. 26      2       int     unused
  82. 27      15      char    filler
  83.  
  84. Field 28 indicates the number of times to repeat fields 29 and 30:
  85.  
  86. 28      2       int     number of volume events
  87. 29      2       int     time of events, in ticks
  88. 30      4       float   volume multiplier (0.0 - 1.0)
  89. 31      15      char    filler
  90.  
  91. Field 32 indicates the number of times to repeat fields 33 and 34:
  92.  
  93. 32      2       int     number of pitch events
  94. 33      2       int     time of events, in ticks
  95. 34      4       float   pitch variation (0.0 - 2.0, nominal is 1.0)
  96.  
  97. Notes
  98. _____
  99.  
  100. Fields #1 and #2 should be set to 0 and 4 respectively. Field #10 should
  101. be filled with zeros.
  102.  
  103.  
  104.