0

I just installed Google Assistant on my Raspberry Pi 3B as part of a Magic Mirror project I've been working off and on for the past year or so. I can run the assistant fine, except when it responds the first little bit of the response is cut off.

For example I would ask "What time is it" (The time being 10:30 PM for example) and it would respond "30 PM." Additionally whenever this happens the screen will cut out for just the blink of an eye. Not 100% sure these are related but it feels like more than a coincidence to me.

Any help with this little hiccup would be much appreciated!

lebelinoz
  • 4,890
  • 10
  • 33
  • 56
Joe Hays
  • 17
  • 5
  • I vaguely recall the Assistant SDK showing the command output in the console when running. Is it showing the full output, or is it also cut off? – David Metcalfe Sep 16 '17 at 23:20
  • Unfortunately, all I see in the terminal is: when it is triggered, what I say, and when it completes. It doesn't print what it said. – Joe Hays Sep 18 '17 at 00:12
  • Is there any of your own code in the mix yet, or is this just using example code from Google? If it's failing with your own code, rule it out with one of Google's examples to see if the same issue occurs. – David Metcalfe Sep 18 '17 at 17:26
  • As of now I am using someone else's code to integrate it with my mirror, but that doesn't seem to be affecting it because I get the same problem using the demo that comes when you install it on the RPi – Joe Hays Sep 18 '17 at 22:17
  • So if code is out of the mix, perhaps there's an issue with insufficient power to the speaker or other parts of your setup, so it's delayed before it can output the audio feed? Are you using a speaker, or line out to something like headphones? – David Metcalfe Sep 18 '17 at 22:44
  • It is through the HDMI on my screen's built-in speakers – Joe Hays Sep 19 '17 at 03:59
  • The RPi3 has a headphone jack. Please try this. – David Metcalfe Sep 19 '17 at 21:39
  • I guess I'll have to add speakers to my setup. This worked perfectly! Thanks – Joe Hays Sep 19 '17 at 23:40
  • Glad that helped. If it works perfectly with the headphone jack, then we at least know there's some potential troubleshooting to be done with the HDMI connection. – David Metcalfe Sep 20 '17 at 07:36

1 Answers1

0

In addition to the comments, there may be some configuration needed for the HDMI to behave as desired.

Please see the Audio Configuration documents for more ideas.

David Metcalfe
  • 2,237
  • 1
  • 31
  • 44