Read the statement by Michael Teeuw here.
MMM-GoogleAssistant problem with .asoundrc
-
@sdeweil sorry but i don’t anderstand…
you say :arecord -l showed one device for capturing sound (a microphone) at card 0, device 0
But I see with the
arecord-l
:pi@raspberrypi:~ $ arecord -l **** Liste des Périphériques Matériels CAPTURE **** carte 1: USB [WordForum USB], périphérique 0: USB Audio [USB Audio]
so my microphone should be on card 1, device 0, no ?
and you said :
aplay -l showed two devices that can make sound.
So :
**** Liste des Périphériques Matériels PLAYBACK **** carte 0: b1 [bcm2835 HDMI 1], périphérique 0: bcm2835 HDMI 1 [bcm2835 HDMI 1]
HDMI free in card 0, device 0 (i don’t use it)
and my headphones in card 2, device 0,carte 2: Headphones [bcm2835 Headphones], périphérique 0: bcm2835 Headphones [bcm2835 Headphones]
I would have mistakenly switched the 2 ?
And why when i open the .asoundrc file after writing what’s here : https://developers.google.com/assistant/sdk/guides/library/python/embed/audio the file is different after writting the command
speaker-test -t wav
andarecord --format=S16_LE --duration=5 --rate=16000 --file-type=raw out.raw
Do you know if i wrote in my
my node_helper.js
, myMy MMM-GoogleAssistant.js
and mypi/assistant.py
are good ?And finally, does the procedure described in Introduction to the Google Assistant Library (https://developers.google.com/assistant/sdk/guides/library/python) still work because I just read at the top of the page ( I hadn’t paid attention): “Warning: The Google Assistant Library for Python is deprecated as of June 28th, 2019. Use the Google Assistant Service instead.”, and return to the Introduction to "the Google Assistant Service page "(https://developers.google.com/assistant/sdk/guides/service/python) so should I rather follow the procedure described in the Google Assistant Service and then continue step 3 of this page: https://www.magicmirrorcentral.com/get-google-assistant-magic-mirror/ ?
-
@RIKKO14 sorry, got the mic card wrong
you are mixing instructions.
I don’t care what Google doc you read.MMM-GoogleAssistant doc is the only doc that matters.
and NEVER change the module source code files. change config.js only.
@Bugsounet will have to help on his module
-
So my mic card is card 0, device 0 ?
and my 3.5 jacks speakers is card 2, device 0 ?
is that correct ?The MMM-GoogleAssistant of @Bugsounet doen’t work, at the end of the page it’s write : “By terms of Google Assistant SDK, You are not allowed to use or provide this module for commercial purpose.”
the only MMM-GoogleAssistant which works is the gauravsacc/MMM-GoogleAssistant, but i don’t anderstand what to do in the part :
“Register your GA device
Register your GA device using the register-tool available here and replace the magic-mirror-device-id in the assistant.py with your unique device id https://developers.google.com/assistant/sdk/reference/device-registration/device-tool”,I dont’ anderstand the open page : “Registration Tool Help” in the link.
and finally, the link to Setup Google Assistant on Pi return to the same google page for Introduction to the Google Assistant Library and it’s wrote in red at the top of the page “Warning: The Google Assistant Library for Python is deprecated as of June 28th, 2019. Use the Google Assistant Service instead.”can you just confirm me my number of card and device for my mic and my headphones according to you ? Thank you
-
@RIKKO14 we are not selling mm, so not commercial use. you are adding a module to your personal system ( unless YOU intend to sell it)
I don’t know about the older module. only that @Bugsounet has done a lot of work to get it going
-
@RIKKO14 said in MMM-GoogleAssistant problem with .asoundrc:
The MMM-GoogleAssistant of @Bugsounet doen’t work
je ne savais pas que je fesais des module qui ne fonctionnait pas ;)
Merci toutefois de me l’apprendre :)“By terms of Google Assistant SDK, You are not allowed to use or provide this module for commercial purpose.”
cela veux simplement dire qu’il n’est pas permis d’utiliser ce module a des fin commerciale
-
@Bugsounet TOUTES MES PLATES EXCUSES !!! J’avais donc mal compris, vraiment désolé…
I continue in English because it is required here (and that you will understand that I all pages and tutorials read with google translate …):
But then why in the page of your MMM-GoogleAssistant there is only the link git@github.com: bugsounet / MMM-GoogleAssistant.git and not all the description to install MMM-GoogleAssistant ? -
-
Great, thank you !
So can you confirm me the card and device for my mic and headphones ? -
It’s depend of you device.
It’s the job of micConfig check at the end of installAttention:
you share some personal data in your config.
You can have some takeover
Don’t forget … it’s a forum ! everyone read this ! -
I tried to edit my 1st post but I can’t: “You are only allowed to edit posts for 3600 second (s) after posting”.
in the case I published which is:
**** Liste des Périphériques Matériels CAPTURE **** carte 1: USB [WordForum USB], périphérique 0: USB Audio [USB Audio] Sous-périphériques: 1/1 Sous-périphérique #0: subdevice #0 pi@raspberrypi:~ $ aplay -l **** Liste des Périphériques Matériels PLAYBACK **** carte 0: b1 [bcm2835 HDMI 1], périphérique 0: bcm2835 HDMI 1 [bcm2835 HDMI 1] Sous-périphériques: 4/4 Sous-périphérique #0: subdevice #0 Sous-périphérique #1: subdevice #1 Sous-périphérique #2: subdevice #2 Sous-périphérique #3: subdevice #3 carte 2: Headphones [bcm2835 Headphones], périphérique 0: bcm2835 Headphones [bcm2835 Headphones] Sous-périphériques: 4/4 Sous-périphérique #0: subdevice #0 Sous-périphérique #1: subdevice #1 Sous-périphérique #2: subdevice #2 Sous-périphérique #3: subdevice #3 pi@raspberrypi:~ $
my mic in on card 1, device 0 because " Liste des Périphériques Matériels CAPTURE", and my 3.5 jack headphone is on card 2, device 0 because " Liste des Périphériques Matériels PLAYBACK" , and in card 0, device 0 it’s HDMI.
is it correct ?