Prior to sound recording, confirm devices. Table 8.3 shows the devices 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 |
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.
Module name |
Property name |
Type of value |
Set value |
LENGTH |
1024 |
||
ADVANCE |
320 |
||
CHANNEL_COUNT |
8 |
||
SAMPLING_RATE |
32000 |
||
DEVICETYPE |
ALSA |
||
DEVICE |
plughw:1,0 |
||
SELECTOR |
|||
BASENAME |
sep |
||
ADVANCE |
320 |
||
BITS |
16 |
||
Iterate |
MAX_ITER |
300 |