#: 27581 S4/Music Util/Demos
    22-Jul-92  23:04:15
Sb: #27580-#SID format
Fm: John Iannetta 73510,2152
To: alex burger 72450,2273 (X)
 
Alex,
 
          Do you mean an .MUS file?  If that be the case, this is the story.
Call the first byte of the file, byte 0.
 Ignore bytes 0 and 1.  Bytes 2 and 3 are the length of the data for voice 1
(in low byte, high byte form).  Bytes 4 and 5 are for voice 2.  Bytes 6 and 7
are for voice 3.  The data start at byte 8.  After the data, the description
starts.
 
          So the byte number for start of text is:
 
SUM OF THREE LOW BYTES + 256*(SUM OF THREE HIGH BYTES) + 8.  The text ends with
a zero.  Here is a BASIC type-in program for displaying the description:
 
10 z$=chr$(0):printchr$(147)
20 print"enter filename"
30 print:inputa$:open8,8,8,a$
40 print:get#8,a$:get#8,a$
50 gosub200:b=b+a
60 gosub200:b=b+a
70 gosub200:b=b+a
80 fori=1tob:get#8,a$:next
90 get#8,a$:ifa$=""then110
100 printa$;:goto90
110 close8:end
200 get#8,a$:a=asc(a$+z$)
210 get#8,a$:a=a+256*asc(a$+z$)
220 return
 
             John
