AssistantPi icon indicating copy to clipboard operation
AssistantPi copied to clipboard

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

Open rsuhendro opened this issue 8 years ago • 11 comments

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. 

rsuhendro avatar May 24 '17 06:05 rsuhendro

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.

xtools-at avatar May 24 '17 11:05 xtools-at

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?

rsuhendro avatar May 25 '17 15:05 rsuhendro

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.

AISense-UTM avatar Jun 02 '17 11:06 AISense-UTM

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

bote795 avatar Jun 03 '17 19:06 bote795

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.

rsuhendro avatar Jun 10 '17 13:06 rsuhendro

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

xtools-at avatar Jun 11 '17 19:06 xtools-at

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

rsuhendro avatar Jun 12 '17 04:06 rsuhendro

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?

xtools-at avatar Jun 14 '17 13:06 xtools-at

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.

wpa-2 avatar Jun 17 '17 06:06 wpa-2

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..

rsuhendro avatar Jun 18 '17 15:06 rsuhendro

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 avatar Jul 14 '17 15:07 xtools-at