Home » Archimedes archive » Micro User » MU 1991-10.adf » PD-Stuff » Music/!PlayerMod/Bits/!Format

Music/!PlayerMod/Bits/!Format

This website contains an archive of files for the Acorn Electron, BBC Micro, Acorn Archimedes, Commodore 16 and Commodore 64 computers, which Dominic Ford has rescued from his private collection of floppy disks and cassettes.

Some of these files were originally commercial releases in the 1980s and 1990s, but they are now widely available online. I assume that copyright over them is no longer being asserted. If you own the copyright and would like files to be removed, please contact me.

Tape/disk: Home » Archimedes archive » Micro User » MU 1991-10.adf » PD-Stuff
Filename: Music/!PlayerMod/Bits/!Format
Read OK:
File size: 057E bytes
Load address: 0000
Exec address: 0000
Duplicates

There is 1 duplicate copy of this file in the archive:

File contents
| > !Format
|   Information about various Sound Tracker formats

---------------------------------------------------------------

There are now quite a few different file formats (some with the
same filetype !) for Sound Tracker songs, samples, etc.  I have
just had to work out !Tracker's simple sample format,  and this
is detailed  below.  I hope that others  will add  other format 
details (+correct wrong details !) in due course.

Please do not separate this file from its application !

Nick Smith, 29-Dec-90

---------------------------------------------------------------

Info : Saved Sample data.
From : !Tracker application, v0.98, (c) Serial Port 1990
Type : &CB5, "STSample"

  $0   "SAMP"
  !4   File field length (ie, total file length-8 bytes)
  $8   "SNAM"
 !12   Sample name field length (20)
 $16   name string
 $36   "SVOL"
 !40   Sample volume field length (4)
 !44   Sample volume length (0-255)
 $48   "SLEN"
 !52   Sample length field length (4)
 !56   Sample length
 $60   "ROFS"
 !64   Repeat Offset field length (4)
 !68   Repeat Offset position, 0 for no repeat on this sample
 $72   "RLEN"
 !76   Repeat length field length (4)
 !80   Repeat length, 2 for no repeat on this sample
 $84   "SDAT"
 !88   Sample data field length (ie, length of data = !56)
  92   Sample data, 8-bit logarithmic format.....

---------------------------------------------------------------

