jasperproject / jasper-client

Client code for Jasper voice computing platform
MIT License
4.53k stars 1.01k forks source link

Jasper TTS volume #624

Open sudo21 opened 7 years ago

sudo21 commented 7 years ago

Is there any way to change the volume of jasper's voice? All the audio files I have are running at a reasonable volume, but the TTS engine is very quiet. How can I change this?

G10DRAS commented 7 years ago

Which TTS Engine are you using ? TTS engine like espeak provides option to increase amplitude (ex: -a 150). else use alsamixer to increase amplitude of voice in general, or use amixer command if you want to do it from cmd (ex: sudo amixer -c 0 set PCM 90%)

sudo21 commented 7 years ago

Thank you or the advice! I am using festival. Where would I put the amplitude command?

G10DRAS commented 7 years ago

Not all those TTS engine have amplitude option. Use amixer command before running jasper. You can do the same for Mic as well.

for ex:

sudo amixer -c 0 set PCM 90%
sudo amixer -c 1 set Mic 81%