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

Phonemizer.phonemize not calling espeak quiet. #197

Open
bfrisco-raft opened this issue Jan 17, 2025 · 1 comment
Open

Phonemizer.phonemize not calling espeak quiet. #197

bfrisco-raft opened this issue Jan 17, 2025 · 1 comment

Comments

@bfrisco-raft
Copy link

Describe the bug
phonemize calls Espeak audio out when not needed.

ALSA lib confmisc.c:855:(parse_card) cannot find card '0'
ALSA lib conf.c:5180:(_snd_config_evaluate) function snd_func_card_inum returned error: No such file or directory
ALSA lib confmisc.c:422:(snd_func_concat) error evaluating strings
ALSA lib conf.c:5180:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib confmisc.c:1334:(snd_func_refer) error evaluating name
ALSA lib conf.c:5180:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5703:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2666:(snd_pcm_open_noupdate) Unknown PCM default

Calling espeak in a container when only needing PCM binary still attempts to request audio source.

The following command
espeak-ng "Hello World" -w output.wav

Does not require a card, and will return PCM directly to wave file.

Could this be changed to call quiet in main located
here

System
Linux/amd64 container

To reproduce
Call phonemizer.phonemize in linux with no ALSA default PCM

@bfrisco-raft bfrisco-raft changed the title Phonemizer.phonemize not calling quiet. Phonemizer.phonemize not calling espeak quiet. Jan 17, 2025
@bfrisco-raft
Copy link
Author

It seems hex 2 is called instead of hex 1 for Synchronous no speak
Initialized as Asynchronous

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

No branches or pull requests

1 participant