8.2.2 Sound recording test with Multiface in HARK

Prior to sound recording, confirm devices. Table 8.3 shows the devices to be used.

Table 8.3: List of device to be used

Device name

Description

Hammerfall DSP Multiface

A/D, D/A conversion device

Digital Audio CardBus Interface

Card to add Multiface connection ports to PCMCIA slot

Octa Mic

Microphone preamplifier

\includegraphics[width=120mm]{fig/device/Multiface.eps}
Figure 8.6: RME Hammerfall DSP Multiface (front)
\includegraphics[width=120mm]{fig/device/Multiface2.eps}
Figure 8.7: RME Hammerfall DSP Multiface (Rear)
\includegraphics[width=120mm]{fig/device/CardBus.eps}
Figure 8.8: PCMCIA CardBus Interface for Hammerfall DSP System
\includegraphics[width=120mm]{fig/device/OctaMic.eps}
Figure 8.9: RME OctaMic (Front)
\includegraphics[width=120mm]{fig/device/OctaMic2.eps}
Figure 8.10: RME OctaMic (Rear)

For the sound recording test for HARK, change only the property of each module with the network file test.n, similar to that shown in Figure 8.2. Table 8.4 shows the setting of each property.

> ./test.n

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

Table 8.4: Properties of the sound recording network

Module name

Property name

Type of value

Set value

AudioStreamFromMic 

LENGTH

int 

1024

 

ADVANCE

int 

320

 

CHANNEL_COUNT

int 

8

 

SAMPLING_RATE

int 

32000

 

DEVICETYPE

string 

ALSA

 

DEVICE

string 

plughw:1,0

ChannelSelector 

SELECTOR

Object 

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

SaveRawPCM 

BASENAME

string 

sep

 

ADVANCE

int 

320

 

BITS

int 

16

Iterate 

MAX_ITER

int 

300