User`s manual
AMBE-3000™-HDK Development Board
User’s Manual Version 1.1
Page 26
DVSI Confidential Proprietary
Operation
-record <time (in seconds)>
with this selection the PC controls the HDK to set the AMBE-3000™ vocoder chip into
codec mode and speech data from the audio input gets encoded. For each channel
packet that is output by the HDK the PC extracts the channel data and writes it to the file
<outfile>. The program will record for the number of seconds specified by the <time>
decimal integer seconds. When complete, the HDK is switched into idle mode. The
<infile> is not used.
-playrecord
with this selection the PC controls the HDK to set the AMBE-3000™ vocoder chip into
codec mode, Channel data from the file <infile> is used to create AMBE-3000™ Vocoder
chip channel packets that are decoded and the resulting speech samples are sent to the
codec interface. At the same time and speech data from the audio input gets encoded.
For each channel packet that is output by the HDK the PC extracts the channel data and
writes it to the file <outfile>. When all the data from <infile> has been read, the HDK is
switched into idle mode.
[infile] Name of the input file to use (if applicable to the specified mode)
[outfile] Name of the output file to use (if applicable to the specified mode)
Idle Mode
The HDK is factory set to start-up in Idle Mode. In this mode the HDK is ready play/record or
encode/decode files using the AMBE-3000™Vocoder chip’s PPT or UART Interface. The HDK can
accept commands via the USB interface using the hdkcom.exe program. When the HDK is in idle mode
D19 and D26 are on.
Idle Mode Command Example
C:\ Command Prompt
-
’
X
hdkcom.exe –port COM4 460800 –mode idle
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
-mode idle sets the HDK board into Idle Mode
Codec Play/Record Mode
When in Codec Play/Record Mode the HDK is capable of playing a file out the analog audio output,
recording the audio input to a file or doing both at the same time. In this mode the HDK may be set to
play (-play) audio, record (-record) audio or both play and record (-playrecord) at the same time.