Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unify volume between "standard" GA voice and TTS #597

Open
BriKKou opened this issue Oct 25, 2018 · 5 comments
Open

Unify volume between "standard" GA voice and TTS #597

BriKKou opened this issue Oct 25, 2018 · 5 comments

Comments

@BriKKou
Copy link

BriKKou commented Oct 25, 2018

Hi,
First of all, thank you this very cool project. I just installed it (totaly newby) and achieve to connect my Sonoff-Tasmota (had some trouble to make it work, but finally works).
My probleme at this time is related to the volume.
When the PI start, startup.wav volum is very high (I edited it with Audacity to make it less louder) even if I seted up GA volume to 40%.
Same problème arise when I ask to my sonoff to turn on/off, the TSS speak as louder as the wav files (function say() with say.mp3?).
So my guess is that - for the moment - their is no relation between the GA sound and the PI overall sound.
Is that a bug ? Is that in the pipe ?
Thanks for your advice and help.
Brice

My conf : PI3 + AYI v1 + Sketch fresh install + Using GA in french

@BriKKou
Copy link
Author

BriKKou commented Oct 26, 2018

May be linked to? google/aiyprojects-raspbian#325

@shivasiddharth
Copy link
Owner

Right now its not possible. Audio handlers for the hotword have not been exposed. GA volume is independent of Pi's.

@BriKKou
Copy link
Author

BriKKou commented Oct 26, 2018

OK, thanks for your answer.
Would it be possible to add an option in the config file to manually set the volume of those files.
I mean, do not toych the PI main volume, only set the volume of TTS generated sound and wav ?
Thanks

@shivasiddharth
Copy link
Owner

We may have to change the player for that. Can be done but. What actually can be done is, you need to give a command to set google assistant volume to maximum. From then on, using plugins for the alsa, we can normalize all the volumes. People have done it using LADSPA. It will take some time for me to check its working for each and every audio config that i am offering here. I will add an enhancement label. But still i am not sure as to what will happen if you lower any of the volumes (vlc or GA).

@BriKKou
Copy link
Author

BriKKou commented Oct 26, 2018

Thanks for your reply.
I use the following, and it's okay for me.
amixer sset 'Master' 65%

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants