【鼎革‧革鼎】︰ Raspbian Stretch 《六之 I‧導言 》

久居都市早已習慣眼不見星空,耳難得清靜,故爾雖非不知

DoA on ReSpeaker 4-Mic Array for Raspberry Pi

With DoA(Direction of Arrial), ReSpeaker 4-Mic Array is able to find the direction where the sound source is located.

1. setup voice engine

pi@raspberrypi:~ source ~/env/bin/activate                    # activate the virtual, if we have already activated, skip this step (env) pi@raspberrypi:~ cd ~/4mics_hat
(env) pi@raspberrypi:~/4mics_hat sudo apt install libatlas-base-dev     # install snowboy dependencies (env) pi@raspberrypi:~/4mics_hat sudo apt install python-pyaudio        # install pyaudio
(env) pi@raspberrypi:~/4mics_hat pip install ./snowboy*.whl             # install snowboy for KWS (env) pi@raspberrypi:~/4mics_hat pip install ./webrtc*.whl              # install webrtc for DoA
(env) pi@raspberrypi:~/4mics_hat cd ~/ (env) pi@raspberrypi:~ git clone https://github.com/voice-engine/voice-engine
(env) pi@raspberrypi:~ cd voice-engine/ (env) pi@raspberrypi:~/voice-engine python setup.py install

2. Run the demo under virtualenv. Please wake up respeaker with saying snowboy and we will see the direction.

(env) pi@raspberrypi:~/voice-engine cd ~/4mics_hat (env) pi@raspberrypi:~/4mics_hat python kws_doa.py

Play with Alexa, Baidu and Snowboy

1. Get Alexa or Baidu authorization

………

 

之設計目的,惟願先講『響度計』呦◎

 

Ebumeter – Quick guide

Ebumeter provides level metering according to the EBU R-128 recommendation. The current release implements all features required by the EBU document except the oversampled peak level monitoring. This will be added in a future release.

For more detailed info on R-128 see the EBU site or the papers section of my website.

The upper bargraph shows either the Momentary or the Short term loudness as selected by the M and S buttons to the right. The two thinner ones below display the Loudness range (LRA) and the Integrated loudness (I) which are also shown in numerical form.

The +9 and +18 buttons switch between the two ranges required for an EBU-mode meter. The LU and FS buttons select either the relative scale in LU or the absolute one in LUFS.

The Stop, Start and Reset buttons control the Integrated loudness measurement.