Voice Packet; Table 28 Encode Packet - Digital Voice Systems Net-2000 User Manual

Voice codec unit
Hide thumbs Also See for Net-2000:
Table of Contents

Advertisement

Net-2000™ Voice Codec Unit
User's Manual

Voice Packet

Voice packets contain the voice data for one frame of voice with the control flags and data needed to
run the encoder. They are also transmitted by the VCU in response to Channel packets when in File
Mode and contain the synthesized speech output by the decoder.
Voice Packet
Bytes
(msb-lsb)
0 – 1
2 – 3
4 – 5
6 – 7
8 – 9
10 – 11
12 – 13
14 – 15
16 – 17
18 – 19
20 – 21
22 – 23
24 – 25
26 – 27
28 – 29
30 – 31
32 – 33
...
344 – 345

Table 28 Encode Packet

Voice packets have the following format described Table 18 and C-language data structure below:
struct voice_packet_t {
short
short
short
short
short
short
short
short
short
};
The size of the Voice packet can vary depending on the number of samples in the voice[] buffer.
The actual number of elements in the voice[] buffer can vary between 159 and 161. The nominal
number of samples is 160. The ws and len elements of the Voice packet should be adjusted to
indicate the actual number of samples in voice[]. The elements of the Voice packet are described
in detail in the following sections.
DVSI Confidential Proprietary
Bit
7 6 5 4 3 2 1 0
0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0
x x x x x x x x
0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0
0 x 0 0 0 0 0 0
0 0 0 0 0 0 0 0
x 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0
0 0 0 0 x x x x
x x x x x x x x
x x x x x x x x
x x x x x x x x
...
x x x x x x x x
len;
type;
seq;
rate[5];
cmode;
tone[2];
ws;
format;
voice[160];
Section 3 – Net-2000™ VCU Control
Bit
7 6 5 4 3 2 1 0
1 1 0 1 1 0 1 0
0 0 0 0 0 0 1 1
x x x x x x x x
1 1 0 0 0 0 1 x
0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0
1 0 x x x x x x
0 x x x x x x x
1 0 x x x x x x
0 0 0 x 0 0 x x
x x x x x x x x
x x x x x x x x
x x x x x x x x
...
x x x x x x x x
Parameter Name
len
type
seq
rate [0]
rate [1]
rate [2]
rate [3]
rate [4]
rate [5
cmode
tone.idx
tone.amp
ws
format
voice [0]
voice[1]
voice [2]
...
voice[159]
Page 41

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Net-2000 and is the answer not in the manual?

Related Products for Digital Voice Systems Net-2000

Table of Contents