Skip to content

Phomenizer calls async loud. #40

@bfrisco-raft

Description

@bfrisco-raft

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

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions