8.1.1 Wireless RASP

\includegraphics[width=.5\linewidth ]{fig/device/WS.eps}
Figure 8.1: Wireless RASP

Figure 8.1 shows an overview of the Wireless RASP. Radio RASP is a multichannel A/D, D/A conversion device that performs only 16ch AD and 2ch D/A conversions. It transmits and receives commands via TCP/IP and transmits and receives settings and data of A/D and D/A conversion processing from a host PC. It is a good filter of sampling frequencies and its analog input parts can be changed easily using software.

8.1.1.1 Network Configuration of Wireless RASP

Radio RASP consists of a single box. Since a host PC is connected to a wireless LAN, a router corresponding to a wireless LAN is required. For Wireless RASP, it is necessary to set an IP address beforehand and to register an SSID of a radio router. The IP address set at the time of shipping can be used, although it is essential to register an SSID. Complete the setting by referring to the attached manual.

8.1.1.2 Installing and setting up software for Wireless RASP

To operate Wireless RASP, it is necessary to install a library and a sample program in a host PC. Copy files from the bundled CD to Wireless RASP and install them. Refer to the attached materials for details. It is necessary to at least prepare an environment in which the setting of the analog filter for Wireless RASP can be initialized to use HARK. Installation of the command ws_fpaa_config is required. ws_fpaa_config is generated by installing a library and compiling a sample program. Since the set value of ws_fpaa_config is deleted when turning off Wireless RASP, make sure to execute it right after turning it off.

8.1.1.3 Recording test in HARK with Wireless RASP

First, check you have all equipments for recording shown 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 Wireless 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