end.
00000000  7c 20 3e 20 21 46 6f 72  6d 61 74 0a 7c 20 20 20  || > !Format.|   |
00000010  49 6e 66 6f 72 6d 61 74  69 6f 6e 20 61 62 6f 75  |Information abou|
00000020  74 20 76 61 72 69 6f 75  73 20 53 6f 75 6e 64 20  |t various Sound |
00000030  54 72 61 63 6b 65 72 20  66 6f 72 6d 61 74 73 0a  |Tracker formats.|
00000040  0a 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |.---------------|
00000050  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |----------------|
*
00000080  0a 0a 54 68 65 72 65 20  61 72 65 20 6e 6f 77 20  |..There are now |
00000090  71 75 69 74 65 20 61 20  66 65 77 20 64 69 66 66  |quite a few diff|
000000a0  65 72 65 6e 74 20 66 69  6c 65 20 66 6f 72 6d 61  |erent file forma|
000000b0  74 73 20 28 73 6f 6d 65  20 77 69 74 68 20 74 68  |ts (some with th|
000000c0  65 0a 73 61 6d 65 20 66  69 6c 65 74 79 70 65 20  |e.same filetype |
000000d0  21 29 20 66 6f 72 20 53  6f 75 6e 64 20 54 72 61  |!) for Sound Tra|
000000e0  63 6b 65 72 20 73 6f 6e  67 73 2c 20 73 61 6d 70  |cker songs, samp|
000000f0  6c 65 73 2c 20 65 74 63  2e 20 20 49 20 68 61 76  |les, etc.  I hav|
00000100  65 0a 6a 75 73 74 20 68  61 64 20 74 6f 20 77 6f  |e.just had to wo|
00000110  72 6b 20 6f 75 74 20 21  54 72 61 63 6b 65 72 27  |rk out !Tracker'|
00000120  73 20 73 69 6d 70 6c 65  20 73 61 6d 70 6c 65 20  |s simple sample |
00000130  66 6f 72 6d 61 74 2c 20  20 61 6e 64 20 74 68 69  |format,  and thi|
00000140  73 0a 69 73 20 64 65 74  61 69 6c 65 64 20 20 62  |s.is detailed  b|
00000150  65 6c 6f 77 2e 20 20 49  20 68 6f 70 65 20 74 68  |elow.  I hope th|
00000160  61 74 20 6f 74 68 65 72  73 20 20 77 69 6c 6c 20  |at others  will |
00000170  61 64 64 20 20 6f 74 68  65 72 20 66 6f 72 6d 61  |add  other forma|
00000180  74 20 0a 64 65 74 61 69  6c 73 20 28 2b 63 6f 72  |t .details (+cor|
00000190  72 65 63 74 20 77 72 6f  6e 67 20 64 65 74 61 69  |rect wrong detai|
000001a0  6c 73 20 21 29 20 69 6e  20 64 75 65 20 63 6f 75  |ls !) in due cou|
000001b0  72 73 65 2e 0a 0a 50 6c  65 61 73 65 20 64 6f 20  |rse...Please do |
000001c0  6e 6f 74 20 73 65 70 61  72 61 74 65 20 74 68 69  |not separate thi|
000001d0  73 20 66 69 6c 65 20 66  72 6f 6d 20 69 74 73 20  |s file from its |
000001e0  61 70 70 6c 69 63 61 74  69 6f 6e 20 21 0a 0a 4e  |application !..N|
000001f0  69 63 6b 20 53 6d 69 74  68 2c 20 32 39 2d 44 65  |ick Smith, 29-De|
00000200  63 2d 39 30 0a 0a 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |c-90..----------|
00000210  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |----------------|
*
00000240  2d 2d 2d 2d 2d 0a 0a 49  6e 66 6f 20 3a 20 53 61  |-----..Info : Sa|
00000250  76 65 64 20 53 61 6d 70  6c 65 20 64 61 74 61 2e  |ved Sample data.|
00000260  0a 46 72 6f 6d 20 3a 20  21 54 72 61 63 6b 65 72  |.From : !Tracker|
00000270  20 61 70 70 6c 69 63 61  74 69 6f 6e 2c 20 76 30  | application, v0|
00000280  2e 39 38 2c 20 28 63 29  20 53 65 72 69 61 6c 20  |.98, (c) Serial |
00000290  50 6f 72 74 20 31 39 39  30 0a 54 79 70 65 20 3a  |Port 1990.Type :|
000002a0  20 26 43 42 35 2c 20 22  53 54 53 61 6d 70 6c 65  | &CB5, "STSample|
000002b0  22 0a 0a 20 20 24 30 20  20 20 22 53 41 4d 50 22  |"..  $0   "SAMP"|
000002c0  0a 20 20 21 34 20 20 20  46 69 6c 65 20 66 69 65  |.  !4   File fie|
000002d0  6c 64 20 6c 65 6e 67 74  68 20 28 69 65 2c 20 74  |ld length (ie, t|
000002e0  6f 74 61 6c 20 66 69 6c  65 20 6c 65 6e 67 74 68  |otal file length|
000002f0  2d 38 20 62 79 74 65 73  29 0a 20 20 24 38 20 20  |-8 bytes).  $8  |
00000300  20 22 53 4e 41 4d 22 0a  20 21 31 32 20 20 20 53  | "SNAM". !12   S|
00000310  61 6d 70 6c 65 20 6e 61  6d 65 20 66 69 65 6c 64  |ample name field|
00000320  20 6c 65 6e 67 74 68 20  28 32 30 29 0a 20 24 31  | length (20). $1|
00000330  36 20 20 20 6e 61 6d 65  20 73 74 72 69 6e 67 0a  |6   name string.|
00000340  20 24 33 36 20 20 20 22  53 56 4f 4c 22 0a 20 21  | $36   "SVOL". !|
00000350  34 30 20 20 20 53 61 6d  70 6c 65 20 76 6f 6c 75  |40   Sample volu|
00000360  6d 65 20 66 69 65 6c 64  20 6c 65 6e 67 74 68 20  |me field length |
00000370  28 34 29 0a 20 21 34 34  20 20 20 53 61 6d 70 6c  |(4). !44   Sampl|
00000380  65 20 76 6f 6c 75 6d 65  20 6c 65 6e 67 74 68 20  |e volume length |
00000390  28 30 2d 32 35 35 29 0a  20 24 34 38 20 20 20 22  |(0-255). $48   "|
000003a0  53 4c 45 4e 22 0a 20 21  35 32 20 20 20 53 61 6d  |SLEN". !52   Sam|
000003b0  70 6c 65 20 6c 65 6e 67  74 68 20 66 69 65 6c 64  |ple length field|
000003c0  20 6c 65 6e 67 74 68 20  28 34 29 0a 20 21 35 36  | length (4). !56|
000003d0  20 20 20 53 61 6d 70 6c  65 20 6c 65 6e 67 74 68  |   Sample length|
000003e0  0a 20 24 36 30 20 20 20  22 52 4f 46 53 22 0a 20  |. $60   "ROFS". |
000003f0  21 36 34 20 20 20 52 65  70 65 61 74 20 4f 66 66  |!64   Repeat Off|
00000400  73 65 74 20 66 69 65 6c  64 20 6c 65 6e 67 74 68  |set field length|
00000410  20 28 34 29 0a 20 21 36  38 20 20 20 52 65 70 65  | (4). !68   Repe|
00000420  61 74 20 4f 66 66 73 65  74 20 70 6f 73 69 74 69  |at Offset positi|
00000430  6f 6e 2c 20 30 20 66 6f  72 20 6e 6f 20 72 65 70  |on, 0 for no rep|
00000440  65 61 74 20 6f 6e 20 74  68 69 73 20 73 61 6d 70  |eat on this samp|
00000450  6c 65 0a 20 24 37 32 20  20 20 22 52 4c 45 4e 22  |le. $72   "RLEN"|
00000460  0a 20 21 37 36 20 20 20  52 65 70 65 61 74 20 6c  |. !76   Repeat l|
00000470  65 6e 67 74 68 20 66 69  65 6c 64 20 6c 65 6e 67  |ength field leng|
00000480  74 68 20 28 34 29 0a 20  21 38 30 20 20 20 52 65  |th (4). !80   Re|
00000490  70 65 61 74 20 6c 65 6e  67 74 68 2c 20 32 20 66  |peat length, 2 f|
000004a0  6f 72 20 6e 6f 20 72 65  70 65 61 74 20 6f 6e 20  |or no repeat on |
000004b0  74 68 69 73 20 73 61 6d  70 6c 65 0a 20 24 38 34  |this sample. $84|
000004c0  20 20 20 22 53 44 41 54  22 0a 20 21 38 38 20 20  |   "SDAT". !88  |
000004d0  20 53 61 6d 70 6c 65 20  64 61 74 61 20 66 69 65  | Sample data fie|
000004e0  6c 64 20 6c 65 6e 67 74  68 20 28 69 65 2c 20 6c  |ld length (ie, l|
000004f0  65 6e 67 74 68 20 6f 66  20 64 61 74 61 20 3d 20  |ength of data = |
00000500  21 35 36 29 0a 20 20 39  32 20 20 20 53 61 6d 70  |!56).  92   Samp|
00000510  6c 65 20 64 61 74 61 2c  20 38 2d 62 69 74 20 6c  |le data, 8-bit l|
00000520  6f 67 61 72 69 74 68 6d  69 63 20 66 6f 72 6d 61  |ogarithmic forma|
00000530  74 2e 2e 2e 2e 2e 0a 0a  2d 2d 2d 2d 2d 2d 2d 2d  |t.......--------|
00000540  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |----------------|
*
00000570  2d 2d 2d 2d 2d 2d 2d 0a  0a 65 6e 64 2e 0a        |-------..end..|
0000057e