8.3.3 Sound recording test of the 16ADUSB in HARK

Prior to sound recording, confirm the devices to be used (Table 8.5) are operable.

Table 8.5: List of device to be used

Device name

Description

TD-BD-16ADUSB

A/D, D/A conversion device

PC

PC to operate TD-BD-16ADUSB chastity

For the sound recording test for HARK, change only the property of each module with the network file test.n the same as that shown in Figure 8.2. Table 8.6 shows the settings for each property.
 
$>$ ./test.n


By entering the above, speech of the analog input 1 of 16ADUSB is recorded for three seconds. The speech of the PCM 16-bit quantization and 16 kHz sampling are saved in the little endian RAW format.

Table 8.6: Property of sound recording network

Module name

Property name

Type of value

Set value

AudioStreamFromMic 

LENGTH

int 

512

 

ADVANCE

int 

160

 

CHANNEL_COUNT

int 

16

 

SAMPLING_RATE

int 

16000

 

DEVICETYPE

string 

SINICH

 

DEVICE

string 

SINICH

ChannelSelector 

SELECTOR

Object 

$<$Vector $<$int $>$ 0 $>$

SaveRawPCM 

BASENAME

string 

sep

 

ADVANCE

int 

160

 

BITS

int 

16

Iterate 

MAX_ITER

int 

300