- #How to use cepstral voices raspbeery pi how to#
- #How to use cepstral voices raspbeery pi install#
- #How to use cepstral voices raspbeery pi code#
Basically, is the circuit arranged so that the JP6 pins sit inbetween the main GPIO inputs and the amp, or is it a separate fork from the existing amp. Sorry, that part of my post is a little confusing - I don't want to add the second amp, I was just wondering if the JP6 pins could be used as the input pins for the existing Voice Hat amp. Great details on how the audio section of the board works, particularly with providing stereo/mono sound to the outputs. Even this edit note is probably confusing, so you should just forget you read it.ĮDIT 2: /u/farptr has done a fantastic job in the comments below, detailing the JP6 pins and working out a schematic for anyone interested in chopping the board in half to use as a slimmer amp hat. I'm not incredibly well-versed on this stuff and have just been problem-solving by sheer force of will so far :)ĮDIT: Deleted a couple lines about cutting the Hat in half and trying to use the JP6 pins as inputs for the amp, because what I wrote was confusing and not really relevant to the rest of the info. Or maybe this sort of stuff is just really obvious to everyone else :)Īnd if you have more info you can add to this, please do. Hopefully this helps at least one person like me out there.
Note: If you don't want to cover up all of the GPIO pins with the hat, these are the pins you need to connect to (physical pin # noted):
So for $5 I can add sound to a Pi Zero RetroPie build, or build a Pi Zero standalone mini music shuffler w/ speaker (thinking of making these as Christmas gifts), or otherwise get audio out of a Zero, all with components locally available to me. The AIY kit also includes a speaker, for what it's worth - it might only be maybe a $2 speaker, but it's still a working speaker. This is about $1 less than the Adafruit MAX98357A 3W Class D amp - which isn't available to me locally, so I'd have to pay shipping on that as well (b/w $4 - $9 for shipping). Why the Voice Hat? Is it overkill to simply use it as a soundcard? In my area, I can get the v1 Voice Hat AIY kit for only $4.99 at my local Microcenter.
#How to use cepstral voices raspbeery pi code#
Just add the code above to the existing RetroPie build.
#How to use cepstral voices raspbeery pi install#
No need to install the AIY version of Raspbian, no need for any of the other components. Using the above info, I was able to use the Voice Hat as a soundcard in an existing RetroPie Zero build. I might dive into that next - but if someone more knowledgeable has any input, it would be good to know. Although it would be interesting to know if doing some sort of variation of the nf code from Adafruit would improve sound quality. But apparently those steps are not needed. My longer solution included this, but also included some additions to /etc/nf, and confirming that /etc/modprobe.d/nf is empty and that /etc/modules has "i2c-dev" in it. I just tried this on a fresh install of Raspbian Stretch and it worked. The simplest solution, thanks to the OP, is to simply comment out "dtparam=audio=on" in the /boot/config.txt file, and add: dtoverlay=googlevoicehat-soundcard I thought I'd share it here and see if it was of any use to anyone, or see if anyone could improve on it. Then the OP ( foxpi) showed up and blew my mind with an even more simplified answer they'd discovered. I found what appeared to be a relatively simple solution. I ended up finding this post at the forums and basically started talking to myself as I tried to figure it out. Perhaps my search skills are not up to par, but I mostly found dead threads, and one or two threads pointing to HACKING.md - and the instructions there weren't working for me at all.
#How to use cepstral voices raspbeery pi how to#
I was trying to figure out how to use the Google Voice Hat as a soundcard for a Pi Zero, without having to install all the AIY stuff, and couldn't find a suitable answer anywhere online. The best thing? The base model is only $20 $5!.ĭo you know a related subreddit? We'd love to know. Welcome to /r/raspberry_pi, a subreddit for discussing the raspberry pi credit card sized, ARM powered computer, and the glorious things we can do with it. Pi project ideas: There's a huge list right here on this sub! Friendly reminder: Please don't just post pictures of unused pis - do a project!Ĭomplete r/raspberry_pi Rules Check the FAQ and Helpdesk here