Jarvis icon indicating copy to clipboard operation
Jarvis copied to clipboard

Fix gtts?

Open JerryBerry12 opened this issue 2 years ago • 4 comments

I have a espeech voice I want to use instead of the default scary one... How can I change it?

JerryBerry12 avatar Mar 13 '22 21:03 JerryBerry12

For available voices, try this code: https://stackoverflow.com/a/44931699

(Run in Jarvis home folder env/bin/activate before so you are in Jarvis virtualenv)

If you like one voice better, it you would just need to add this one engine.setProperty('voice', voice.id)-line. Or yeah, we could add an official option ;).

Edit: Found this link, if you want to try to install more voices: https://askubuntu.com/questions/554747/how-to-install-more-voices-to-espeak

pnhofmann avatar Mar 14 '22 20:03 pnhofmann

I actually started this because when I try to do gtts, it shows A big block of code: ALSA lib pcm_dsnoop.c:641:(snd_pcm_dsnoop_open) unable to open slave ALSA lib pcm_dmix.c:1089:(snd_pcm_dmix_open) unable to open slave ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side ALSA lib pcm_oss.c:377:(_snd_pcm_oss_open) Unknown field port ALSA lib pcm_oss.c:377:(_snd_pcm_oss_open) Unknown field port ALSA lib pcm_usb_stream.c:486:(_snd_pcm_usb_stream_open) Invalid type for card ALSA lib pcm_usb_stream.c:486:(_snd_pcm_usb_stream_open) Invalid type for card ALSA lib pcm_dmix.c:1089:(snd_pcm_dmix_open) unable to open slave Can you guide me in fixing that?

JerryBerry12 avatar Mar 14 '22 21:03 JerryBerry12

Can somebody help me?

JerryBerry12 avatar Mar 25 '22 21:03 JerryBerry12

Yeah, would be a good idea to fix ;). We will just need to redirect this output somewhere - probably not that hard... But we warned, voice output currently has some issues...

pnhofmann avatar Mar 26 '22 16:03 pnhofmann