8.1.3 Recording test in HARK with radio RASP

Confirm the equipment prior to recording. Use equipment similar to that in table 8.1.

Table 8.1: List of devices to be used

Device name

Description

Wireless RASP

A/D, D/A conversion device

Router for wireless LAN

For connection between RASP and host PC

PC

PC to operate the radio

For a speech recording test with HARK, use the network file test.n shown in Figure 8.2. The connection route is from MatrixToMap to SaveRawPCM , from AudioStreamFromMic via ChannelSelector . Table 8.2 shows the setting for each property.
 
$>$ ./test.n


By setting the above, the speech of the analog input 1 of radio RASP is recorded for three seconds. Speech of PCM 16-bit quantization and 16kHz sampling is saved in the little endian RAW format.

\includegraphics[bb=0 0 1200 800,width=120mm]{fig/device/WS-sample.png}
Figure 8.2: Network (test.n)
Table 8.2: Properties of a speech 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 

WS

 

DEVICE

string 

192.168.0.1

ChannelSelector 

SELECTOR

Object 

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

SaveRawPCM 

BASENAME

string 

sep

 

ADVANCE

int 

160

 

BITS

int 

16

Iterate 

MAX_ITER

int 

300