This repository has been archived by the owner on Feb 9, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 693
"Sample format non available" when starting AIY demos #254
Labels
Comments
Thanks for reporting! Can you check if you have a file called If it exists, you can try deleting it and rerunning the demos. If it doesn't exist, could you post the output of |
./asoundrc does exist. It contains:
I deleted the file and tried the assistant_grpc_demo.py again, and it works! Any clue as to how/why that file got created? |
Yes, it gets created by the default volume widget (source). It seems to get created if the driver hasn't been loaded correctly. Maybe the best thing to do in the short term is to make check_audio.py detect this case and explain what to do, or even automatically resolve it. |
drigz
changed the title
Errors starting AIY demos
"Sample format non available" when starting AIY demos
Jan 26, 2018
mbrooksx
pushed a commit
that referenced
this issue
Feb 27, 2018
This was originally proposed by @shivasiddharth in #172. We managed to figure out what made it necessary in that case, but since the problem has come back with the aiyprojects-2018-01-03 image, I think the workaround will be more reliable long term. This should avoid issues like #254 and #262. Change-Id: I50feb4e012ba7c1e47dbf6ab9dd88661895decfc
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I built the AIY projects kit from the May 2017 MagPi, downloading the aiyprojects-2018-01-03.img.xz OS image. It boots and and after updating OS to current and configuring, it passes the check_audio and check_wifi tests, so pi, speaker and microphone are working. However following the instructions on https://aiyprojects.withgoogle.com/voice/ to run any of the demos fail - see listing below:
The text was updated successfully, but these errors were encountered: