Read the statement by Michael Teeuw here.
Alexa pi install, mic doenst work?
-
@Milad222
I think it could be related with permission of account.
As I know, Alexa Pi is running with Deamon mode, it means, the account of Alexa Pi is different with your personal account which you had tested audio with.(maybe pulse audio)
I have no idea how to solve because I’m not an expert, but most of the cases seem to be related to that point in using Alexa Pi. -
This is printscreen of my settings and error…
-
@Milad222
Can you record and play with these commands? Does it work?arecord -d 10 test.wav && aplay test.wav
-
@Sean said in Alexa pi install, mic doenst work?:
arecord -d 10 test.wav && aplay test.wav
Yes that works…
-
@Milad222 said in Alexa pi install, mic doenst work?:
@Sean said in Alexa pi install, mic doenst work?:
arecord -d 10 test.wav && aplay test.wav
Yes that works…
pi@raspberrypi:~ $ arecord -d 10 test.wav && aplay test.wav
Recording WAVE ‘test.wav’ : Unsigned 8 bit, Rate 8000 Hz, Mono
Playing WAVE ‘test.wav’ : Unsigned 8 bit, Rate 8000 Hz, Monopi@raspberrypi:~ $
pi@raspberrypi:~ $ aplay test.wav
Playing WAVE ‘test.wav’ : Unsigned 8 bit, Rate 8000 Hz, Mono
pi@raspberrypi:~ $ -
@Milad222
I’m not an expert, but Only I can say is…- The error message caused by sound configuration fail.
- AlexaPi cannot understand your device “plughw:…” currently.
- I think it is related to alexapi daemon account and your personal account settings.
- https://github.com/alexa-pi/AlexaPi/wiki/Audio-setup-&-debugging This could be helpful.
Anyway, this is not realted with MagicMirror. You’d better get help from AlexaPi develpers or users on gitHub(or wiki)
-
Since i installed 3D sound card(external USB card with speaker and Mic) i disabled other internal HD web camera’s Microphone which came with my Touch Screen monitor. I used usual 3.5 mm jack mic.
1. Go to- -> sudo nano /lib/modprobe.d/aliases.conf
##options snd-pcsp index=-2 - This is my USB Mic which is came with internal HD camera on my monitor.
options snd-usb-audio index=-2
options cx88_alsa index=-2
options snd-atiixp-modem index=-2
options snd-intel8x0m index=-22. Go to --> sudo nano /etc/modprobe.d/raspi-blacklist.conf and added below command
blacklist snd_bcm2835Above “snd_bcm2835” is my internal sound card
That’s all.
-
I order the Same USB soundcard like you today… I hope that it arrives tomorrow, do I have to install that also?
-
@Milad222
Hi,
It’s plug&play device and no need to install any drivers. Hope you it will help you.
I’m currently configuring Jarvis assistant. Did you hear about this?
Let me know if you will success with Alexa P
Best, -
@aro28
Javaris… i hear about that… but never try… does it work good?tonight i will try the USB soundcard! you will hear it from me
Greatz