Hello,
i’m new with rhasspy and voice assistant in general.
i have installed rhasspy as satellite on a raspberrry pi zero with respeaker 2 mic pi hat and server with docker .
audio output work , no input record but that work with arecord toto.wav / aplay toto.wav command line
I have a timeout message.
i have see a message on log that rhasspy could not access to the device (error 828 it seem to me)
bonjour,
en français au cas, mon anglais n’étant pas toujours trés top!
rhasspy et les assistant vocaux sont nouveaux pour moi ( je n’ai pas voulu passer du coté obscure avec google and co)
donc j’ai installé rhasspy en satellite sur un raspberry pi zero avec une carte respeaker 2 mic pi hat.
mon serveur tourne avec une image docker sur un serveur debian sous vmware.
la sortie audio fonctionne parfaitement, le text to speech fonctionne correctement par contre je n’arrive pas à enregister la voix alors que cela fonctionne correctement en ligne de commande avec arecord toto.wav / aplay toto.wav
j’ai un message timeout sur l’interface graphique et dans les logs du satellite il me semble avoir lu qu’il n’arrivait pas a acceder au periphique (error828) il me semble , je ne revois plus la ligne)
RHasspy server:
image docker on debian buster vm on vmware
speech to text = kaldi
intent recognition = fsticuffs
text to speech = picotts
rhasspy satellite:
raspberry pi zero + respeaker 2 mic pi har
raspbian lite
rhasspy install with *.deb package.
audio recording set to arecord with plughw:CARD=seeed2micvoicec,DEV=0 as device
wake word set to raven but i can"t record keyword.
intent recognition * text to speech and speech to text set to remote http
thank in advance for your help / merci d’avance pour votre aide!
Best regards / cordialement
Sometimes the asound.conf is not filled correctly so that could be a problem.
Have you treid recording your voice from the mic? (arecord -f cd -Dhw:1 | aplay -Dhw:1)
If that doesn’t work, can you post arecord -l please?
I am pretty sure you are hearing noise, not frosting (that is what you put on cake) and it might be caused by your respeaker mic array. Sadly those things are known for those problems, they work when the driver is working but the only “working” driver is for a pretty old kernel, I have a respeaker4 array and I have only noise on my current install and a not working driver if I do a clean install. Check kernel version, if it is 5.4 or higher than you are victim to the driver issue most likely, either by installing with an older kernal and updating later or by having one of the many faulty driver versions installed.
If you have a spare sd card, try installing a clean raspbian os and then the respeaker driver with the --compat-kernel option. It will make a kernel downgrade but it should work as long as you make sure to not upgrade the kernel or kernel headers. An alternative could be getting the drivers from here, some ppl report they are working for the 2mic array you have, mine are still broken. If you go that route, you need to make sure that you get the right branch from git, because the master branch is even older than the official drivers.
@Daenara is right respeaker is known to have driver issues. I have a 4mic array and its like going through hell to get it up and running. Check your /etc/asound.conf aswell… sometimes the driver install completely smashes the file.
But its detected at least…
@Daenara
it seem my kernel is 4.19. i’m sure when i have installed the driver with --compat-kernel i have seen that it have downgrade the kernel
i will tried the other driver
the downgrade always happens with the compat driver, the problem is if you upgrade the kernel afterwards, that is what broke my drivers completely. 4.19 is at least old enough that the problems the driver has now should not matter because they only appear with 5.4 upwards but it might be a completely different issue with those drivers.
That asound.conf is just the one that ships with all the respeaker drivers. I never had problems with those and mic input, only with audio output so I doubt that that is the issue here.
now the command " arecord -f cd -Dhw:0 | aplay -Dhw:0" work
but rhasspy (satellite) record my voice when he want when i use wake up button.
i don’t understant why…
anf i have notice that in many times later rhasspy (satellite)/raspberry pi zero don’t reply antything, nether by web interface or terminal, as it is a system overload
i have see in a case of master/satellite , it is need to configure “UDP Audio Streaming” but i have not understand how…
So the asound is correct afaik.
For your recording issue check if you are able to record your voice from the webinterface and post the logs here please. You can check the hardware device in the settings aswell and test it.
If you run a satelite on a pi zero you really cannot run anything else…
But running a TTS on the zero is inevitable if you don’t use UDP-Audio Streaming.
It’s good that it works…
If you search for RTP Audio streaming on the internet you will find alot of information.
if you want to transfer the recorded audio aswell as the tts result you can take a lookl here: https://www.raspberrypi.org/forums/viewtopic.php?t=226843