User`s manual
AMBE-3000™-HDK Development Board
User’s Manual Version 1.1
Page 28
DVSI Confidential Proprietary
Operation
Codec Play Audio Output Command Example of playing an encoded (3600bps) file out the audio output
C:\ Command Prompt
-
’
X
hdkcom.exe –port COM4 460800 –uart or –ppt –r 39 -play dvsi36.bit
where
-port COM4 is the PC’s COM port that the HDK communicates on as indicated by Windows
Device Manger
460800 is the baud rate of the PC connection
-ppt sets the HDK to use the PPT Interface of the AMBE-3000™ Vocoder chip
or
-uart sets the HDK to use the UART Interface of the AMBE-3000™ Vocoder chip
If neither –ppt or –uart is specified the PPT interface is used by default.
-r 39 is the rate index of the bit rate the file was originally encoded at. See Table 23 Standard
Rate Table for AMBE-3000™. If it is desired to use rate words to set the rate – the format must be
six words in hex separated by a space as shown in the following example:
-r 0x0448 0x0766 0x0000 0x0000 0x0000 0x6848
-play decodes the previously encoded file and plays it out the audio output
dvsi36k.bit is the name of the file to be played out the audio output
Record Input Audio to File
-record is used to perform real-time recording of analog speech from either the handset or line-in
(depending on Jumper JP13). In the record mode the analog speech input is digitized then encoded by
the AMBE-3000™ vocoder chip. The file is then saved on the PC (via the USB interface) as the file
named (.bit suffix) in the command line. The file format for the encoded speech is 16 bit little endian.
Figure 13 Play / Record -record Block Diagram