Top Diff List Farm Source Search Help RSS Login

RASPZXMain

SupportedHardware > RASPZX

RASP-ZX


RASP-ZX manufactured by System in Frontier Inc.has the following features:

  • 1 or more channels audio input (cascade microphone)
  • USB interface
  • Can be seen as an ALSA device

 RASP-ZX Installation Instructions


The device is recognized as an ALSA device.
Therefore you don't have to install any specific packages for RASP-ZX.
For the installation of HARK basic packages, follow ...


 RASP-ZX Tutorials


Device setup on Ubuntu


Connect your RASP-ZX 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 [RASPZX5ch      ]: USB-Audio - RASP-ZX (5ch)
                    SiF RASP-ZX (5ch) at usb-0000:00:1d.0-1, high speed
...

If you can see SiF RASP-ZX in the list.
Your RASP-ZX 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-ZX 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-ZX 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 <Number of connected microphones>(e.g. 5) 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 [RASPZX5ch      ]: USB-Audio - RASP-ZX (5ch)
                    SiF RASP-ZX (5ch) at usb-0000:00:1d.0-1, high speed
...

set DEVICE=plughw:1 for using your RASP-ZX.