GithubHelp home page GithubHelp logo

Comments (29)

Prasanna-16 avatar Prasanna-16 commented on May 27, 2024 1

Ok sir. Here is it.
image
In this image the last line is repeating again and again.

from assistants-pi.

Prasanna-16 avatar Prasanna-16 commented on May 27, 2024 1

Just reinstall with a new config.json file(create another product).

from assistants-pi.

Prasanna-16 avatar Prasanna-16 commented on May 27, 2024

I had also tried setup PulseAudio as a system wide service.

from assistants-pi.

shivasiddharth avatar shivasiddharth commented on May 27, 2024
  1. Check the status of the assistant services on boot.
  2. Check the status of pulseaudio system wide service on boot.

Syntax for checking the sttaus of service is:
sudo systemctl status NAME_OF_THE_SERVICE

from assistants-pi.

Prasanna-16 avatar Prasanna-16 commented on May 27, 2024

Sir what should I replace in place of NAME_OF_THE_SERVICE?
I don't know much about this. I am a beginner in raspberry pi.

from assistants-pi.

shivasiddharth avatar shivasiddharth commented on May 27, 2024

For alexa it will be:
alexa.service
For Google Assistant it will be:
google-assistant.service
For pulse audio system wide it will be:
pulseaudio.service

All the details are in the README document.

from assistants-pi.

Prasanna-16 avatar Prasanna-16 commented on May 27, 2024

Sir I did this first for alexa it shows like this

