Skip to content
This repository has been archived by the owner on Sep 21, 2023. It is now read-only.

Alexa volume not adjustable by voice command, Assistant comparatively too quiet #13

Open
rsuhendro opened this issue May 24, 2017 · 11 comments

Comments

@rsuhendro
Copy link

rsuhendro commented May 24, 2017

Python 2 & 3 releases (python2 --version and python3 --version):

**Python 2.7.9 & Python 3.4.2**

Description of problem:

The voice output level of Google Assistant is too low. Sometimes the hotword **Google** was also missed, no triggering.

Expected:

The same level as the AlexaPi.

Steps to reproduce:

Traceback (if applicable):


Additional info:

Run on RPI 3 with Raspbian Jessie Lite. I use PulseAudio in the config.yaml because for unknown reason I can't make AlexaPi works with ALSA.
I've set the volume level using alsamixer. 
@xtools-at
Copy link
Owner

xtools-at commented May 24, 2017

Hi,

have you tried setting the output volume by using Google's and Alexa's native voice commands? For Alexa, this works (it starts with a default of ~80%). The Google SDK, which AssistantPi uses, claims to suport voice control for volume, but I haven't tested it yet.

Just fyi, AssistantPi defaults to using pulseaudio since release 1.0 and does all necessary settings during the setup.

@rsuhendro
Copy link
Author

I've tried to reduce default_volume to 40% in config.yaml but Alexa is still loud. I can't find the volume control command for Google SDK.
Any hints?

@AISense-UTM
Copy link

Same issue with a RPI 2, has anyone been able to increase the volume for Google SDK. It is way too low if compare with Alexa.

@bote795
Copy link

bote795 commented Jun 3, 2017

found the voice command to increase googles voice, https://support.google.com/googlehome/answer/7072489?hl=en

@rsuhendro
Copy link
Author

Thanks. It works. I can set max volume (level 10). But somehow Alexa is still louder, so I need to find a way to lower it.

@xtools-at
Copy link
Owner

Sorry, I've been out of town for some days - you can adjust Alexa's volume with it's native voice command, simply say "Alexa, louder/softer" or "Alexa, Voume 4"
https://www.amazon.com/gp/help/customer/display.html?nodeId=201619520

@rsuhendro
Copy link
Author

Just perfect...fully solved. Thanks a lot.

@xtools-at xtools-at reopened this Jun 14, 2017
@xtools-at
Copy link
Owner

xtools-at commented Jun 14, 2017

It seems that adjusting Alexa's volume isn't working properly (RPi Zero W). I get the message in debug mode, that volume has been adjusted, but there's no difference between 2 and 10... Anyone else experiencing this issue?

@wpa-2
Copy link

wpa-2 commented Jun 17, 2017

I am also facing the same issue, no matter what i try alexa i always so much louder. The volume doesnt seem to change.

I also have an issue with google activating at almost any word, even if its the tv it activates and starts talking.

Great work though.

@rsuhendro
Copy link
Author

rsuhendro commented Jun 18, 2017

Yes the command works: Volume 4

2017-06-18 22:38:51 DEBUG: JSON String Returned: {
  "messageBody": {
    "directives": [
      {
        "namespace": "Speaker", 
        "name": "SetVolume", 
        "payload": {
          "volume": 40, 
          "adjustmentType": "absolute"
        }
      }
    ]
  }, 
  "messageHeader": {}
}
2017-06-18 22:38:51 DEBUG: Setting volume to: 40
2017-06-18 22:38:51 DEBUG: new volume = 40

But the voice level is as loud as before..

@xtools-at
Copy link
Owner

tried to hack around this problem by setting the system volume via subprocess/pexpect using amixer -D pulse sset Master 50%, but it seems to have no effect on the daemon, even if it runs in the same scope (i.e. run by service, not manually by a Linux user account). Anyone any ideas on this?

@xtools-at xtools-at added bug and removed enhancement labels Aug 20, 2017
@xtools-at xtools-at changed the title AlexaPi is loud & clear but Google Assistant is too soft. Alexa volume not adjustable by voice command, Assistant comparatively too quiet Aug 20, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants