RASP-LC
RASP-LC manufactured by System in Frontier Inc.has the following features:
- 8 channel audio input
- USB interface
- Can be seen as an ALSA device
RASP-LC Installation Instructions
The device is recognized as an ALSA device.
Therefore you don’t have to install any specific packages for RASP-LC.
For the installation of HARK basic packages, follow …
- HARK Installation Instructions
RASP-LC Tutorials
Device setup on Ubuntu
Connect your RASP-LC to your PC.
It is recognized as an ALSA device on Ubuntu.
Check if the device is connected by the following command.
cat /proc/asound/cards
Then you will see something like
0 [Intel ]: HDA-Intel - HDA Intel HDA Intel at 0xf8220000 irq 17 1 [RASPLC ]: USB-Audio - RASP-LC SiF RASP-LC at usb-0000:00:1d.0-1, full speed ...
If you can see SiF RASP-LC in the list.
Your RASP-LC is correctly mounted.
Notice that the number on the very left hand side is the sound card index.
In this example, the device is mounted as No. 1.
How to use your RASP-LC in HARK
We suppose you’ve read the HARK document in HARK Documentation page, and you have an intermediate level skill of HARK network file construction.
To use your RASP-LC in HARK, put AudioStreamFromMic module on the network and set its parameters as follows:
Name | Type | Value | Explanation |
---|---|---|---|
LENGTH | int | 512 | Number of samples in one frame |
ADVANCE | int | 160 | Shift length |
CHANNEL_COUNT | int | 8 | Number of microphone channels |
SAMPLING_RATE | int | 16000 | Sampling rate of the audio stream |
DEVICE_TYPE | string | ALSA | Category of the sensors |
DEVICE | string | plughw:* | Device name |
The asterisk in the DEVICE parameter means the sound card index.
cat /proc/asound/cards
provides the sound card index on the left hand side.
If you see
0 [Intel ]: HDA-Intel - HDA Intel HDA Intel at 0xf8220000 irq 17 1 [RASPLC ]: USB-Audio - RASP-LC SiF RASP-LC at usb-0000:00:1d.0-1, full speed ...
set DEVICE=plughw:1 for using your RASP-LC.