Home » Archimedes archive » Micro User » MU 1992-02.adf » PD » !PlayerMod/UserBits/!Format
!PlayerMod/UserBits/!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 1992-02.adf » PD |
Filename: | !PlayerMod/UserBits/!Format |
Read OK: | ✔ |
File size: | 0587 bytes |
Load address: | 0000 |
Exec address: | 0000 |
File contents
| > UserBits.!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 55 73 65 72 42 69 74 73 2e 21 46 6f || > UserBits.!Fo| 00000010 72 6d 61 74 0a 7c 20 20 20 49 6e 66 6f 72 6d 61 |rmat.| Informa| 00000020 74 69 6f 6e 20 61 62 6f 75 74 20 76 61 72 69 6f |tion about vario| 00000030 75 73 20 53 6f 75 6e 64 20 54 72 61 63 6b 65 72 |us Sound Tracker| 00000040 20 66 6f 72 6d 61 74 73 0a 0a 2d 2d 2d 2d 2d 2d | formats..------| 00000050 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d |----------------| * 00000080 2d 2d 2d 2d 2d 2d 2d 2d 2d 0a 0a 54 68 65 72 65 |---------..There| 00000090 20 61 72 65 20 6e 6f 77 20 71 75 69 74 65 20 61 | are now quite a| 000000a0 20 66 65 77 20 64 69 66 66 65 72 65 6e 74 20 66 | few different f| 000000b0 69 6c 65 20 66 6f 72 6d 61 74 73 20 28 73 6f 6d |ile formats (som| 000000c0 65 20 77 69 74 68 20 74 68 65 0a 73 61 6d 65 20 |e with the.same | 000000d0 66 69 6c 65 74 79 70 65 20 21 29 20 66 6f 72 20 |filetype !) for | 000000e0 53 6f 75 6e 64 20 54 72 61 63 6b 65 72 20 73 6f |Sound Tracker so| 000000f0 6e 67 73 2c 20 73 61 6d 70 6c 65 73 2c 20 65 74 |ngs, samples, et| 00000100 63 2e 20 20 49 20 68 61 76 65 0a 6a 75 73 74 20 |c. I have.just | 00000110 68 61 64 20 74 6f 20 77 6f 72 6b 20 6f 75 74 20 |had to work out | 00000120 21 54 72 61 63 6b 65 72 27 73 20 73 69 6d 70 6c |!Tracker's simpl| 00000130 65 20 73 61 6d 70 6c 65 20 66 6f 72 6d 61 74 2c |e sample format,| 00000140 20 20 61 6e 64 20 74 68 69 73 0a 69 73 20 64 65 | and this.is de| 00000150 74 61 69 6c 65 64 20 20 62 65 6c 6f 77 2e 20 20 |tailed below. | 00000160 49 20 68 6f 70 65 20 74 68 61 74 20 6f 74 68 65 |I hope that othe| 00000170 72 73 20 20 77 69 6c 6c 20 61 64 64 20 20 6f 74 |rs will add ot| 00000180 68 65 72 20 66 6f 72 6d 61 74 20 0a 64 65 74 61 |her format .deta| 00000190 69 6c 73 20 28 2b 63 6f 72 72 65 63 74 20 77 72 |ils (+correct wr| 000001a0 6f 6e 67 20 64 65 74 61 69 6c 73 20 21 29 20 69 |ong details !) i| 000001b0 6e 20 64 75 65 20 63 6f 75 72 73 65 2e 0a 0a 50 |n due course...P| 000001c0 6c 65 61 73 65 20 64 6f 20 6e 6f 74 20 73 65 70 |lease do not sep| 000001d0 61 72 61 74 65 20 74 68 69 73 20 66 69 6c 65 20 |arate this file | 000001e0 66 72 6f 6d 20 69 74 73 20 61 70 70 6c 69 63 61 |from its applica| 000001f0 74 69 6f 6e 20 21 0a 0a 4e 69 63 6b 20 53 6d 69 |tion !..Nick Smi| 00000200 74 68 2c 20 32 39 2d 44 65 63 2d 39 30 0a 0a 2d |th, 29-Dec-90..-| 00000210 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d |----------------| * 00000240 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 0a 0a |--------------..| 00000250 49 6e 66 6f 20 3a 20 53 61 76 65 64 20 53 61 6d |Info : Saved Sam| 00000260 70 6c 65 20 64 61 74 61 2e 0a 46 72 6f 6d 20 3a |ple data..From :| 00000270 20 21 54 72 61 63 6b 65 72 20 61 70 70 6c 69 63 | !Tracker applic| 00000280 61 74 69 6f 6e 2c 20 76 30 2e 39 38 2c 20 28 63 |ation, v0.98, (c| 00000290 29 20 53 65 72 69 61 6c 20 50 6f 72 74 20 31 39 |) Serial Port 19| 000002a0 39 30 0a 54 79 70 65 20 3a 20 26 43 42 35 2c 20 |90.Type : &CB5, | 000002b0 22 53 54 53 61 6d 70 6c 65 22 0a 0a 20 20 24 30 |"STSample".. $0| 000002c0 20 20 20 22 53 41 4d 50 22 0a 20 20 21 34 20 20 | "SAMP". !4 | 000002d0 20 46 69 6c 65 20 66 69 65 6c 64 20 6c 65 6e 67 | File field leng| 000002e0 74 68 20 28 69 65 2c 20 74 6f 74 61 6c 20 66 69 |th (ie, total fi| 000002f0 6c 65 20 6c 65 6e 67 74 68 2d 38 20 62 79 74 65 |le length-8 byte| 00000300 73 29 0a 20 20 24 38 20 20 20 22 53 4e 41 4d 22 |s). $8 "SNAM"| 00000310 0a 20 21 31 32 20 20 20 53 61 6d 70 6c 65 20 6e |. !12 Sample n| 00000320 61 6d 65 20 66 69 65 6c 64 20 6c 65 6e 67 74 68 |ame field length| 00000330 20 28 32 30 29 0a 20 24 31 36 20 20 20 6e 61 6d | (20). $16 nam| 00000340 65 20 73 74 72 69 6e 67 0a 20 24 33 36 20 20 20 |e string. $36 | 00000350 22 53 56 4f 4c 22 0a 20 21 34 30 20 20 20 53 61 |"SVOL". !40 Sa| 00000360 6d 70 6c 65 20 76 6f 6c 75 6d 65 20 66 69 65 6c |mple volume fiel| 00000370 64 20 6c 65 6e 67 74 68 20 28 34 29 0a 20 21 34 |d length (4). !4| 00000380 34 20 20 20 53 61 6d 70 6c 65 20 76 6f 6c 75 6d |4 Sample volum| 00000390 65 20 6c 65 6e 67 74 68 20 28 30 2d 32 35 35 29 |e length (0-255)| 000003a0 0a 20 24 34 38 20 20 20 22 53 4c 45 4e 22 0a 20 |. $48 "SLEN". | 000003b0 21 35 32 20 20 20 53 61 6d 70 6c 65 20 6c 65 6e |!52 Sample len| 000003c0 67 74 68 20 66 69 65 6c 64 20 6c 65 6e 67 74 68 |gth field length| 000003d0 20 28 34 29 0a 20 21 35 36 20 20 20 53 61 6d 70 | (4). !56 Samp| 000003e0 6c 65 20 6c 65 6e 67 74 68 0a 20 24 36 30 20 20 |le length. $60 | 000003f0 20 22 52 4f 46 53 22 0a 20 21 36 34 20 20 20 52 | "ROFS". !64 R| 00000400 65 70 65 61 74 20 4f 66 66 73 65 74 20 66 69 65 |epeat Offset fie| 00000410 6c 64 20 6c 65 6e 67 74 68 20 28 34 29 0a 20 21 |ld length (4). !| 00000420 36 38 20 20 20 52 65 70 65 61 74 20 4f 66 66 73 |68 Repeat Offs| 00000430 65 74 20 70 6f 73 69 74 69 6f 6e 2c 20 30 20 66 |et position, 0 f| 00000440 6f 72 20 6e 6f 20 72 65 70 65 61 74 20 6f 6e 20 |or no repeat on | 00000450 74 68 69 73 20 73 61 6d 70 6c 65 0a 20 24 37 32 |this sample. $72| 00000460 20 20 20 22 52 4c 45 4e 22 0a 20 21 37 36 20 20 | "RLEN". !76 | 00000470 20 52 65 70 65 61 74 20 6c 65 6e 67 74 68 20 66 | Repeat length f| 00000480 69 65 6c 64 20 6c 65 6e 67 74 68 20 28 34 29 0a |ield length (4).| 00000490 20 21 38 30 20 20 20 52 65 70 65 61 74 20 6c 65 | !80 Repeat le| 000004a0 6e 67 74 68 2c 20 32 20 66 6f 72 20 6e 6f 20 72 |ngth, 2 for no r| 000004b0 65 70 65 61 74 20 6f 6e 20 74 68 69 73 20 73 61 |epeat on this sa| 000004c0 6d 70 6c 65 0a 20 24 38 34 20 20 20 22 53 44 41 |mple. $84 "SDA| 000004d0 54 22 0a 20 21 38 38 20 20 20 53 61 6d 70 6c 65 |T". !88 Sample| 000004e0 20 64 61 74 61 20 66 69 65 6c 64 20 6c 65 6e 67 | data field leng| 000004f0 74 68 20 28 69 65 2c 20 6c 65 6e 67 74 68 20 6f |th (ie, length o| 00000500 66 20 64 61 74 61 20 3d 20 21 35 36 29 0a 20 20 |f data = !56). | 00000510 39 32 20 20 20 53 61 6d 70 6c 65 20 64 61 74 61 |92 Sample data| 00000520 2c 20 38 2d 62 69 74 20 6c 6f 67 61 72 69 74 68 |, 8-bit logarith| 00000530 6d 69 63 20 66 6f 72 6d 61 74 2e 2e 2e 2e 2e 0a |mic format......| 00000540 0a 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d |.---------------| 00000550 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d |----------------| * 00000580 0a 0a 65 6e 64 2e 0a |..end..| 00000587