alexa.service - Amazon Alexa Voice Service
Loaded: loaded (/lib/systemd/system/alexa.service; enabled; vendor preset: en
Active: active (running) since Sun 2021-07-11 19:00:10 IST; 2min 14s ago
Main PID: 537 (screen)
Tasks: 41 (limit: 2062)
CGroup: /system.slice/alexa.service
├─537 SCREEN -dm sudo python3 /home/pi/Assistants-Pi/Alexa/alexa.py
├─539 sudo python3 /home/pi/Assistants-Pi/Alexa/alexa.py
├─540 python3 /home/pi/Assistants-Pi/Alexa/alexa.py
├─721 sudo /home/pi/Assistants-Pi/Alexa/startsample.sh
├─727 sh /home/pi/Assistants-Pi/Alexa/startsample.sh
└─729 ./SampleApp /home/pi/Assistants-Pi/Alexa/build/Integration/Alex

Jul 11 19:00:09 raspberrypi sudo[478]: pam_unix(sudo:session): session opened fo
Jul 11 19:00:10 raspberrypi sudo[533]: root : TTY=unknown ; PWD=/home/pi/Ass
Jul 11 19:00:10 raspberrypi sudo[533]: pam_unix(sudo:session): session opened fo
Jul 11 19:00:10 raspberrypi sudo[533]: pam_unix(sudo:session): session closed fo
Jul 11 19:00:10 raspberrypi sudo[478]: pam_unix(sudo:session): session closed fo
Jul 11 19:00:10 raspberrypi sudo[539]: root : TTY=pts/1 ; PWD=/home/pi/Assis
Jul 11 19:00:10 raspberrypi sudo[539]: pam_unix(sudo:session): session opened fo
Jul 11 19:00:10 raspberrypi systemd[1]: Started Amazon Alexa Voice Service.
Jul 11 19:00:14 raspberrypi sudo[721]: root : TTY=pts/1 ; PWD=/home/pi/Assis
Jul 11 19:00:14 raspberrypi sudo[721]: pam_unix(sudo:session): session opened fo

And for Google assistant,

pi@raspberrypi:~ $ sudo systemctl status google-assistant.service
● google-assistant.service - Google Assistant Voice Service
Loaded: loaded (/lib/systemd/system/google-assistant.service; enabled; vendor
Active: active (running) since Sun 2021-07-11 19:00:08 IST; 5min ago
Main PID: 479 (python)
Tasks: 22 (limit: 2062)
CGroup: /system.slice/google-assistant.service
└─479 /home/pi/env/bin/python -u /home/pi/Assistants-Pi/Google-Assist

Jul 11 19:00:23 raspberrypi python[479]: jack server is not running or cannot be
Jul 11 19:00:23 raspberrypi python[479]: JackShmReadWritePtr::~JackShmReadWriteP
Jul 11 19:00:23 raspberrypi python[479]: /home/pi/env/lib/python3.7/site-package
Jul 11 19:00:23 raspberrypi python[479]: warnings.warn('Google Assistant Libra
Jul 11 19:00:25 raspberrypi python[479]: device_model_id: assistant-5d0d6-prasan
Jul 11 19:00:25 raspberrypi python[479]: device_id: D746B566ADC28701F865678C10F6
Jul 11 19:00:27 raspberrypi python[479]: ON_MUTED_CHANGED:
Jul 11 19:00:27 raspberrypi python[479]: {"is_muted": false}
Jul 11 19:00:29 raspberrypi python[479]: ON_START_FINISHED
Jul 11 19:00:29 raspberrypi python[479]: ON_MEDIA_STATE_IDLE

And for Pulse audio,

pi@raspberrypi:~ $ sudo systemctl status pulseaudio.service
● pulseaudio.service - PulseAudio system server
Loaded: loaded (/etc/systemd/system/pulseaudio.service; enabled; vendor prese
Active: active (running) since Sun 2021-07-11 19:00:12 IST; 6min ago
Main PID: 371 (pulseaudio)
Tasks: 4 (limit: 2062)
CGroup: /system.slice/pulseaudio.service
└─371 /usr/bin/pulseaudio --daemonize=no --system --realtime --log-ta

Jul 11 19:00:08 raspberrypi pulseaudio[371]: Running in system mode, but --disal
Jul 11 19:00:08 raspberrypi pulseaudio[371]: Running in system mode, forcibly di
Jul 11 19:00:08 raspberrypi pulseaudio[371]: Running in system mode, forcibly di
Jul 11 19:00:08 raspberrypi pulseaudio[371]: OK, so you are running PA in system
Jul 11 19:00:08 raspberrypi pulseaudio[371]: Please read http://www.freedesktop.
Jul 11 19:00:11 raspberrypi pulseaudio[371]: Failed to open cookie file '/var/ru
Jul 11 19:00:11 raspberrypi pulseaudio[371]: Failed to load authentication key '
Jul 11 19:00:11 raspberrypi pulseaudio[371]: Failed to open cookie file '/var/ru
Jul 11 19:00:11 raspberrypi pulseaudio[371]: Failed to load authentication key '
Jul 11 19:00:12 raspberrypi systemd[1]: Started PulseAudio system server.

All of them shows active but I did not not hear the Hi sound and music from any of them and also not responding for wakeword.
Alexa is not responding or say hi even I start manually.
But google assistant works well when I start manually but one problem is its voice is low sound.
Please help me sir.

from assistants-pi.

shivasiddharth avatar shivasiddharth commented on May 27, 2024

Did you authenticate Alexa ? Start alexa manually and share the screenshot.
First time when you start Google Assistant, you need to give the command to set volume to maximum.

from assistants-pi.

Prasanna-16 avatar Prasanna-16 commented on May 27, 2024

Here is the screen shot sir.
image

from assistants-pi.

Prasanna-16 avatar Prasanna-16 commented on May 27, 2024

Also now the google assistant is also not responding.
I shared the screen shot sir.
It says on the code cannot to server jack.
please help me out.
image

from assistants-pi.

Prasanna-16 avatar Prasanna-16 commented on May 27, 2024

Did you authenticate Alexa ? Start alexa manually and share the screenshot.
First time when you start Google Assistant, you need to give the command to set volume to maximum.

I authenticated alexa already sir.
Here's the screenshot.
image

from assistants-pi.

shivasiddharth avatar shivasiddharth commented on May 27, 2024

I need to see the last part of Alexa screen. First half does not help.

from assistants-pi.

shivasiddharth avatar shivasiddharth commented on May 27, 2024

Its not detecting your mic. Post output of:

aplay -l
arecord -l

from assistants-pi.

Prasanna-16 avatar Prasanna-16 commented on May 27, 2024

It shows like this sir.
image

from assistants-pi.

shivasiddharth avatar shivasiddharth commented on May 27, 2024

Share the output of:

sudo nano ./.asoundrc
sudo nano /etc/asound.conf

from assistants-pi.

Prasanna-16 avatar Prasanna-16 commented on May 27, 2024

Sir it shows like this for sudo nano ./.asoundrc

image

And for sudo nano /etc/asound.conf like this
image

from assistants-pi.

shivasiddharth avatar shivasiddharth commented on May 27, 2024

Its an issue with your Mic. Try changing the Mic.

from assistants-pi.

Prasanna-16 avatar Prasanna-16 commented on May 27, 2024

Ok sir but assistants not starting on boot.
Help with this issue.

from assistants-pi.

shivasiddharth avatar shivasiddharth commented on May 27, 2024

Ok sir but assistants not starting on boot.
Help with this issue.

Assistants are indeed starting. The "active" that you see in the status means that the assistants are starting on boot. They are not able to utilize the Mic. So there is some issue with the Mic (Issue is the MIC). It could be a software or hardware issue. To see if it is a hardware issue I asked you to change the Mic. If the new Mic also does not work, then its a software issue.
I dont understand as to what more you want me to do.

from assistants-pi.

Prasanna-16 avatar Prasanna-16 commented on May 27, 2024

Ok sir thankyou. I am going to try configure the mic.

from assistants-pi.

Prasanna-16 avatar Prasanna-16 commented on May 27, 2024

Hi Sir I installed alexa only this time. It turns on when I on the raspberry pi 3b(I can hear the hi from alexa also) but not responding to Alexa wake word.
Mic is not the problem as it is working finely in Gassist pi. Gassist pi is greatly working sir. Is Gassist pi conflict with Alexa?

from assistants-pi.

shivasiddharth avatar shivasiddharth commented on May 27, 2024

If you have Pulseaudio as systemwide there will be no conflict. Manually start the Alexa and post the output of the last part.

from assistants-pi.

Prasanna-16 avatar Prasanna-16 commented on May 27, 2024

Thankyou sir. After I had set Pulse audio as system wide, Both google and alexa responds for my command. But Alexa voice is not good. It's voice sounds like a radio static. Like broken voice. Also its voice is like in the speed of 0.5x(Slow Speed). What is causing this issue sir?
There is no problem in speakers as Gassist pi's voice is good.
Please help sir.

from assistants-pi.

shivasiddharth avatar shivasiddharth commented on May 27, 2024

Unfortunately, I have no control as to how the voice sounds.

from assistants-pi.

Prasanna-16 avatar Prasanna-16 commented on May 27, 2024

Ok sir.

from assistants-pi.

Prasanna-16 avatar Prasanna-16 commented on May 27, 2024

Finally, After a whole complete reinstall, everything works fine.
Thank you sir.

from assistants-pi.

raspf450 avatar raspf450 commented on May 27, 2024

Finally, After a whole complete reinstall, everything works fine.
Thank you sir.

Hey, can u help me with the same. Which version of rasbian os are you using? And how did you solve the broken voice issue?

from assistants-pi.

raspf450 avatar raspf450 commented on May 27, 2024

Just reinstall with a new config.json file(create another product).

Just reinstall alexa and assistant or I need to reinstall the rasbian as well?

from assistants-pi.

Prasanna-16 avatar Prasanna-16 commented on May 27, 2024

Reinstall rasbian also to delete old assistant files fully.

from assistants-pi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.