[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
The Data Block may be devided into several sub-blocks of data.
Each Block starts with the Block-Id Byte ( offset + 0 )
Block-Types :
Terminator (0)
Marks the End of the VOC-file
ew Voice Block (1)
This is the normal Data Block
offset+1-3 = Blocklength
offset+4 = SampleRate -1000000 / (sr - 256)
offset+5 = Pack Byte
0 = unpacked 1 = 4 Bit
2 = 2.6 Bit 3 = 2 Bit
offset+6 = xxx Voice data
Subsequent Voice Block (2)
is following a 'New Voice Block' without setting new Parameters.
Its purpuse is to divide big Data Blocks to fit into one Segment
offset + 1-3 = Blocklength
offset + 4 = xxx Voice data
Silence Block (3)
This Sub-block defines a silence period in the voice data
( not supported yet )
offset + 1-3 = Blocklenght ( 3 byte )
offset + 4-5 = Period ( Number of ZeroBytes )
offset + 6 = Sample Rate
Marker Block (4)
Specifies a Marker in the voice data, so the calling programm can
synchronize with the Sound ( not supported yet )
offset + 1-3 = Blocklength ( 2 byte )
offset + 4-5 = Marker byte
Message Block (5)
You can store a null-terminated string here.
offset + 1-3 = Blocklength
offset + 4-x = ASCII - Data
0h = Endbyte
Repeat Block (6)
Specifies the beginning of a repeat loop
( not supported yet )
offset + 1-3 = Blocklenght ( 2 byte )
offset + 4-5 = Repeat Counter 0-FFFE, FFFF=NeverendingStory
Repeat End Block (7)
Marks the end of a Repeat Loop
offset + 1-3 = Blocklength ( 0 byte 0
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson