Execute demoDS_4ch.sh in the RecordWin directory. After the execution, one 4ch file rec_all_0.wav and two monaural files rec_each_0.wav, rec_each_1.wav are generated. When replaying these files, the recorded content can be confirmed.
Recording cannot be performed well, perform the following checks.
Confirm if the sound is replayed or recorded with software other than HARK. If the sound cannot be replayed or recorded, the OS and driver, and audio interface may not be properly set or connected so check them.
The microphones are properly connected. Confirm if the plugs are not unplugged or loosened and connect them properly.
Check if the microphone terminals of the computer accept plug in power. If they do not accept plug in power, it is necessary to supply a power to the microphones. For battery type microphones, set batteries and switch on. For battery box type microphones, connect battery boxes and switch on.
When more than two audio interfaces are connected, remove audio interfaces after the second ones before recording the sound.
When you use Kinect, you must install a drive in advance.
Parameters of AudioStreamFromMic are shown in Table 14.7. In this node, designate a sound recording device. Designate a sound recording device in this node. In this demo, the number of sound recording channels is 4ch so that a lot of users can check the operation, and DS is designated for DEVICETYPE and Kinect is designated for DEVICE.
Parameter name |
type |
Set value |
Unit |
Description |
LENGTH |
LENGTH |
[pt] |
FFT length |
|
ADVANCE |
ADVANCE |
[pt] |
Shift length |
|
CHANNEL_COUNT |
4 |
[ch] |
Number of sound recording channel |
|
SAMPLING_RATE |
16000 |
[Hz] |
Sampling frequency |
|
DEVICETYPE |
DS |
Device type |
||
DEVICE |
Kinect |
Device name |
Execute demoRASP24_8ch.n in the RecordLin directory. After the execution, one file rec_all_0.wav and eight monaural files rec_each_0.wav, rec_each_1.wav, ..., rec_each_7.wav are generated. When replaying these files, the recorded content can be confirmed.
When recording cannot be performed well, perform the following checks.
Check if the microphones are properly connected. Check if the plugs are not unplugged or loosened and connect them properly.
The network connection is established with the IP address of RASP24. Check the network connection with ping.
A correct IP address of RASP24 is set to AudioStreamFromMic .
Confirm if the sound is replayed or recorded with software other than HARK. If the sound cannot be replayed or recorded, the OS and driver, and audio interface may not be properly set or connected so check them.
Parameters of AudioStreamFromMic are shown in Table 14.6.