Execute demoTDBD_16ch.n in the Record 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.
Confirm if the sound is replayed or recorded with sample software included with the device. If the sound cannot be replayed or recorded, the kernel module may not be properly set or connected so check them.
Parameters of AudioStreamFromMic are shown in Table 14.6. Designate a sound recording device in this module. Designate a multi-channel sound recording device. Set 16ch to the number of sound recording channel, designate TDBD16ADUSB in DEVICETYPE and “SINICH” in DEVICE.
Parameter Name |
Type |
set value |
Unit |
Description |
LENGTH |
LENGTH |
[pt] |
Window length |
|
ADVANCE |
ADVANCE |
[pt] |
Shift length |
|
CHANNEL_COUNT |
16 |
[ch] |
Number of channels for sound recording |
|
SAMPLING_RATE |
16000 |
[Hz] |
Sampling frequency |
|
DEVICETYPE |
TDBD16ADUSB |
Device type |
||
DEVICE |
SINICH |
Device name |
This device can record 16 channel sound. In this sample, an eight channel (from 0 to 7 channel) sound are recorded by using ChannelSelector module.