Customizing & Branding Your ReadiVoice System
Proprietary & Confidential 177
• GERMAN
• JAPANESE
• SPANISH
• SWEDISH
The Language chunk consists of the chunk identifier (
lang
), the size of the data
member (
DWORD
), and the two-byte integer (
WORD
) language field. In RIFF
notation:
<lang-ck> ->
lang( // chunk ID
<size:DWORD> // data member size
<language:WORD>) // language
Index Chunk
The Index chunk identifies the starting position (offset) and length of each
segment (sound clip) in the file. The chunk begins with the chunk identifier
bmak
(for “bridge multi-access key”). This is followed by a 4-byte integer
(
DWORD
) containing the length in bytes of the Index chunk’s data member (that
is, the size of the chunk, not including the chunk ID and size fields).
The data member itself begins with a 4-byte integer (
DWORD
) specifying the
number of index entries. This is followed by the
indexPair
struct containing
the actual index data. In RIFF notation:
<bmak-ck> ->
bmak( // chunk ID
<size:DWORD> // size of index chunk
<numIdxPairs:DWORD> // number of index pairs
<indexPair> …) // index pair list
<indexPair> ->
struct
{
DWORD offset; // Absolute offset of
// segment, in bytes.
DWORD length; // Length of segment, in bytes.
}