Download PRELIMINARY

Transcript
AMBE-3000™ Vocoder Chip Users Manual
Version 1.00, January, 08
PRELIMINARY
Data and Configuration Packets
(Subject to change)
Raw Speech data to be input to the encoder or output from the decoder. The speech is denoted as Speech[0] thru
Speech[2*{samples} -1].Speech[0] is the MS byte of the first sample. Speech[1] is the LS byte of the first sample.
Speech[2*{samples}-2] is the MS byte of the last sample. Speech[2*{samples}-1] is the LS byte of the last sample.
SPEECHD Field - Packet Format
Field Identifier
Number of Samples
1 Byte
1 Byte
0x00
0x9C <= {samples} <= 0xA4
Data
Variable Number of Samples
2 thru 2+2*{samples}-1
Table 42 SPEECHD Field Format
CMODE
CMODE fields is the same as described In the Control Packet Field Description Table 20 CMODE Field Format Description
TONE
TONE field is the same as described In the Control Packet Field Description Table 22 TONE Field Format Description
6.8
Channel Packet Format (Packet Type 0x01)
6.8.1
Channel Packet Fields
The channel packet supports the following packet fields:
Channel Packet Fields
Field Name
Field Identifier
VOCODER_ID
0x40
CHAND
0x01
SAMPLES
0x30
CMODE
0x02
TONE
0x08
Field Length
2 bytes
Variable bytes
2 bytes
3 bytes
3 bytes
Description
The vocoder for subsequent fields
Compressed speech data to be decoded for current vocoder
Number of samples to generate for current decoder frame
CMODE flags for current vocoder’s decoder
Force current vocoder’s decoder to generate tone frame
Table 43 Channel Packet Fields
VOCODER_ID field (2 bytes) indicates the vocoder the control is intended for. It is the same as described in the Table 18
VOCODER_ID Field Format
CHAND (variable number of bytes) channel bits to be decoded, packet 8 bits per byte.
Compressed data bits from the encoder or to the decoder (packed 8 bits per byte). The data is denoted by Chand[0] to
Chand[(Bits-1)/8]. Chand[0] contains the bits which are most sensitive to bit errors. Chand[(Bits-1)/8] contain the bits which
are least sensitive to bit errors. 2 thru 1+(Bits+7)/8 bytes
CHAND Field - Packet Format
PRELIMINARY
(Subject to Change)
Page 47
DVSI CONFIDENTIAL PROPRIETARY
Section 6
A channel packet uses the format as shown in Table 14 General Packet Format where the PACKET TYPE is equal to 0x01.