Easiest Mic/Speaker option for Raspberry Pi 3?


#16

Hey all!

Thanks for listing everything you’ve tried and find working. We’re starting to compile a list of known hardware that works with the current Raspberry Pi Image of Mycroft on the enclosure wiki on github. You can check it out here:


#17

Tested another one…

PS3 Eye Camera

The microphone is really good and is able to capture my voice from 3-5 meters away and this is more affordable than the Jabra Speak410. However, it doesn’t come with a speaker. Get this if you want to reuse your existing speaker.

Now, I wish there is a way to make use the camera. Mycroft + Facial recognition perhaps?


#18

That’s a good find. Especially because it’s under $10.
I think I’ll order one now and try it myself…


#19

tryed this logitech 920 web cam on 0.8.2 and 0.8.3


works ok on the test mic util.

worked ok at recognising at wake word and three questions ( 0.8.2)
but then no more responses. hang?
tested cli say hey mycroft and the network connection was still there.
rebooted and auto install 0.8.3. Same problem.


#20

just testing P3 eye camera

Very good sound recognition …
better than logitech webcam which may be too smart for own good as far as sound level mgt.

However after 4 successful “hey mycroft” the system hung on a play wave … see below
( maybe the no response prob is due to the wav player not the myscroft server )
e.g. answered share price and then hung

2017-02-09 08:04:35,628 - mycroft.client.speech.listener - DEBUG - STT: what’s the share price of ibm
2017-02-09 08:04:35,629 - SpeechClient - INFO - Utterance: [u"what’s the share price of ibm"]
2017-02-09 08:04:38,962 - SpeechClient - INFO - Speak: the share price of ibm : $176.17 (IBM, NYSE, 4:00:00 pm EST, Wednesday, February 8, 2017)
Playing WAVE ‘/tmp/tts.wav’ : Signed 16 bit Little Endian, Rate 44100 Hz, Mono
2017-02-09 08:04:58,682 - mycroft.client.speech.mic - DEBUG - Recording…
2017-02-09 08:04:58,687 - SpeechClient - INFO - Begin Recording…
Playing WAVE ‘/home/pi/wavs/shipbellring.wav’ : Unsigned 8 bit, Rate 22050 Hz, Stereo
2017-02-09 08:05:00,545 - SpeechClient - INFO - End Recording…
2017-02-09 08:05:00,546 - mycroft.client.speech.mic - DEBUG - Thinking…
2017-02-09 08:05:00,547 - SpeechClient - INFO - Wakeword Detected: hey mycroft
2017-02-09 08:05:00,552 - mycroft.client.speech.mic - DEBUG - Waiting for wake word…
2017-02-09 08:05:00,640 - requests.packages.urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): api.mycroft.ai
2017-02-09 08:05:01,928 - requests.packages.urllib3.connectionpool - DEBUG - https://api.mycroft.ai:443 “POST /v1/stt?lang=en-US&limit=1 HTTP/1.1” 200 None
2017-02-09 08:05:02,128 - mycroft.client.speech.listener - ERROR - list index out of range
2017-02-09 08:05:02,129 - mycroft.client.speech.listener - ERROR - Speech Recognition could not understand audio
2017-02-09 08:05:02,131 - SpeechClient - INFO - Speak: Sorry, I didn’t catch that
Playing WAVE ‘/tmp/tts.wav’ : Signed 16 bit Little Endian, Rate 44100 Hz, Mono


#21

We have noticed an issue with the raspberry pi analog audio. Even using aplay repeatedly can cause a hang.


#22

Yes I was using an analog audio speaker and it hangs … will try changing to hdmi with rasp-config


#23

I got a PS3 eye camera for less than $6. Works almost too well… it catches speech from the TV across the room.


#24

It is HIGHLY directional.


#25

Hi Karl!

I have a question, does mycroft (the software) work together with https://creator.matrix.one/#!/index ?
Any place I found a similar question, as here above me or on the creator.matrix forums, the question stays unanswered. Is it in someway a “stupid” or “immodest” question?


#26

Hey!

As of now, I’m not sure. I don’t know of anyone having done so yet. I also don’t see any reason why it wouldn’t work. I think it has been done, but can’t find any info on it.

I do really like it. I’m also thinking about pre-ordering the Matrix-Voice as that would definitely put the hardware on-par with an Alexa or Google Home.

Update: I totally pre-ordered the Matrix Voice. I’ll probably post something cool whenever I get it. (May?)


#27

Matrix Voice looks very interesting project … a cut down Matrix-Creator board losing temp pressure etc to lower the price.
This pimori speaker Hat board would be great a Mycroft speaker … and the led display could indicate Mycroft status. out of stock however.


#28

I bought the SpeakerpHat and haven’t gotten it to work yet out-of-the-box. Granted, I’m not a schooled coder, but the “picroft” doesn’t recognize it. Getting this error after running Pimoroni’s install script:

ALSA lib pcm.c:2239: (snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
ALSA lib pcm.c:2239: (snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
ALSA lib pcm.c:2239: (snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
ALSA lib pcm_dmix.c:961:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
ALSA lib pcm_dmix.c:1022:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:961:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
ALSA lib pcm_dmix.c:1022:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:1022:(snd_pcm_dmix_open) unable to open slave

Thoughts?


#29

Hey did have you had any success with the Speaker pHat and picroft? I’m having the same issue and can’t seem to find any way to fix it.


#30

Not yet. I figure I have to start over with Rasperian and install Mycroft on that. Picroft seems not to work with SpeakerpHat for reasons I am not nerdy enough to debug.


#31

Anyone with info on Bluetooth setup it, pointers/external references would be appreciated! We’re lacking it in the wiki.

People on slack have found that the matrix.one is currently INCOMPATIBLE with picroft.


#32

I’m using a cheap Adafruit adaptor with a cheap electret microphone capsule.

Mycroft certainly responds to questions if I stand 3m away, although as my man-cave is quite small, this means I’m standing outside the room in the hallway. Not bad!

I’m not using the audio out from the Adafruit (I have a seperate amp/speaker on my rig) but I’m pretty sure this could also be made to work.


#33

From where should I give audio input. Is it from my phone through which I connect to wifi MYCROFT.


#35

Did anyone try this speakerphone/mic combo from Hamlet? It’s quite cheap (around 10 euro) and it should be supported under linux (from the windows drivers I see it uses a CMedia CM106/108 chip).

http://english.hamletcom.com/products/hskvoic.aspx


#36

I use the Google AIY voicehat. It also includes a button.


I made a diskimage for it that works out of the box, and that updates with the regular picroft updates,

Just finished designing a custom enclosure that will be printed next week.

Tjoen