You are not logged in.

#1 2020-11-13 05:27:28

zaciars
Member
Registered: 2020-11-13
Posts: 18

[SOLVED] Error when running espeak

i got a plenty of error when running espeak command, the sound still there but the error is annoying

here's the error:

ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib pcm_route.c:877:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_route.c:877:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_route.c:877:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_route.c:877:(find_matching_chmap) Found no matching channel map
connect(2) call to /dev/shm/jack-1000/default/jack_0 failed (err=No such file or directory)
attempt to connect to server failed
connect(2) call to /dev/shm/jack-1000/default/jack_0 failed (err=No such file or directory)
attempt to connect to server failed
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
connect(2) call to /dev/shm/jack-1000/default/jack_0 failed (err=No such file or directory)
attempt to connect to server failed

Last edited by zaciars (2020-11-13 12:13:57)

Offline

#2 2020-11-13 08:01:04

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,361

Re: [SOLVED] Error when running espeak

Redirect stderr to /dev/null if it's just about hiding the messages

espeak 2>/dev/null

Offline

#3 2020-11-13 11:47:17

zaciars
Member
Registered: 2020-11-13
Posts: 18

Re: [SOLVED] Error when running espeak

V1del wrote:

Redirect stderr to /dev/null if it's just about hiding the messages

espeak 2>/dev/null

Thanks,

Is it safe to ignore the errors thought?

Offline

#4 2020-11-13 11:56:45

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,361

Re: [SOLVED] Error when running espeak

Yes, espeak just tries accessing the sound card through any means known to it and ultimately settles on what I suspect to be a pulseaudio backend or so. I'd say that it just tries that much is technically a strangeness in espeak and it should be configurable, but a cursory googler doesn't look like you can manually specify the audio backends to try

Offline

Board footer

Powered by FluxBB