shivasiddharth / GassistPi

Google Assistant for Single Board Computers
Other
1.02k stars 303 forks source link

ERROR:audio_input_processor.cc(748)] Input error #264

Closed Curious-Nikhil closed 6 years ago

Curious-Nikhil commented 6 years ago

image

Am using USB Mic and 3.5 mm Jack for Speakers

Please help what should I do

Curious-Nikhil commented 6 years ago

plz help

Curious-Nikhil commented 6 years ago

so far tried these - link 1 link 2

dw5zuk commented 6 years ago

this also happen to my installation when im running already alexa at the same time...

shivasiddharth commented 6 years ago

Please check your .asoundrc file. It should be same as asound.conf. Raspbian tends to modify the .asoundrc file on boot sometimes.

Curious-Nikhil commented 6 years ago

Surprisingly, everything else works, pi responds to hotword and gives the reply, only it does not show a log when in the terminal

I have made changes, such that both the files have the same content, still not a fix. @shivasiddharth

shivasiddharth commented 6 years ago

Mostly it has to do with the frequency response of your USB Mic. Try changing your input device.

Curious-Nikhil commented 6 years ago

Sure, I'll do that. Thanks! :D @shivasiddharth

dw5zuk commented 6 years ago

is it possible @shivasiddharth that ican use the same capturing device(usb sound card) with the other application running..

ALSA lib pcm_dsnoop.c:618:(snd_pcm_dsnoop_open) unable to open slave

[2595:2717:ERROR:audio_input_processor.cc(748)] Input error ON_MUTED_CHANGED: {'is_muted': False} ON_START_FINISHED [2595:2725:ERROR:audio_input_processor.cc(748)] Input error

im plannig to run the google assistant simultaneously with a SVXLINK(echolink) wich is using also the usb sound input with the assistant.. hope you can help me configure the asoundrc and /asound.conf

dw5zuk commented 6 years ago

sudo lsof /dev/snd/pcm* lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/1000/gvfs Output information may be incomplete. COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME svxlink 631 root mem CHR 116,56 8211 /dev/snd/pcmC1D0c svxlink 631 root 7u CHR 116,56 0t0 8211 /dev/snd/pcmC1D0c

shivasiddharth commented 6 years ago

Closing this for inactivity