respeaker / avs

python implementation of alexa voice service app, 支持DuerOS
Other
195 stars 63 forks source link

Getting RMS:0 with alexa-audio-check test #34

Closed lilitsve closed 5 years ago

lilitsve commented 5 years ago

Description

RMS is showing 0 value, but I'm hearing the alarm sound. I don't understand why recording doesn't work as expected.

What I Did

Running the code in the example

cmd :

 alexa-audio-check

result : RMS: 0 RMS: 0 RMS: 0 RMS: 0 RMS: 0 RMS: 0

lilitsve commented 5 years ago

I tried arecord -f cd -v s.wav but nothing was recorded. However, I can record via Audacity when Respeaker is selected as an input mic. Do I have to specify somewhere in the code the mic channel and how to do so ?

lilitsve commented 5 years ago

I solved it. That was my fault. My microphone wasn't selected as the input.